Struct aws_sdk_lightsail::operation::get_buckets::GetBucketsInput
source · #[non_exhaustive]pub struct GetBucketsInput {
pub bucket_name: Option<String>,
pub page_token: Option<String>,
pub include_connected_resources: Option<bool>,
}
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_name: Option<String>
The name of the bucket for which to return information.
When omitted, the response includes all of your buckets in the Amazon Web Services Region where the request is made.
page_token: Option<String>
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetBuckets
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
include_connected_resources: Option<bool>
A Boolean value that indicates whether to include Lightsail instances that were given access to the bucket using the SetResourceAccessForBucket action.
Implementations§
source§impl GetBucketsInput
impl GetBucketsInput
sourcepub fn bucket_name(&self) -> Option<&str>
pub fn bucket_name(&self) -> Option<&str>
The name of the bucket for which to return information.
When omitted, the response includes all of your buckets in the Amazon Web Services Region where the request is made.
sourcepub fn page_token(&self) -> Option<&str>
pub fn page_token(&self) -> Option<&str>
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetBuckets
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
sourcepub fn include_connected_resources(&self) -> Option<bool>
pub fn include_connected_resources(&self) -> Option<bool>
A Boolean value that indicates whether to include Lightsail instances that were given access to the bucket using the SetResourceAccessForBucket action.
source§impl GetBucketsInput
impl GetBucketsInput
sourcepub fn builder() -> GetBucketsInputBuilder
pub fn builder() -> GetBucketsInputBuilder
Creates a new builder-style object to manufacture GetBucketsInput
.
Trait Implementations§
source§impl Clone for GetBucketsInput
impl Clone for GetBucketsInput
source§fn clone(&self) -> GetBucketsInput
fn clone(&self) -> GetBucketsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetBucketsInput
impl Debug for GetBucketsInput
source§impl PartialEq for GetBucketsInput
impl PartialEq for GetBucketsInput
source§fn eq(&self, other: &GetBucketsInput) -> bool
fn eq(&self, other: &GetBucketsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetBucketsInput
Auto Trait Implementations§
impl Freeze for GetBucketsInput
impl RefUnwindSafe for GetBucketsInput
impl Send for GetBucketsInput
impl Sync for GetBucketsInput
impl Unpin for GetBucketsInput
impl UnwindSafe for GetBucketsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more