Struct: s3.ListObjectsV2Input
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Bucket *string
Bucket name to list.
-
ContinuationToken *string
ContinuationToken indicates to Amazon S3 that the list is being continued on this bucket with a token.
-
Delimiter *string
A delimiter is a character that you use to group keys.
-
EncodingType *string
Encoding type used by Amazon S3 to encode object keys in the response.
-
ExpectedBucketOwner *string
Ignored by COS.
-
FetchOwner *bool
The owner field is not present in ListObjectsV2 by default.
-
MaxKeys *int64
Sets the maximum number of keys returned in the response.
-
Prefix *string
Limits the response to keys that begin with the specified prefix.
-
RequestPayer *string
Confirms that the requester knows that she or he will be charged for the list objects request in V2 style.
-
StartAfter *string
StartAfter is where you want Amazon S3 to start listing from.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetBucket(string) *ListObjectsV2Input
operation
SetBucket sets the Bucket field's value.
-
SetContinuationToken(string) *ListObjectsV2Input
operation
SetContinuationToken sets the ContinuationToken field's value.
-
SetDelimiter(string) *ListObjectsV2Input
operation
SetDelimiter sets the Delimiter field's value.
-
SetEncodingType(string) *ListObjectsV2Input
operation
SetEncodingType sets the EncodingType field's value.
-
SetExpectedBucketOwner(string) *ListObjectsV2Input
operation
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
-
SetFetchOwner(bool) *ListObjectsV2Input
operation
SetFetchOwner sets the FetchOwner field's value.
-
SetMaxKeys(int64) *ListObjectsV2Input
operation
SetMaxKeys sets the MaxKeys field's value.
-
SetPrefix(string) *ListObjectsV2Input
operation
SetPrefix sets the Prefix field's value.
-
SetRequestPayer(string) *ListObjectsV2Input
operation
SetRequestPayer sets the RequestPayer field's value.
-
SetStartAfter(string) *ListObjectsV2Input
operation
SetStartAfter sets the StartAfter 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"`
Bucket name to list.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points (docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? (docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in the Amazon S3 User Guide.
Bucket is a required field
ContinuationToken *string
`location:"querystring" locationName:"continuation-token" type:"string"`
ContinuationToken indicates to Amazon S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key.
Delimiter *string
`location:"querystring" locationName:"delimiter" type:"string"`
A delimiter is a character that you use to group keys.
EncodingType *string
`location:"querystring" locationName:"encoding-type" type:"string" enum:"EncodingType"`
Encoding type used by Amazon S3 to encode object keys in the response.
ExpectedBucketOwner *string
`location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
Ignored by COS.
FetchOwner *bool
`location:"querystring" locationName:"fetch-owner" type:"boolean"`
The owner field is not present in ListObjectsV2 by default. If you want to return the owner field with each key in the result, then set the FetchOwner field to true.
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.
Prefix *string
`location:"querystring" locationName:"prefix" type:"string"`
Limits the response to keys that begin with the specified prefix.
RequestPayer *string
`location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`
Confirms that the requester knows that she or he will be charged for the list objects request in V2 style. Bucket owners need not specify this parameter in their requests.
StartAfter *string
`location:"querystring" locationName:"start-after" type:"string"`
StartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this specified key. StartAfter can be any key in the bucket.
_ struct{}
`locationName:"ListObjectsV2Request" type:"structure"`
Method Details
func (s ListObjectsV2Input) 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”.
17088 17089 17090 |
// File 'service/s3/api.go', line 17088
|
func (s *ListObjectsV2Input) SetBucket(v string) *ListObjectsV2Input
SetBucket sets the Bucket field's value.
17109 17110 17111 17112 |
// File 'service/s3/api.go', line 17109
|
func (s *ListObjectsV2Input) SetContinuationToken(v string) *ListObjectsV2Input
SetContinuationToken sets the ContinuationToken field's value.
17122 17123 17124 17125 |
// File 'service/s3/api.go', line 17122
|
func (s *ListObjectsV2Input) SetDelimiter(v string) *ListObjectsV2Input
SetDelimiter sets the Delimiter field's value.
17128 17129 17130 17131 |
// File 'service/s3/api.go', line 17128
|
func (s *ListObjectsV2Input) SetEncodingType(v string) *ListObjectsV2Input
SetEncodingType sets the EncodingType field's value.
17134 17135 17136 17137 |
// File 'service/s3/api.go', line 17134
|
func (s *ListObjectsV2Input) SetExpectedBucketOwner(v string) *ListObjectsV2Input
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
17140 17141 17142 17143 |
// File 'service/s3/api.go', line 17140
|
func (s *ListObjectsV2Input) SetFetchOwner(v bool) *ListObjectsV2Input
SetFetchOwner sets the FetchOwner field's value.
17146 17147 17148 17149 |
// File 'service/s3/api.go', line 17146
|
func (s *ListObjectsV2Input) SetMaxKeys(v int64) *ListObjectsV2Input
SetMaxKeys sets the MaxKeys field's value.
17152 17153 17154 17155 |
// File 'service/s3/api.go', line 17152
|
func (s *ListObjectsV2Input) SetPrefix(v string) *ListObjectsV2Input
SetPrefix sets the Prefix field's value.
17158 17159 17160 17161 |
// File 'service/s3/api.go', line 17158
|
func (s *ListObjectsV2Input) SetRequestPayer(v string) *ListObjectsV2Input
SetRequestPayer sets the RequestPayer field's value.
17164 17165 17166 17167 |
// File 'service/s3/api.go', line 17164
|
func (s *ListObjectsV2Input) SetStartAfter(v string) *ListObjectsV2Input
SetStartAfter sets the StartAfter field's value.
17170 17171 17172 17173 |
// File 'service/s3/api.go', line 17170
|
func (s ListObjectsV2Input) 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”.
17079 17080 17081 |
// File 'service/s3/api.go', line 17079
|
func (s *ListObjectsV2Input) Validate() error
Validate inspects the fields of the type to determine if they are valid.
17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 |
// File 'service/s3/api.go', line 17093
|