Struct: types.IncorrectKeyException
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
509
510
511
|
// File 'service/kms/types/errors.go', line 509
func (e *IncorrectKeyException) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
|
518
519
520
521
522
523
|
// File 'service/kms/types/errors.go', line 518
func (e *IncorrectKeyException) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "IncorrectKeyException"
}
return *e.ErrorCodeOverride
}
|
524
525
526
527
528
529
530
531
532
533
534
535
|
// File 'service/kms/types/errors.go', line 524
func (e *IncorrectKeyException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
type IncorrectKeyMaterialException struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
|
512
513
514
515
516
517
|
// File 'service/kms/types/errors.go', line 512
func (e *IncorrectKeyException) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
|