Struct: types.EncryptionTypeMismatch
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 Details
78
79
80
|
// File 'service/s3/types/errors.go', line 78
func (e *EncryptionTypeMismatch) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
|
87
88
89
90
91
92
|
// File 'service/s3/types/errors.go', line 87
func (e *EncryptionTypeMismatch) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "EncryptionTypeMismatch"
}
return *e.ErrorCodeOverride
}
|
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
// File 'service/s3/types/errors.go', line 93
func (e *EncryptionTypeMismatch) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
//
//
type InvalidObjectState struct {
Message *string
ErrorCodeOverride *string
StorageClass StorageClass
AccessTier IntelligentTieringAccessTier
noSmithyDocumentSerde
}
|
81
82
83
84
85
86
|
// File 'service/s3/types/errors.go', line 81
func (e *EncryptionTypeMismatch) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
|