Struct: s3.ListObjectVersionsOutput

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

CommonPrefixes []*CommonPrefix `type:"list" flattened:"true"`

All of the keys rolled up into a common prefix count as a single return when calculating the number of returns.

DeleteMarkers []*DeleteMarkerEntry `locationName:"DeleteMarker" type:"list" flattened:"true"`

Container for an object that is a delete marker.

Delimiter *string `type:"string"`

The delimiter grouping the included keys. A delimiter is a character that you specify to group keys. All keys that contain the same string between the prefix and the first occurrence of the delimiter are grouped under a single result element in CommonPrefixes. These groups are counted as one result against the max-keys limitation. These keys are not returned elsewhere in the response.

EncodingType *string `type:"string" enum:"EncodingType"`

Encoding type used by Amazon S3 to encode object key names in the XML response.

If you specify the encoding-type request parameter, Amazon S3 includes this element in the response, and returns encoded key name values in the following response elements:

KeyMarker, NextKeyMarker, Prefix, Key, and Delimiter.

IsTruncated *bool `type:"boolean"`

A flag that indicates whether Amazon S3 returned all of the results that satisfied the search criteria. If your results were truncated, you can make a follow-up paginated request by using the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in another request to return the rest of the results.

KeyMarker *string `type:"string"`

Marks the last key returned in a truncated response.

MaxKeys *int64 `type:"integer"`

Specifies the maximum number of objects to return.

Name *string `type:"string"`

The bucket name.

NextKeyMarker *string `type:"string"`

When the number of responses exceeds the value of MaxKeys, NextKeyMarker specifies the first key not returned that satisfies the search criteria. Use this value for the key-marker request parameter in a subsequent request.

NextVersionIdMarker *string `type:"string"`

When the number of responses exceeds the value of MaxKeys, NextVersionIdMarker specifies the first object version not returned that satisfies the search criteria. Use this value for the version-id-marker request parameter in a subsequent request.

Prefix *string `type:"string"`

Selects objects that start with the value supplied by this parameter.

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.

VersionIdMarker *string `type:"string"`

Marks the last version of the key returned in a truncated response.

Versions []*ObjectVersion `locationName:"Version" type:"list" flattened:"true"`

Container for version information.

_ struct{} `type:"structure"`

Method Details

func (s ListObjectVersionsOutput) 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”.



16793
16794
16795
// File 'service/s3/api.go', line 16793

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

func (s *ListObjectVersionsOutput) SetCommonPrefixes(v []*CommonPrefix) *ListObjectVersionsOutput

SetCommonPrefixes sets the CommonPrefixes field's value.



16798
16799
16800
16801
// File 'service/s3/api.go', line 16798

func (s *ListObjectVersionsOutput) SetCommonPrefixes(v []*CommonPrefix) *ListObjectVersionsOutput { s.CommonPrefixes = v return s }

func (s *ListObjectVersionsOutput) SetDeleteMarkers(v []*DeleteMarkerEntry) *ListObjectVersionsOutput

SetDeleteMarkers sets the DeleteMarkers field's value.



16804
16805
16806
16807
// File 'service/s3/api.go', line 16804

func (s *ListObjectVersionsOutput) SetDelimiter(v string) *ListObjectVersionsOutput

SetDelimiter sets the Delimiter field's value.



16810
16811
16812
16813
// File 'service/s3/api.go', line 16810

func (s *ListObjectVersionsOutput) SetDelimiter(v string) *ListObjectVersionsOutput { s.Delimiter = &v return s }

func (s *ListObjectVersionsOutput) SetEncodingType(v string) *ListObjectVersionsOutput

SetEncodingType sets the EncodingType field's value.



16816
16817
16818
16819
// File 'service/s3/api.go', line 16816

func (s *ListObjectVersionsOutput) SetEncodingType(v string) *ListObjectVersionsOutput { s.EncodingType = &v return s }

func (s *ListObjectVersionsOutput) SetIsTruncated(v bool) *ListObjectVersionsOutput

SetIsTruncated sets the IsTruncated field's value.



16822
16823
16824
16825
// File 'service/s3/api.go', line 16822

func (s *ListObjectVersionsOutput) SetIsTruncated(v bool) *ListObjectVersionsOutput { s.IsTruncated = &v return s }

func (s *ListObjectVersionsOutput) SetKeyMarker(v string) *ListObjectVersionsOutput

SetKeyMarker sets the KeyMarker field's value.



16828
16829
16830
16831
// File 'service/s3/api.go', line 16828

func (s *ListObjectVersionsOutput) SetKeyMarker(v string) *ListObjectVersionsOutput { s.KeyMarker = &v return s }

func (s *ListObjectVersionsOutput) SetMaxKeys(v int64) *ListObjectVersionsOutput

SetMaxKeys sets the MaxKeys field's value.



16834
16835
16836
16837
// File 'service/s3/api.go', line 16834

func (s *ListObjectVersionsOutput) SetMaxKeys(v int64) *ListObjectVersionsOutput { s.MaxKeys = &v return s }

func (s *ListObjectVersionsOutput) SetName(v string) *ListObjectVersionsOutput

SetName sets the Name field's value.



16840
16841
16842
16843
// File 'service/s3/api.go', line 16840

func (s *ListObjectVersionsOutput) SetName(v string) *ListObjectVersionsOutput { s.Name = &v return s }

func (s *ListObjectVersionsOutput) SetNextKeyMarker(v string) *ListObjectVersionsOutput

SetNextKeyMarker sets the NextKeyMarker field's value.



16846
16847
16848
16849
// File 'service/s3/api.go', line 16846

func (s *ListObjectVersionsOutput) SetNextKeyMarker(v string) *ListObjectVersionsOutput { s.NextKeyMarker = &v return s }

func (s *ListObjectVersionsOutput) SetNextVersionIdMarker(v string) *ListObjectVersionsOutput

SetNextVersionIdMarker sets the NextVersionIdMarker field's value.



16852
16853
16854
16855
// File 'service/s3/api.go', line 16852

func (s *ListObjectVersionsOutput) SetNextVersionIdMarker(v string) *ListObjectVersionsOutput { s.NextVersionIdMarker = &v return s }

func (s *ListObjectVersionsOutput) SetPrefix(v string) *ListObjectVersionsOutput

SetPrefix sets the Prefix field's value.



16858
16859
16860
16861
// File 'service/s3/api.go', line 16858

func (s *ListObjectVersionsOutput) SetPrefix(v string) *ListObjectVersionsOutput { s.Prefix = &v return s }

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

SetRequestCharged sets the RequestCharged field's value.



16864
16865
16866
16867
// File 'service/s3/api.go', line 16864

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

func (s *ListObjectVersionsOutput) SetVersionIdMarker(v string) *ListObjectVersionsOutput

SetVersionIdMarker sets the VersionIdMarker field's value.



16870
16871
16872
16873
// File 'service/s3/api.go', line 16870

func (s *ListObjectVersionsOutput) SetVersionIdMarker(v string) *ListObjectVersionsOutput { s.VersionIdMarker = &v return s }

func (s *ListObjectVersionsOutput) SetVersions(v []*ObjectVersion) *ListObjectVersionsOutput

SetVersions sets the Versions field's value.



16876
16877
16878
16879
// File 'service/s3/api.go', line 16876

func (s *ListObjectVersionsOutput) SetVersions(v []*ObjectVersion) *ListObjectVersionsOutput { s.Versions = v return s }

func (s ListObjectVersionsOutput) 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”.



16784
16785
16786
// File 'service/s3/api.go', line 16784

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