Struct: types.InvalidGrantIdException

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 *InvalidGrantIdException) Error() string



680
681
682
// File 'service/kms/types/errors.go', line 680

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

func (e *InvalidGrantIdException) ErrorCode() string



689
690
691
692
693
694
// File 'service/kms/types/errors.go', line 689

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

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



695
696
697
698
699
700
701
702
703
704
// File 'service/kms/types/errors.go', line 695

func (e *InvalidGrantIdException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was rejected because the specified grant token is not valid. type InvalidGrantTokenException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *InvalidGrantIdException) ErrorMessage() string



683
684
685
686
687
688
// File 'service/kms/types/errors.go', line 683

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