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”.



10775
10776
10777
// File 'service/s3/api.go', line 10775

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

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

SetDeleteMarker sets the DeleteMarker field's value.



10780
10781
10782
10783
// File 'service/s3/api.go', line 10780

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.



10786
10787
10788
10789
// File 'service/s3/api.go', line 10786

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.



10792
10793
10794
10795
// File 'service/s3/api.go', line 10792

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”.



10766
10767
10768
// File 'service/s3/api.go', line 10766

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