Struct: types.CloudHsmClusterNotFoundException

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

Implemented Interfaces

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

Method Summary collapse

Method Details

func (e *CloudHsmClusterNotFoundException) Error() string



171
172
173
// File 'service/kms/types/errors.go', line 171

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

func (e *CloudHsmClusterNotFoundException) ErrorCode() string



180
181
182
183
184
185
// File 'service/kms/types/errors.go', line 180

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

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



186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
// File 'service/kms/types/errors.go', line 186

func (e *CloudHsmClusterNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // 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] // operation. // // [DescribeClusters]: https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html type CloudHsmClusterNotRelatedException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *CloudHsmClusterNotFoundException) ErrorMessage() string



174
175
176
177
178
179
// File 'service/kms/types/errors.go', line 174

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