Struct: types.IncorrectKeyMaterialException
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
537
538
539
|
// File 'service/kms/types/errors.go', line 537
func (e *IncorrectKeyMaterialException) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
|
546
547
548
549
550
551
|
// File 'service/kms/types/errors.go', line 546
func (e *IncorrectKeyMaterialException) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "IncorrectKeyMaterialException"
}
return *e.ErrorCodeOverride
}
|
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
|
// File 'service/kms/types/errors.go', line 552
func (e *IncorrectKeyMaterialException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
//
//
type IncorrectTrustAnchorException struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
|
540
541
542
543
544
545
|
// File 'service/kms/types/errors.go', line 540
func (e *IncorrectKeyMaterialException) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
|