Struct: kms.IncorrectKeyException
Overview
The request was rejected because the specified KMS key cannot decrypt the data. The KeyId in a Decrypt request and the SourceKeyId in a ReEncrypt request must identify the same KMS key that was used to encrypt the ciphertext.
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 *IncorrectKeyException) Code() string
Code returns the exception type name.
13258 13259 13260 |
// File 'service/kms/api.go', line 13258
|
func (s *IncorrectKeyException) Error() string
13275 13276 13277 |
// File 'service/kms/api.go', line 13275
|
func (s IncorrectKeyException) 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”.
13247 13248 13249 |
// File 'service/kms/api.go', line 13247
|
func (s *IncorrectKeyException) Message() string
Message returns the exception's message.
13263 13264 13265 13266 13267 13268 |
// File 'service/kms/api.go', line 13263
|
func (s *IncorrectKeyException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
13271 13272 13273 |
// File 'service/kms/api.go', line 13271
|
func (s *IncorrectKeyException) RequestID() string
RequestID returns the service's response RequestID for request.
13285 13286 13287 |
// File 'service/kms/api.go', line 13285
|
func (s *IncorrectKeyException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
13280 13281 13282 |
// File 'service/kms/api.go', line 13280
|
func (s IncorrectKeyException) 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”.
13238 13239 13240 |
// File 'service/kms/api.go', line 13238
|