Struct: types.CustomKeyStoreHasCMKsException
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 Details
267
268
269
|
// File 'service/kms/types/errors.go', line 267
func (e *CustomKeyStoreHasCMKsException) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
|
276
277
278
279
280
281
|
// File 'service/kms/types/errors.go', line 276
func (e *CustomKeyStoreHasCMKsException) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "CustomKeyStoreHasCMKsException"
}
return *e.ErrorCodeOverride
}
|
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
|
// File 'service/kms/types/errors.go', line 282
func (e *CustomKeyStoreHasCMKsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
//
//
//
//
//
//
type CustomKeyStoreInvalidStateException struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
|
270
271
272
273
274
275
|
// File 'service/kms/types/errors.go', line 270
func (e *CustomKeyStoreHasCMKsException) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
|