Struct: types.KMSInternalException

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



855
856
857
// File 'service/kms/types/errors.go', line 855

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

func (e *KMSInternalException) ErrorCode() string



864
865
866
867
868
869
// File 'service/kms/types/errors.go', line 864

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

func (e *KMSInternalException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer }



870
871
872
873
874
875
876
877
878
879
880
881
// File 'service/kms/types/errors.go', line 870

func (e *KMSInternalException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } // The request was rejected because the HMAC verification failed. HMAC // verification fails when the HMAC computed by using the specified message, HMAC // KMS key, and MAC algorithm does not match the HMAC specified in the request. type KMSInvalidMacException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *KMSInternalException) ErrorMessage() string



858
859
860
861
862
863
// File 'service/kms/types/errors.go', line 858

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