Struct aws_sdk_datasync::types::ReportDestinationS3
source · #[non_exhaustive]pub struct ReportDestinationS3 {
pub subdirectory: Option<String>,
pub s3_bucket_arn: String,
pub bucket_access_role_arn: String,
}
Expand description
Specifies the Amazon S3 bucket where DataSync uploads your task report.
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.subdirectory: Option<String>
Specifies a bucket prefix for your report.
s3_bucket_arn: String
Specifies the ARN of the S3 bucket where DataSync uploads your report.
bucket_access_role_arn: String
Specifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync to upload a task report to your S3 bucket. For more information, see Allowing DataSync to upload a task report to an Amazon S3 bucket.
Implementations§
source§impl ReportDestinationS3
impl ReportDestinationS3
sourcepub fn subdirectory(&self) -> Option<&str>
pub fn subdirectory(&self) -> Option<&str>
Specifies a bucket prefix for your report.
sourcepub fn s3_bucket_arn(&self) -> &str
pub fn s3_bucket_arn(&self) -> &str
Specifies the ARN of the S3 bucket where DataSync uploads your report.
sourcepub fn bucket_access_role_arn(&self) -> &str
pub fn bucket_access_role_arn(&self) -> &str
Specifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync to upload a task report to your S3 bucket. For more information, see Allowing DataSync to upload a task report to an Amazon S3 bucket.
source§impl ReportDestinationS3
impl ReportDestinationS3
sourcepub fn builder() -> ReportDestinationS3Builder
pub fn builder() -> ReportDestinationS3Builder
Creates a new builder-style object to manufacture ReportDestinationS3
.
Trait Implementations§
source§impl Clone for ReportDestinationS3
impl Clone for ReportDestinationS3
source§fn clone(&self) -> ReportDestinationS3
fn clone(&self) -> ReportDestinationS3
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReportDestinationS3
impl Debug for ReportDestinationS3
source§impl PartialEq for ReportDestinationS3
impl PartialEq for ReportDestinationS3
source§fn eq(&self, other: &ReportDestinationS3) -> bool
fn eq(&self, other: &ReportDestinationS3) -> bool
self
and other
values to be equal, and is used
by ==
.