Struct: s3.ListObjectVersionsInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Bucket *string
The bucket name that contains the objects.
-
Delimiter *string
A delimiter is a character that you specify to group keys.
-
EncodingType *string
Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use.
-
ExpectedBucketOwner *string
Ignored by COS.
-
KeyMarker *string
Specifies the key to start with when listing objects in a bucket.
-
MaxKeys *int64
Sets the maximum number of keys returned in the response.
-
Prefix *string
Use this parameter to select only those keys that begin with the specified prefix.
-
VersionIdMarker *string
Specifies the object version you want to start listing from.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetBucket(string) *ListObjectVersionsInput
operation
SetBucket sets the Bucket field's value.
-
SetDelimiter(string) *ListObjectVersionsInput
operation
SetDelimiter sets the Delimiter field's value.
-
SetEncodingType(string) *ListObjectVersionsInput
operation
SetEncodingType sets the EncodingType field's value.
-
SetExpectedBucketOwner(string) *ListObjectVersionsInput
operation
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
-
SetKeyMarker(string) *ListObjectVersionsInput
operation
SetKeyMarker sets the KeyMarker field's value.
-
SetMaxKeys(int64) *ListObjectVersionsInput
operation
SetMaxKeys sets the MaxKeys field's value.
-
SetPrefix(string) *ListObjectVersionsInput
operation
SetPrefix sets the Prefix field's value.
-
SetVersionIdMarker(string) *ListObjectVersionsInput
operation
SetVersionIdMarker sets the VersionIdMarker field's value.
-
String() string
operation
String returns the string representation.
-
Validate() error
operation
Validate inspects the fields of the type to determine if they are valid.
Structure Field Details
Bucket *string
`location:"uri" locationName:"Bucket" type:"string" required:"true"`
The bucket name that contains the objects.
Bucket is a required field
Delimiter *string
`location:"querystring" locationName:"delimiter" type:"string"`
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
`location:"querystring" locationName:"encoding-type" type:"string" enum:"EncodingType"`
Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key can contain any Unicode character; however, the XML 1.0 parser cannot parse some characters, such as characters with an ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response.
ExpectedBucketOwner *string
`location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
Ignored by COS.
KeyMarker *string
`location:"querystring" locationName:"key-marker" type:"string"`
Specifies the key to start with when listing objects in a bucket.
MaxKeys *int64
`location:"querystring" locationName:"max-keys" type:"integer"`
Sets the maximum number of keys returned in the response. By default, the action returns up to 1,000 key names. The response might contain fewer keys but will never contain more. If additional keys satisfy the search criteria, but were not returned because max-keys was exceeded, the response contains <isTruncated>true</isTruncated>. To return the additional keys, see key-marker and version-id-marker.
Prefix *string
`location:"querystring" locationName:"prefix" type:"string"`
Use this parameter to select only those keys that begin with the specified prefix. You can use prefixes to separate a bucket into different groupings of keys. (You can think of using prefix to make groups in the same way that you'd use a folder in a file system.) You can use prefix with delimiter to roll up numerous objects into a single result under CommonPrefixes.
VersionIdMarker *string
`location:"querystring" locationName:"version-id-marker" type:"string"`
Specifies the object version you want to start listing from.
_ struct{}
`locationName:"ListObjectVersionsRequest" type:"structure"`
Method Details
func (s ListObjectVersionsInput) 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”.
16466 16467 16468 |
// File 'service/s3/api.go', line 16466
|
func (s *ListObjectVersionsInput) SetBucket(v string) *ListObjectVersionsInput
SetBucket sets the Bucket field's value.
16487 16488 16489 16490 |
// File 'service/s3/api.go', line 16487
|
func (s *ListObjectVersionsInput) SetDelimiter(v string) *ListObjectVersionsInput
SetDelimiter sets the Delimiter field's value.
16500 16501 16502 16503 |
// File 'service/s3/api.go', line 16500
|
func (s *ListObjectVersionsInput) SetEncodingType(v string) *ListObjectVersionsInput
SetEncodingType sets the EncodingType field's value.
16506 16507 16508 16509 |
// File 'service/s3/api.go', line 16506
|
func (s *ListObjectVersionsInput) SetExpectedBucketOwner(v string) *ListObjectVersionsInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
16512 16513 16514 16515 |
// File 'service/s3/api.go', line 16512
|
func (s *ListObjectVersionsInput) SetKeyMarker(v string) *ListObjectVersionsInput
SetKeyMarker sets the KeyMarker field's value.
16518 16519 16520 16521 |
// File 'service/s3/api.go', line 16518
|
func (s *ListObjectVersionsInput) SetMaxKeys(v int64) *ListObjectVersionsInput
SetMaxKeys sets the MaxKeys field's value.
16524 16525 16526 16527 |
// File 'service/s3/api.go', line 16524
|
func (s *ListObjectVersionsInput) SetPrefix(v string) *ListObjectVersionsInput
SetPrefix sets the Prefix field's value.
16530 16531 16532 16533 |
// File 'service/s3/api.go', line 16530
|
func (s *ListObjectVersionsInput) SetVersionIdMarker(v string) *ListObjectVersionsInput
SetVersionIdMarker sets the VersionIdMarker field's value.
16536 16537 16538 16539 |
// File 'service/s3/api.go', line 16536
|
func (s ListObjectVersionsInput) 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”.
16457 16458 16459 |
// File 'service/s3/api.go', line 16457
|
func (s *ListObjectVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 |
// File 'service/s3/api.go', line 16471
|