Struct: kms.CloudHsmClusterNotRelatedException

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

Overview

The request was rejected because the specified CloudHSM cluster has a different cluster certificate than the original cluster. You cannot use the operation to specify an unrelated cluster for an CloudHSM key store.

Specify an CloudHSM cluster that shares a backup history with the original cluster. This includes clusters that were created from a backup of the current cluster, and clusters that were created from the same backup that produced the current 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 *CloudHsmClusterNotRelatedException) Code() string

Code returns the exception type name.



8473
8474
8475
// File 'service/kms/api.go', line 8473

func (s *CloudHsmClusterNotRelatedException) Error() string



8490
8491
8492
// File 'service/kms/api.go', line 8490

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

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



8462
8463
8464
// File 'service/kms/api.go', line 8462

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

func (s *CloudHsmClusterNotRelatedException) Message() string

Message returns the exception's message.



8478
8479
8480
8481
8482
8483
// File 'service/kms/api.go', line 8478

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

func (s *CloudHsmClusterNotRelatedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



8486
8487
8488
// File 'service/kms/api.go', line 8486

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

func (s *CloudHsmClusterNotRelatedException) RequestID() string

RequestID returns the service's response RequestID for request.



8500
8501
8502
// File 'service/kms/api.go', line 8500

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

func (s *CloudHsmClusterNotRelatedException) StatusCode() int

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



8495
8496
8497
// File 'service/kms/api.go', line 8495

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

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



8453
8454
8455
// File 'service/kms/api.go', line 8453

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