Struct: kms.IncorrectKeyMaterialException
Overview
The request was rejected because the key material in the request is, expired, invalid, or is not the same key material that was previously imported into this KMS key.
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 *IncorrectKeyMaterialException) Code() string
Code returns the exception type name.
13324 13325 13326 |
// File 'service/kms/api.go', line 13324
|
func (s *IncorrectKeyMaterialException) Error() string
13341 13342 13343 |
// File 'service/kms/api.go', line 13341
|
func (s IncorrectKeyMaterialException) 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”.
13313 13314 13315 |
// File 'service/kms/api.go', line 13313
|
func (s *IncorrectKeyMaterialException) Message() string
Message returns the exception's message.
13329 13330 13331 13332 13333 13334 |
// File 'service/kms/api.go', line 13329
|
func (s *IncorrectKeyMaterialException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
13337 13338 13339 |
// File 'service/kms/api.go', line 13337
|
func (s *IncorrectKeyMaterialException) RequestID() string
RequestID returns the service's response RequestID for request.
13351 13352 13353 |
// File 'service/kms/api.go', line 13351
|
func (s *IncorrectKeyMaterialException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
13346 13347 13348 |
// File 'service/kms/api.go', line 13346
|
func (s IncorrectKeyMaterialException) 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”.
13304 13305 13306 |
// File 'service/kms/api.go', line 13304
|