Struct: types.InvalidAliasNameException

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

Implemented Interfaces

types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream

Method Summary collapse

Method Details

func (e *InvalidAliasNameException) Error() string



596
597
598
// File 'service/kms/types/errors.go', line 596

func (e *InvalidAliasNameException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) }

func (e *InvalidAliasNameException) ErrorCode() string



605
606
607
608
609
610
// File 'service/kms/types/errors.go', line 605

func (e *InvalidAliasNameException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidAliasNameException" } return *e.ErrorCodeOverride }

func (e *InvalidAliasNameException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }



611
612
613
614
615
616
617
618
619
620
621
// File 'service/kms/types/errors.go', line 611

func (e *InvalidAliasNameException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was rejected because a specified ARN, or an ARN in a key policy, is // not valid. type InvalidArnException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *InvalidAliasNameException) ErrorMessage() string



599
600
601
602
603
604
// File 'service/kms/types/errors.go', line 599

func (e *InvalidAliasNameException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message }