Struct: kms.CloudHsmClusterNotFoundException

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

Overview

The request was rejected because KMS cannot find the CloudHSM cluster with the specified cluster ID. Retry the request with a different cluster ID.

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

Code returns the exception type name.



8397
8398
8399
// File 'service/kms/api.go', line 8397

func (s *CloudHsmClusterNotFoundException) Error() string



8414
8415
8416
// File 'service/kms/api.go', line 8414

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

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



8386
8387
8388
// File 'service/kms/api.go', line 8386

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

func (s *CloudHsmClusterNotFoundException) Message() string

Message returns the exception's message.



8402
8403
8404
8405
8406
8407
// File 'service/kms/api.go', line 8402

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

func (s *CloudHsmClusterNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



8410
8411
8412
// File 'service/kms/api.go', line 8410

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

func (s *CloudHsmClusterNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.



8424
8425
8426
// File 'service/kms/api.go', line 8424

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

func (s *CloudHsmClusterNotFoundException) StatusCode() int

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



8419
8420
8421
// File 'service/kms/api.go', line 8419

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

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



8377
8378
8379
// File 'service/kms/api.go', line 8377

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