Struct aws_sdk_lightsail::operation::get_buckets::GetBucketsOutput
source · #[non_exhaustive]pub struct GetBucketsOutput {
pub buckets: Option<Vec<Bucket>>,
pub next_page_token: Option<String>,
pub account_level_bpa_sync: Option<AccountLevelBpaSync>,
/* private fields */
}
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.buckets: Option<Vec<Bucket>>
An array of objects that describe buckets.
next_page_token: Option<String>
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetBuckets
request and specify the next page token using the pageToken
parameter.
account_level_bpa_sync: Option<AccountLevelBpaSync>
An object that describes the synchronization status of the Amazon S3 account-level block public access feature for your Lightsail buckets.
For more information about this feature and how it affects Lightsail buckets, see Block public access for buckets in Amazon Lightsail.
Implementations§
source§impl GetBucketsOutput
impl GetBucketsOutput
sourcepub fn buckets(&self) -> &[Bucket]
pub fn buckets(&self) -> &[Bucket]
An array of objects that describe buckets.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .buckets.is_none()
.
sourcepub fn next_page_token(&self) -> Option<&str>
pub fn next_page_token(&self) -> Option<&str>
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetBuckets
request and specify the next page token using the pageToken
parameter.
sourcepub fn account_level_bpa_sync(&self) -> Option<&AccountLevelBpaSync>
pub fn account_level_bpa_sync(&self) -> Option<&AccountLevelBpaSync>
An object that describes the synchronization status of the Amazon S3 account-level block public access feature for your Lightsail buckets.
For more information about this feature and how it affects Lightsail buckets, see Block public access for buckets in Amazon Lightsail.
source§impl GetBucketsOutput
impl GetBucketsOutput
sourcepub fn builder() -> GetBucketsOutputBuilder
pub fn builder() -> GetBucketsOutputBuilder
Creates a new builder-style object to manufacture GetBucketsOutput
.
Trait Implementations§
source§impl Clone for GetBucketsOutput
impl Clone for GetBucketsOutput
source§fn clone(&self) -> GetBucketsOutput
fn clone(&self) -> GetBucketsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetBucketsOutput
impl Debug for GetBucketsOutput
source§impl PartialEq for GetBucketsOutput
impl PartialEq for GetBucketsOutput
source§fn eq(&self, other: &GetBucketsOutput) -> bool
fn eq(&self, other: &GetBucketsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetBucketsOutput
impl RequestId for GetBucketsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetBucketsOutput
Auto Trait Implementations§
impl Freeze for GetBucketsOutput
impl RefUnwindSafe for GetBucketsOutput
impl Send for GetBucketsOutput
impl Sync for GetBucketsOutput
impl Unpin for GetBucketsOutput
impl UnwindSafe for GetBucketsOutput
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