#[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 Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.
location_uri: Option<String>
The URL of the Amazon S3 location that was described.
s3_storage_class: Option<S3StorageClass>
The Amazon S3 storage class that you chose to store your files in when this location is used as a task destination. For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
s3_config: Option<S3Config>
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role used to access an Amazon S3 bucket.
For detailed information about using such a role, see Creating a Location for Amazon S3 in the DataSync User Guide.
agent_arns: Option<Vec<String>>
If you are using DataSync on an Amazon Web Services Outpost, the Amazon Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.
creation_time: Option<DateTime>
The time that the Amazon S3 bucket location was created.
Implementations§
source§impl DescribeLocationS3Output
impl DescribeLocationS3Output
sourcepub fn location_arn(&self) -> Option<&str>
pub fn location_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.
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>
The Amazon S3 storage class that you chose to store your files in when this location is used as a task destination. For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
sourcepub fn s3_config(&self) -> Option<&S3Config>
pub fn s3_config(&self) -> Option<&S3Config>
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role used to access an Amazon S3 bucket.
For detailed information about using such a role, see Creating a Location for Amazon S3 in the DataSync User Guide.
sourcepub fn agent_arns(&self) -> Option<&[String]>
pub fn agent_arns(&self) -> Option<&[String]>
If you are using DataSync on an Amazon Web Services Outpost, the Amazon Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time that the Amazon S3 bucket 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.