Struct: types.KMSInvalidStateException

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



953
954
955
// File 'service/kms/types/errors.go', line 953

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

func (e *KMSInvalidStateException) ErrorCode() string



962
963
964
965
966
967
// File 'service/kms/types/errors.go', line 962

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

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



968
969
970
971
972
973
974
975
976
977
978
979
980
// File 'service/kms/types/errors.go', line 968

func (e *KMSInvalidStateException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was rejected because a quota was exceeded. For more information, // see [Quotas]in the Key Management Service Developer Guide. // // [Quotas]: https://docs.aws.amazon.com/kms/latest/developerguide/limits.html type LimitExceededException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *KMSInvalidStateException) ErrorMessage() string



956
957
958
959
960
961
// File 'service/kms/types/errors.go', line 956

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