Struct aws_sdk_s3::operation::head_bucket::HeadBucketOutput
source · #[non_exhaustive]pub struct HeadBucketOutput {
pub bucket_location_type: Option<LocationType>,
pub bucket_location_name: Option<String>,
pub bucket_region: Option<String>,
pub access_point_alias: Option<bool>,
/* 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.bucket_location_type: Option<LocationType>
The type of location where the bucket is created.
This functionality is only supported by directory buckets.
bucket_location_name: Option<String>
The name of the location where the bucket will be created.
For directory buckets, the AZ ID of the Availability Zone where the bucket is created. An example AZ ID value is usw2-az1
.
This functionality is only supported by directory buckets.
bucket_region: Option<String>
The Region that the bucket is located.
This functionality is not supported for directory buckets.
access_point_alias: Option<bool>
Indicates whether the bucket name used in the request is an access point alias.
This functionality is not supported for directory buckets.
Implementations§
source§impl HeadBucketOutput
impl HeadBucketOutput
sourcepub fn bucket_location_type(&self) -> Option<&LocationType>
pub fn bucket_location_type(&self) -> Option<&LocationType>
The type of location where the bucket is created.
This functionality is only supported by directory buckets.
sourcepub fn bucket_location_name(&self) -> Option<&str>
pub fn bucket_location_name(&self) -> Option<&str>
The name of the location where the bucket will be created.
For directory buckets, the AZ ID of the Availability Zone where the bucket is created. An example AZ ID value is usw2-az1
.
This functionality is only supported by directory buckets.
sourcepub fn bucket_region(&self) -> Option<&str>
pub fn bucket_region(&self) -> Option<&str>
The Region that the bucket is located.
This functionality is not supported for directory buckets.
sourcepub fn access_point_alias(&self) -> Option<bool>
pub fn access_point_alias(&self) -> Option<bool>
Indicates whether the bucket name used in the request is an access point alias.
This functionality is not supported for directory buckets.
source§impl HeadBucketOutput
impl HeadBucketOutput
sourcepub fn builder() -> HeadBucketOutputBuilder
pub fn builder() -> HeadBucketOutputBuilder
Creates a new builder-style object to manufacture HeadBucketOutput
.
Trait Implementations§
source§impl Clone for HeadBucketOutput
impl Clone for HeadBucketOutput
source§fn clone(&self) -> HeadBucketOutput
fn clone(&self) -> HeadBucketOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HeadBucketOutput
impl Debug for HeadBucketOutput
source§impl PartialEq for HeadBucketOutput
impl PartialEq for HeadBucketOutput
source§impl RequestId for HeadBucketOutput
impl RequestId for HeadBucketOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.source§impl RequestIdExt for HeadBucketOutput
impl RequestIdExt for HeadBucketOutput
source§fn extended_request_id(&self) -> Option<&str>
fn extended_request_id(&self) -> Option<&str>
impl StructuralPartialEq for HeadBucketOutput
Auto Trait Implementations§
impl Freeze for HeadBucketOutput
impl RefUnwindSafe for HeadBucketOutput
impl Send for HeadBucketOutput
impl Sync for HeadBucketOutput
impl Unpin for HeadBucketOutput
impl UnwindSafe for HeadBucketOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)