Struct aws_sdk_s3::input::ListObjectVersionsInput
source · [−]#[non_exhaustive]pub struct ListObjectVersionsInput {
pub bucket: Option<String>,
pub delimiter: Option<String>,
pub encoding_type: Option<EncodingType>,
pub key_marker: Option<String>,
pub max_keys: i32,
pub prefix: Option<String>,
pub version_id_marker: Option<String>,
pub expected_bucket_owner: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bucket: Option<String>
The bucket name that contains the objects.
delimiter: Option<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.
encoding_type: Option<EncodingType>
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.
key_marker: Option<String>
Specifies the key to start with when listing objects in a bucket.
max_keys: i32
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
prefix: Option<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 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.
version_id_marker: Option<String>
Specifies the object version you want to start listing from.
expected_bucket_owner: Option<String>
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.
Implementations
sourceimpl ListObjectVersionsInput
impl ListObjectVersionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListObjectVersions, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListObjectVersions, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListObjectVersions
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListObjectVersionsInput
sourceimpl ListObjectVersionsInput
impl ListObjectVersionsInput
sourcepub fn delimiter(&self) -> Option<&str>
pub fn delimiter(&self) -> Option<&str>
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.
sourcepub fn encoding_type(&self) -> Option<&EncodingType>
pub fn encoding_type(&self) -> Option<&EncodingType>
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.
sourcepub fn key_marker(&self) -> Option<&str>
pub fn key_marker(&self) -> Option<&str>
Specifies the key to start with when listing objects in a bucket.
sourcepub fn max_keys(&self) -> i32
pub fn max_keys(&self) -> i32
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
sourcepub fn prefix(&self) -> Option<&str>
pub fn prefix(&self) -> Option<&str>
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.
sourcepub fn version_id_marker(&self) -> Option<&str>
pub fn version_id_marker(&self) -> Option<&str>
Specifies the object version you want to start listing from.
sourcepub fn expected_bucket_owner(&self) -> Option<&str>
pub fn expected_bucket_owner(&self) -> Option<&str>
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
sourceimpl Clone for ListObjectVersionsInput
impl Clone for ListObjectVersionsInput
sourcefn clone(&self) -> ListObjectVersionsInput
fn clone(&self) -> ListObjectVersionsInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ListObjectVersionsInput
impl Debug for ListObjectVersionsInput
sourceimpl PartialEq<ListObjectVersionsInput> for ListObjectVersionsInput
impl PartialEq<ListObjectVersionsInput> for ListObjectVersionsInput
sourcefn eq(&self, other: &ListObjectVersionsInput) -> bool
fn eq(&self, other: &ListObjectVersionsInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListObjectVersionsInput) -> bool
fn ne(&self, other: &ListObjectVersionsInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListObjectVersionsInput
Auto Trait Implementations
impl RefUnwindSafe for ListObjectVersionsInput
impl Send for ListObjectVersionsInput
impl Sync for ListObjectVersionsInput
impl Unpin for ListObjectVersionsInput
impl UnwindSafe for ListObjectVersionsInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more