Struct: kms.CloudHsmClusterNotActiveException

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

Overview

The request was rejected because the CloudHSM cluster associated with the CloudHSM key store is not active. Initialize and activate the cluster and try the command again. For detailed instructions, see Getting Started (docs.aws.amazon.com/cloudhsm/latest/userguide/getting-started.html) in the CloudHSM User Guide.

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

Code returns the exception type name.



8332
8333
8334
// File 'service/kms/api.go', line 8332

func (s *CloudHsmClusterNotActiveException) Error() string



8349
8350
8351
// File 'service/kms/api.go', line 8349

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

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



8321
8322
8323
// File 'service/kms/api.go', line 8321

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

func (s *CloudHsmClusterNotActiveException) Message() string

Message returns the exception's message.



8337
8338
8339
8340
8341
8342
// File 'service/kms/api.go', line 8337

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

func (s *CloudHsmClusterNotActiveException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.



8345
8346
8347
// File 'service/kms/api.go', line 8345

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

func (s *CloudHsmClusterNotActiveException) RequestID() string

RequestID returns the service's response RequestID for request.



8359
8360
8361
// File 'service/kms/api.go', line 8359

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

func (s *CloudHsmClusterNotActiveException) StatusCode() int

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



8354
8355
8356
// File 'service/kms/api.go', line 8354

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

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



8312
8313
8314
// File 'service/kms/api.go', line 8312

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