#[non_exhaustive]pub struct CreateBucketOutput {
pub location: Option<String>,
pub bucket_arn: Option<String>,
/* 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.location: Option<String>A forward slash followed by the name of the bucket for all account regional namespace buckets and all global general purpose buckets created in us-east-1. For example, /amzn-s3-demo-bucket. For global general purpose buckets created in other Amazon Web Services Regions, the Location field is the global endpoint URL. For example, http://amzn-s3-demo-bucket.s3.amazonaws.com/.
bucket_arn: Option<String>The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all of Amazon Web Services.
This parameter is only supported for S3 directory buckets. For more information, see Using tags with directory buckets.
Implementations§
Source§impl CreateBucketOutput
impl CreateBucketOutput
Sourcepub fn location(&self) -> Option<&str>
pub fn location(&self) -> Option<&str>
A forward slash followed by the name of the bucket for all account regional namespace buckets and all global general purpose buckets created in us-east-1. For example, /amzn-s3-demo-bucket. For global general purpose buckets created in other Amazon Web Services Regions, the Location field is the global endpoint URL. For example, http://amzn-s3-demo-bucket.s3.amazonaws.com/.
Sourcepub fn bucket_arn(&self) -> Option<&str>
pub fn bucket_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all of Amazon Web Services.
This parameter is only supported for S3 directory buckets. For more information, see Using tags with directory buckets.
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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CreateBucketOutput
impl Debug for CreateBucketOutput
Source§impl PartialEq for CreateBucketOutput
impl PartialEq for CreateBucketOutput
Source§impl RequestId for CreateBucketOutput
impl RequestId for CreateBucketOutput
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 CreateBucketOutput
impl RequestIdExt for CreateBucketOutput
Source§fn extended_request_id(&self) -> Option<&str>
fn extended_request_id(&self) -> Option<&str>
impl StructuralPartialEq for CreateBucketOutput
Auto Trait Implementations§
impl Freeze for CreateBucketOutput
impl RefUnwindSafe for CreateBucketOutput
impl Send for CreateBucketOutput
impl Sync for CreateBucketOutput
impl Unpin for CreateBucketOutput
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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