Struct: kms.CustomKeyStoreNameInUseException

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

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

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 *CustomKeyStoreNameInUseException) Code() string

Code returns the exception type name.



9600
9601
9602
// File 'service/kms/api.go', line 9600

func (s *CustomKeyStoreNameInUseException) Error() string



9617
9618
9619
// File 'service/kms/api.go', line 9617

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

func (s CustomKeyStoreNameInUseException) 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”.



9589
9590
9591
// File 'service/kms/api.go', line 9589

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

func (s *CustomKeyStoreNameInUseException) Message() string

Message returns the exception's message.



9605
9606
9607
9608
9609
9610
// File 'service/kms/api.go', line 9605

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

func (s *CustomKeyStoreNameInUseException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



9613
9614
9615
// File 'service/kms/api.go', line 9613

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

func (s *CustomKeyStoreNameInUseException) RequestID() string

RequestID returns the service's response RequestID for request.



9627
9628
9629
// File 'service/kms/api.go', line 9627

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

func (s *CustomKeyStoreNameInUseException) StatusCode() int

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



9622
9623
9624
// File 'service/kms/api.go', line 9622

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

func (s CustomKeyStoreNameInUseException) 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”.



9580
9581
9582
// File 'service/kms/api.go', line 9580

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