Struct: types.CustomKeyStoreNameInUseException

import "../ibm-cos-sdk-go-v2/service/kms/types"

Overview

The request was rejected because the specified custom key store name is already assigned to another custom key store in the account. Try again with a custom key store name that is unique in the account.

Implemented Interfaces

types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream

Structure Field Summary collapse

Method Summary collapse

Structure Field Details

ErrorCodeOverride *string

Message *string

Method Details

func (e *CustomKeyStoreNameInUseException) Error() string



347
348
349
// File 'service/kms/types/errors.go', line 347

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

func (e *CustomKeyStoreNameInUseException) ErrorCode() string



356
357
358
359
360
361
// File 'service/kms/types/errors.go', line 356

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

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



362
363
364
365
366
367
368
369
370
371
372
// File 'service/kms/types/errors.go', line 362

func (e *CustomKeyStoreNameInUseException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was rejected because KMS cannot find a custom key store with the // specified key store name or ID. type CustomKeyStoreNotFoundException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *CustomKeyStoreNameInUseException) ErrorMessage() string



350
351
352
353
354
355
// File 'service/kms/types/errors.go', line 350

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