Struct: kms.CustomKeyStoreHasCMKsException

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

Overview

The request was rejected because the custom key store contains AWS KMS customer master keys (CMKs). After verifying that you do not need to use the CMKs, use the ScheduleKeyDeletion operation to delete the CMKs. After they are deleted, you can delete the custom key store.

Implemented Interfaces

s3crypto.Cipher, awserr.Error, s3manager.ReadSeekerWriteTo, awserr.RequestFailure, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

Message_ *string `locationName:"message" type:"string"`

RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

_ struct{} `type:"structure"`

Method Details

func (s *CustomKeyStoreHasCMKsException) Code() string

Code returns the exception type name.



9444
9445
9446
// File 'service/kms/api.go', line 9444

func (s *CustomKeyStoreHasCMKsException) Error() string



9461
9462
9463
// File 'service/kms/api.go', line 9461

func (s *CustomKeyStoreHasCMKsException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) }

func (s CustomKeyStoreHasCMKsException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



9433
9434
9435
// File 'service/kms/api.go', line 9433

func (s CustomKeyStoreHasCMKsException) GoString() string { return s.String() }

func (s *CustomKeyStoreHasCMKsException) Message() string

Message returns the exception's message.



9449
9450
9451
9452
9453
9454
// File 'service/kms/api.go', line 9449

func (s *CustomKeyStoreHasCMKsException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" }

func (s *CustomKeyStoreHasCMKsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



9457
9458
9459
// File 'service/kms/api.go', line 9457

func (s *CustomKeyStoreHasCMKsException) OrigErr() error { return nil }

func (s *CustomKeyStoreHasCMKsException) RequestID() string

RequestID returns the service's response RequestID for request.



9471
9472
9473
// File 'service/kms/api.go', line 9471

func (s *CustomKeyStoreHasCMKsException) RequestID() string { return s.RespMetadata.RequestID }

func (s *CustomKeyStoreHasCMKsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.



9466
9467
9468
// File 'service/kms/api.go', line 9466

func (s *CustomKeyStoreHasCMKsException) StatusCode() int { return s.RespMetadata.StatusCode }

func (s CustomKeyStoreHasCMKsException) String() string

String returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



9424
9425
9426
// File 'service/kms/api.go', line 9424

func (s CustomKeyStoreHasCMKsException) String() string { return awsutil.Prettify(s) }