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
Structure Field Details
ErrorCodeOverride *string
Message *string
Method Details
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())
}
|
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
}
|
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 }
type CloudHsmClusterNotFoundException struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
|
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
}
|