Struct: types.XksKeyAlreadyInUseException

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



1117
1118
1119
// File 'service/kms/types/errors.go', line 1117

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

func (e *XksKeyAlreadyInUseException) ErrorCode() string



1126
1127
1128
1129
1130
1131
// File 'service/kms/types/errors.go', line 1126

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

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



1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
// File 'service/kms/types/errors.go', line 1132

func (e *XksKeyAlreadyInUseException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was rejected because the external key specified by the XksKeyId // parameter did not meet the configuration requirements for an external key store. // // The external key must be an AES-256 symmetric key that is enabled and performs // encryption and decryption. type XksKeyInvalidConfigurationException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *XksKeyAlreadyInUseException) ErrorMessage() string



1120
1121
1122
1123
1124
1125
// File 'service/kms/types/errors.go', line 1120

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