Struct: types.BucketAlreadyOwnedByYou

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

Implemented Interfaces

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

Method Summary collapse

Method Details

func (e *BucketAlreadyOwnedByYou) Error() string



49
50
51
// File 'service/s3/types/errors.go', line 49

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

func (e *BucketAlreadyOwnedByYou) ErrorCode() string



58
59
60
61
62
63
// File 'service/s3/types/errors.go', line 58

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

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



64
65
66
67
68
69
70
71
72
73
74
75
76
// File 'service/s3/types/errors.go', line 64

func (e *BucketAlreadyOwnedByYou) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The existing object was created with a different encryption type. Subsequent // // write requests must include the appropriate encryption parameters in the request // or while creating the session. type EncryptionTypeMismatch struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde }

func (e *BucketAlreadyOwnedByYou) ErrorMessage() string



52
53
54
55
56
57
// File 'service/s3/types/errors.go', line 52

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