Struct: types.InvalidArnException

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 Summary collapse

Method Details

func (e *InvalidArnException) Error() string



623
624
625
// File 'service/kms/types/errors.go', line 623

func (e *InvalidArnException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) }

func (e *InvalidArnException) ErrorCode() string



632
633
634
635
636
637
// File 'service/kms/types/errors.go', line 632

func (e *InvalidArnException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "InvalidArnException" } return *e.ErrorCodeOverride }

func (e *InvalidArnException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }



638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
// File 'service/kms/types/errors.go', line 638

func (e *InvalidArnException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // From the Decrypt or ReEncrypt operation, the request was rejected because the specified // ciphertext, or additional authenticated data incorporated into the ciphertext, // such as the encryption context, is corrupted, missing, or otherwise invalid. // // From the ImportKeyMaterial operation, the request was rejected because KMS could not decrypt the // encrypted (wrapped) key material. type InvalidCiphertextException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *InvalidArnException) ErrorMessage() string



626
627
628
629
630
631
// File 'service/kms/types/errors.go', line 626

func (e *InvalidArnException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message }