Struct: types.CloudHsmClusterInUseException
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 Details
54
55
56
|
// File 'service/kms/types/errors.go', line 54
func (e *CloudHsmClusterInUseException) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
|
63
64
65
66
67
68
|
// File 'service/kms/types/errors.go', line 63
func (e *CloudHsmClusterInUseException) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "CloudHsmClusterInUseException"
}
return *e.ErrorCodeOverride
}
|
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
// File 'service/kms/types/errors.go', line 69
func (e *CloudHsmClusterInUseException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
//
//
//
//
//
//
//
type CloudHsmClusterInvalidConfigurationException struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
|
57
58
59
60
61
62
|
// File 'service/kms/types/errors.go', line 57
func (e *CloudHsmClusterInUseException) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
|