Struct: types.ConflictException

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

Overview

The request was rejected because an automatic rotation of this key is currently in progress or scheduled to begin within the next 20 minutes.

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



239
240
241
// File 'service/kms/types/errors.go', line 239

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

func (e *ConflictException) ErrorCode() string



248
249
250
251
252
253
// File 'service/kms/types/errors.go', line 248

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

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



254
255
256
257
258
259
260
261
262
263
264
265
// File 'service/kms/types/errors.go', line 254

func (e *ConflictException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was rejected because the custom key store contains KMS keys. After // verifying that you do not need to use the KMS keys, use the ScheduleKeyDeletionoperation to delete // the KMS keys. After they are deleted, you can delete the custom key store. type CustomKeyStoreHasCMKsException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *ConflictException) ErrorMessage() string



242
243
244
245
246
247
// File 'service/kms/types/errors.go', line 242

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