Struct: types.KMSInvalidMacException

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 *KMSInvalidMacException) Error() string



883
884
885
// File 'service/kms/types/errors.go', line 883

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

func (e *KMSInvalidMacException) ErrorCode() string



892
893
894
895
896
897
// File 'service/kms/types/errors.go', line 892

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

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



898
899
900
901
902
903
904
905
906
907
908
909
// File 'service/kms/types/errors.go', line 898

func (e *KMSInvalidMacException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was rejected because the signature verification failed. Signature // verification fails when it cannot confirm that signature was produced by signing // the specified message with the specified KMS key and signing algorithm. type KMSInvalidSignatureException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *KMSInvalidMacException) ErrorMessage() string



886
887
888
889
890
891
// File 'service/kms/types/errors.go', line 886

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