Struct: types.CloudHsmClusterNotActiveException

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

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 Started[https://docs.aws.amazon.com/cloudhsm/latest/userguide/getting-started.html]in the CloudHSM User Guide.

Implemented Interfaces

types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream

Structure Field Summary collapse

Method Summary collapse

Structure Field Details

ErrorCodeOverride *string

Message *string

Method Details

func (e *CloudHsmClusterNotActiveException) Error() string



144
145
146
// File 'service/kms/types/errors.go', line 144

func (e *CloudHsmClusterNotActiveException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) }

func (e *CloudHsmClusterNotActiveException) ErrorCode() string



153
154
155
156
157
158
// File 'service/kms/types/errors.go', line 153

func (e *CloudHsmClusterNotActiveException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "CloudHsmClusterNotActiveException" } return *e.ErrorCodeOverride }

func (e *CloudHsmClusterNotActiveException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }



159
160
161
162
163
164
165
166
167
168
169
// File 'service/kms/types/errors.go', line 159

func (e *CloudHsmClusterNotActiveException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The request was rejected because KMS cannot find the CloudHSM cluster with the // specified cluster ID. Retry the request with a different cluster ID. type CloudHsmClusterNotFoundException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *CloudHsmClusterNotActiveException) ErrorMessage() string



147
148
149
150
151
152
// File 'service/kms/types/errors.go', line 147

func (e *CloudHsmClusterNotActiveException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message }