Struct: s3.DeleteObjectOutput

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

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

DeleteMarker *bool `location:"header" locationName:"x-amz-delete-marker" type:"boolean"`

Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not (false) the current version of the object is a delete marker.

RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`

If present, indicates that the requester was successfully charged for the request.

VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"`

Returns the version ID of the delete marker created as a result of the DELETE operation.

_ struct{} `type:"structure"`

Method Details

func (s DeleteObjectOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



10926
10927
10928
// File 'service/s3/api.go', line 10926

func (s DeleteObjectOutput) GoString() string { return s.String() }

func (s *DeleteObjectOutput) SetDeleteMarker(v bool) *DeleteObjectOutput

SetDeleteMarker sets the DeleteMarker field’s value.



10931
10932
10933
10934
// File 'service/s3/api.go', line 10931

func (s *DeleteObjectOutput) SetDeleteMarker(v bool) *DeleteObjectOutput { s.DeleteMarker = &v return s }

func (s *DeleteObjectOutput) SetRequestCharged(v string) *DeleteObjectOutput

SetRequestCharged sets the RequestCharged field’s value.



10937
10938
10939
10940
// File 'service/s3/api.go', line 10937

func (s *DeleteObjectOutput) SetRequestCharged(v string) *DeleteObjectOutput { s.RequestCharged = &v return s }

func (s *DeleteObjectOutput) SetVersionId(v string) *DeleteObjectOutput

SetVersionId sets the VersionId field’s value.



10943
10944
10945
10946
// File 'service/s3/api.go', line 10943

func (s *DeleteObjectOutput) SetVersionId(v string) *DeleteObjectOutput { s.VersionId = &v return s }

func (s DeleteObjectOutput) String() string

String returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



10917
10918
10919
// File 'service/s3/api.go', line 10917

func (s DeleteObjectOutput) String() string { return awsutil.Prettify(s) }