Struct: types.NoSuchKey
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
232
233
234
|
// File 'service/s3/types/errors.go', line 232
func (e *NoSuchKey) Error() string {
return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
}
|
241
242
243
244
245
246
|
// File 'service/s3/types/errors.go', line 241
func (e *NoSuchKey) ErrorCode() string {
if e == nil || e.ErrorCodeOverride == nil {
return "NoSuchKey"
}
return *e.ErrorCodeOverride
}
|
func (e *NoSuchKey) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
247
248
249
250
251
252
253
254
255
256
|
// File 'service/s3/types/errors.go', line 247
func (e *NoSuchKey) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
type NoSuchUpload struct {
Message *string
ErrorCodeOverride *string
noSmithyDocumentSerde
}
|
235
236
237
238
239
240
|
// File 'service/s3/types/errors.go', line 235
func (e *NoSuchKey) ErrorMessage() string {
if e.Message == nil {
return ""
}
return *e.Message
}
|