#[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() -> CreateBucketOutputBuilder
pub fn builder() -> CreateBucketOutputBuilder
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 ==
.source§impl RequestId for CreateBucketOutput
impl RequestId for CreateBucketOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for CreateBucketOutput
Auto Trait Implementations§
impl RefUnwindSafe for CreateBucketOutput
impl Send for CreateBucketOutput
impl Sync for CreateBucketOutput
impl Unpin for CreateBucketOutput
impl UnwindSafe for CreateBucketOutput
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
Mutably borrows from an owned value. Read more