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: StringSpecifies the ARN of the S3 bucket where DataSync uploads your report.
bucket_access_role_arn: StringSpecifies 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 ==.impl StructuralPartialEq for ReportDestinationS3
Auto Trait Implementations§
impl Freeze for ReportDestinationS3
impl RefUnwindSafe for ReportDestinationS3
impl Send for ReportDestinationS3
impl Sync for ReportDestinationS3
impl Unpin for ReportDestinationS3
impl UnwindSafe for ReportDestinationS3
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> 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