Struct: types.BucketAlreadyExists
import "../ibm-cos-sdk-go-v2/service/s3/types"
Overview
The requested bucket name is not available. The bucket namespace is shared by all users of the system. Select a different name and try again.
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/s3/types/errors.go', line 19
func (e *BucketAlreadyExists) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
|
28
29
30
31
32
33
|
// File 'service/s3/types/errors.go', line 28
func (e *BucketAlreadyExists) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "BucketAlreadyExists"
}
return *e.ErrorCodeOverride
}
|
func (e *BucketAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
// File 'service/s3/types/errors.go', line 34
func (e *BucketAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
type BucketAlreadyOwnedByYou struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
|
22
23
24
25
26
27
|
// File 'service/s3/types/errors.go', line 22
func (e *BucketAlreadyExists) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
|