Struct aws_sdk_s3::client::fluent_builders::ListObjectVersions [−][src]
pub struct ListObjectVersions<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListObjectVersions
.
Returns metadata about all versions of the objects in a bucket. You can also use request parameters as selection criteria to return metadata about a subset of all the object versions.
To use this operation, you must have permissions to perform the
s3:ListBucketVersions
action. Be aware of the name difference.
A 200 OK response can contain valid or invalid XML. Make sure to design your application to parse the contents of the response and handle it appropriately.
To use this operation, you must have READ access to the bucket.
This action is not supported by Amazon S3 on Outposts.
The following operations are related to
ListObjectVersions
:
Implementations
impl<C, M, R> ListObjectVersions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListObjectVersions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListObjectVersionsOutput, SdkError<ListObjectVersionsError>> where
R::Policy: SmithyRetryPolicy<ListObjectVersionsInputOperationOutputAlias, ListObjectVersionsOutput, ListObjectVersionsError, ListObjectVersionsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListObjectVersionsOutput, SdkError<ListObjectVersionsError>> where
R::Policy: SmithyRetryPolicy<ListObjectVersionsInputOperationOutputAlias, ListObjectVersionsOutput, ListObjectVersionsError, ListObjectVersionsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The bucket name that contains the objects.
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.
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.
Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key may contain any Unicode character; however, 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.
Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key may contain any Unicode character; however, 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.
Specifies the key to start with when listing objects in a bucket.
Specifies the key to start with when listing objects in a bucket.
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
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
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 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.
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 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.
Specifies the object version you want to start listing from.
Specifies the object version you want to start listing from.
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied)
error.
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied)
error.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ListObjectVersions<C, M, R>
impl<C, M, R> Send for ListObjectVersions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListObjectVersions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListObjectVersions<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListObjectVersions<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more