Struct: types.KMSInvalidSignatureException

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



911
912
913
// File 'service/kms/types/errors.go', line 911

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

func (e *KMSInvalidSignatureException) ErrorCode() string



920
921
922
923
924
925
// File 'service/kms/types/errors.go', line 920

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

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



926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
// File 'service/kms/types/errors.go', line 926

func (e *KMSInvalidSignatureException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was rejected because the state of the specified resource is not // valid for this request. // // This exceptions means one of the following: // // - The key state of the KMS key is not compatible with the operation. // // To find the key state, use the DescribeKeyoperation. For more information about which key // // states are compatible with each KMS operation, see [Key states of KMS keys]in the Key Management // Service Developer Guide . // // - For cryptographic operations on KMS keys in custom key stores, this // exception represents a general failure with many possible causes. To identify // the cause, see the error message that accompanies the exception. // // [Key states of KMS keys]: https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html type KMSInvalidStateException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *KMSInvalidSignatureException) ErrorMessage() string



914
915
916
917
918
919
// File 'service/kms/types/errors.go', line 914

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