#[non_exhaustive]pub struct DescribeLocationS3Output {
pub location_arn: Option<String>,
pub location_uri: Option<String>,
pub s3_storage_class: Option<S3StorageClass>,
pub s3_config: Option<S3Config>,
pub agent_arns: Option<Vec<String>>,
pub creation_time: Option<DateTime>,
/* private fields */
}
Expand description
DescribeLocationS3Response
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_arn: Option<String>
The ARN of the Amazon S3 location.
location_uri: Option<String>
The URL of the Amazon S3 location that was described.
s3_storage_class: Option<S3StorageClass>
When Amazon S3 is a destination location, this is the storage class that you chose for your objects.
Some storage classes have behaviors that can affect your Amazon S3 storage costs. For more information, see Storage class considerations with Amazon S3 transfers.
s3_config: Option<S3Config>
Specifies the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that DataSync uses to access your S3 bucket.
For more information, see Accessing S3 buckets.
agent_arns: Option<Vec<String>>
The ARNs of the DataSync agents deployed on your Outpost when using working with Amazon S3 on Outposts.
For more information, see Deploy your DataSync agent on Outposts.
creation_time: Option<DateTime>
The time that the Amazon S3 location was created.
Implementations§
source§impl DescribeLocationS3Output
impl DescribeLocationS3Output
sourcepub fn location_arn(&self) -> Option<&str>
pub fn location_arn(&self) -> Option<&str>
The ARN of the Amazon S3 location.
sourcepub fn location_uri(&self) -> Option<&str>
pub fn location_uri(&self) -> Option<&str>
The URL of the Amazon S3 location that was described.
sourcepub fn s3_storage_class(&self) -> Option<&S3StorageClass>
pub fn s3_storage_class(&self) -> Option<&S3StorageClass>
When Amazon S3 is a destination location, this is the storage class that you chose for your objects.
Some storage classes have behaviors that can affect your Amazon S3 storage costs. For more information, see Storage class considerations with Amazon S3 transfers.
sourcepub fn s3_config(&self) -> Option<&S3Config>
pub fn s3_config(&self) -> Option<&S3Config>
Specifies the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that DataSync uses to access your S3 bucket.
For more information, see Accessing S3 buckets.
sourcepub fn agent_arns(&self) -> &[String]
pub fn agent_arns(&self) -> &[String]
The ARNs of the DataSync agents deployed on your Outpost when using working with Amazon S3 on Outposts.
For more information, see Deploy your DataSync agent on Outposts.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .agent_arns.is_none()
.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time that the Amazon S3 location was created.
source§impl DescribeLocationS3Output
impl DescribeLocationS3Output
sourcepub fn builder() -> DescribeLocationS3OutputBuilder
pub fn builder() -> DescribeLocationS3OutputBuilder
Creates a new builder-style object to manufacture DescribeLocationS3Output
.
Trait Implementations§
source§impl Clone for DescribeLocationS3Output
impl Clone for DescribeLocationS3Output
source§fn clone(&self) -> DescribeLocationS3Output
fn clone(&self) -> DescribeLocationS3Output
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeLocationS3Output
impl Debug for DescribeLocationS3Output
source§impl PartialEq for DescribeLocationS3Output
impl PartialEq for DescribeLocationS3Output
source§fn eq(&self, other: &DescribeLocationS3Output) -> bool
fn eq(&self, other: &DescribeLocationS3Output) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeLocationS3Output
impl RequestId for DescribeLocationS3Output
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeLocationS3Output
Auto Trait Implementations§
impl Freeze for DescribeLocationS3Output
impl RefUnwindSafe for DescribeLocationS3Output
impl Send for DescribeLocationS3Output
impl Sync for DescribeLocationS3Output
impl Unpin for DescribeLocationS3Output
impl UnwindSafe for DescribeLocationS3Output
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
)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