Struct: kms.InvalidImportTokenException
Overview
The request was rejected because the provided import token is invalid or is associated with a different customer master key (CMK).
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 *InvalidImportTokenException) Code() string
Code returns the exception type name.
13851 13852 13853 |
// File 'service/kms/api.go', line 13851
|
func (s *InvalidImportTokenException) Error() string
13868 13869 13870 |
// File 'service/kms/api.go', line 13868
|
func (s InvalidImportTokenException) 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”.
13840 13841 13842 |
// File 'service/kms/api.go', line 13840
|
func (s *InvalidImportTokenException) Message() string
Message returns the exception's message.
13856 13857 13858 13859 13860 13861 |
// File 'service/kms/api.go', line 13856
|
func (s *InvalidImportTokenException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
13864 13865 13866 |
// File 'service/kms/api.go', line 13864
|
func (s *InvalidImportTokenException) RequestID() string
RequestID returns the service's response RequestID for request.
13878 13879 13880 |
// File 'service/kms/api.go', line 13878
|
func (s *InvalidImportTokenException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
13873 13874 13875 |
// File 'service/kms/api.go', line 13873
|
func (s InvalidImportTokenException) 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”.
13831 13832 13833 |
// File 'service/kms/api.go', line 13831
|