Struct: kms.InvalidAliasNameException

import "../ibm-cos-sdk-go/service/kms"

Overview

The request was rejected because the specified alias name is not valid.

Implemented Interfaces

s3crypto.Cipher, awserr.Error, s3manager.ReadSeekerWriteTo, awserr.RequestFailure, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

Message_ *string `locationName:"message" type:"string"`

RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

_ struct{} `type:"structure"`

Method Details

func (s *InvalidAliasNameException) Code() string

Code returns the exception type name.



13523
13524
13525
// File 'service/kms/api.go', line 13523

func (s *InvalidAliasNameException) Error() string



13540
13541
13542
// File 'service/kms/api.go', line 13540

func (s *InvalidAliasNameException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) }

func (s InvalidAliasNameException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



13512
13513
13514
// File 'service/kms/api.go', line 13512

func (s InvalidAliasNameException) GoString() string { return s.String() }

func (s *InvalidAliasNameException) Message() string

Message returns the exception's message.



13528
13529
13530
13531
13532
13533
// File 'service/kms/api.go', line 13528

func (s *InvalidAliasNameException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" }

func (s *InvalidAliasNameException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



13536
13537
13538
// File 'service/kms/api.go', line 13536

func (s *InvalidAliasNameException) OrigErr() error { return nil }

func (s *InvalidAliasNameException) RequestID() string

RequestID returns the service's response RequestID for request.



13550
13551
13552
// File 'service/kms/api.go', line 13550

func (s *InvalidAliasNameException) RequestID() string { return s.RespMetadata.RequestID }

func (s *InvalidAliasNameException) StatusCode() int

Status code returns the HTTP status code for the request's response error.



13545
13546
13547
// File 'service/kms/api.go', line 13545

func (s *InvalidAliasNameException) StatusCode() int { return s.RespMetadata.StatusCode }

func (s InvalidAliasNameException) String() string

String returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



13503
13504
13505
// File 'service/kms/api.go', line 13503

func (s InvalidAliasNameException) String() string { return awsutil.Prettify(s) }