Struct: types.InvalidGrantTokenException
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 Details
706
707
708
|
// File 'service/kms/types/errors.go', line 706
func (e *InvalidGrantTokenException) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
|
715
716
717
718
719
720
|
// File 'service/kms/types/errors.go', line 715
func (e *InvalidGrantTokenException) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "InvalidGrantTokenException"
}
return *e.ErrorCodeOverride
}
|
721
722
723
724
725
726
727
728
729
730
731
|
// File 'service/kms/types/errors.go', line 721
func (e *InvalidGrantTokenException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
type InvalidImportTokenException struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
|
709
710
711
712
713
714
|
// File 'service/kms/types/errors.go', line 709
func (e *InvalidGrantTokenException) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
|