Struct aws_sdk_s3control::output::CreateBucketOutput
source · #[non_exhaustive]pub struct CreateBucketOutput { /* private fields */ }Implementations§
source§impl CreateBucketOutput
impl CreateBucketOutput
sourcepub fn bucket_arn(&self) -> Option<&str>
pub fn bucket_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the bucket.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:
. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.
source§impl CreateBucketOutput
impl CreateBucketOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateBucketOutput.
Trait Implementations§
source§impl Clone for CreateBucketOutput
impl Clone for CreateBucketOutput
source§fn clone(&self) -> CreateBucketOutput
fn clone(&self) -> CreateBucketOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CreateBucketOutput
impl Debug for CreateBucketOutput
source§impl PartialEq<CreateBucketOutput> for CreateBucketOutput
impl PartialEq<CreateBucketOutput> for CreateBucketOutput
source§fn eq(&self, other: &CreateBucketOutput) -> bool
fn eq(&self, other: &CreateBucketOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.