Struct: kms.CloudHsmClusterInUseException

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

Overview

The request was rejected because the specified CloudHSM cluster is already associated with an CloudHSM key store in the account, or it shares a backup history with an CloudHSM key store in the account. Each CloudHSM key store in the account must be associated with a different CloudHSM cluster.

CloudHSM clusters that share a backup history have the same cluster certificate. To view the cluster certificate of an CloudHSM cluster, use the DescribeClusters (docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html) operation.

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

Code returns the exception type name.



8173
8174
8175
// File 'service/kms/api.go', line 8173

func (s *CloudHsmClusterInUseException) Error() string



8190
8191
8192
// File 'service/kms/api.go', line 8190

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

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



8162
8163
8164
// File 'service/kms/api.go', line 8162

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

func (s *CloudHsmClusterInUseException) Message() string

Message returns the exception's message.



8178
8179
8180
8181
8182
8183
// File 'service/kms/api.go', line 8178

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

func (s *CloudHsmClusterInUseException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



8186
8187
8188
// File 'service/kms/api.go', line 8186

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

func (s *CloudHsmClusterInUseException) RequestID() string

RequestID returns the service's response RequestID for request.



8200
8201
8202
// File 'service/kms/api.go', line 8200

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

func (s *CloudHsmClusterInUseException) StatusCode() int

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



8195
8196
8197
// File 'service/kms/api.go', line 8195

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

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



8153
8154
8155
// File 'service/kms/api.go', line 8153

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