Struct: kms.InvalidStateException
Overview
The request was rejected because the state of the specified resource is not valid for this request.
For more information about how key state affects the use of a CMK, see How Key State Affects Use of a Customer Master Key (docs.aws.amazon.com/kms/latest/developerguide/key-state.html) in the AWS Key Management Service Developer Guide .
Implemented Interfaces
s3crypto.Cipher, awserr.Error, s3manager.ReadSeekerWriteTo, awserr.RequestFailure, s3manager.WriterReadFrom
Structure Field Summary collapse
Service Operations collapse
-
Code() string
operation
Code returns the exception type name.
- Error() string operation
-
GoString() string
operation
GoString returns the string representation.
-
Message() string
operation
Message returns the exception's message.
-
OrigErr() error
operation
OrigErr always returns nil, satisfies awserr.Error interface.
-
RequestID() string
operation
RequestID returns the service's response RequestID for request.
-
StatusCode() int
operation
Status code returns the HTTP status code for the request's response error.
-
String() string
operation
String returns the string representation.
Structure Field Details
Message_ *string
`locationName:"message" type:"string"`
RespMetadata protocol.ResponseMetadata
`json:"-" xml:"-"`
_ struct{}
`type:"structure"`
Method Details
func (s *InvalidStateException) Code() string
Code returns the exception type name.
14061 14062 14063 |
// File 'service/kms/api.go', line 14061
|
func (s *InvalidStateException) Error() string
14078 14079 14080 |
// File 'service/kms/api.go', line 14078
|
func (s InvalidStateException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
14050 14051 14052 |
// File 'service/kms/api.go', line 14050
|
func (s *InvalidStateException) Message() string
Message returns the exception's message.
14066 14067 14068 14069 14070 14071 |
// File 'service/kms/api.go', line 14066
|
func (s *InvalidStateException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
14074 14075 14076 |
// File 'service/kms/api.go', line 14074
|
func (s *InvalidStateException) RequestID() string
RequestID returns the service's response RequestID for request.
14088 14089 14090 |
// File 'service/kms/api.go', line 14088
|
func (s *InvalidStateException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
14083 14084 14085 |
// File 'service/kms/api.go', line 14083
|
func (s InvalidStateException) String() string
String returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
14041 14042 14043 |
// File 'service/kms/api.go', line 14041
|