Struct: types.AlreadyExistsException
import "../ibm-cos-sdk-go-v2/service/kms/types"
Overview
The request was rejected because it attempted to create a resource that already exists.
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
19
20
21
|
// File 'service/kms/types/errors.go', line 19
func (e *AlreadyExistsException) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
|
28
29
30
31
32
33
|
// File 'service/kms/types/errors.go', line 28
func (e *AlreadyExistsException) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "AlreadyExistsException"
}
return *e.ErrorCodeOverride
}
|
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
// File 'service/kms/types/errors.go', line 34
func (e *AlreadyExistsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
//
//
type CloudHsmClusterInUseException struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
|
22
23
24
25
26
27
|
// File 'service/kms/types/errors.go', line 22
func (e *AlreadyExistsException) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
|