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 Details
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())
}
|
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
}
|
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 }
//
type LimitExceededException struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
|
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
}
|