Struct aws_sdk_datasync::types::S3ManifestConfig
source · #[non_exhaustive]pub struct S3ManifestConfig {
pub manifest_object_path: String,
pub bucket_access_role_arn: String,
pub s3_bucket_arn: String,
pub manifest_object_version_id: Option<String>,
}
Expand description
Specifies the S3 bucket where you're hosting the manifest that you want DataSync to use. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest.
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.manifest_object_path: String
Specifies the Amazon S3 object key of your manifest. This can include a prefix (for example, prefix/my-manifest.csv
).
bucket_access_role_arn: String
Specifies the Identity and Access Management (IAM) role that allows DataSync to access your manifest. For more information, see Providing DataSync access to your manifest.
s3_bucket_arn: String
Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest.
manifest_object_version_id: Option<String>
Specifies the object version ID of the manifest that you want DataSync to use. If you don't set this, DataSync uses the latest version of the object.
Implementations§
source§impl S3ManifestConfig
impl S3ManifestConfig
sourcepub fn manifest_object_path(&self) -> &str
pub fn manifest_object_path(&self) -> &str
Specifies the Amazon S3 object key of your manifest. This can include a prefix (for example, prefix/my-manifest.csv
).
sourcepub fn bucket_access_role_arn(&self) -> &str
pub fn bucket_access_role_arn(&self) -> &str
Specifies the Identity and Access Management (IAM) role that allows DataSync to access your manifest. For more information, see Providing DataSync access to your manifest.
sourcepub fn s3_bucket_arn(&self) -> &str
pub fn s3_bucket_arn(&self) -> &str
Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest.
sourcepub fn manifest_object_version_id(&self) -> Option<&str>
pub fn manifest_object_version_id(&self) -> Option<&str>
Specifies the object version ID of the manifest that you want DataSync to use. If you don't set this, DataSync uses the latest version of the object.
source§impl S3ManifestConfig
impl S3ManifestConfig
sourcepub fn builder() -> S3ManifestConfigBuilder
pub fn builder() -> S3ManifestConfigBuilder
Creates a new builder-style object to manufacture S3ManifestConfig
.
Trait Implementations§
source§impl Clone for S3ManifestConfig
impl Clone for S3ManifestConfig
source§fn clone(&self) -> S3ManifestConfig
fn clone(&self) -> S3ManifestConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3ManifestConfig
impl Debug for S3ManifestConfig
source§impl PartialEq for S3ManifestConfig
impl PartialEq for S3ManifestConfig
impl StructuralPartialEq for S3ManifestConfig
Auto Trait Implementations§
impl Freeze for S3ManifestConfig
impl RefUnwindSafe for S3ManifestConfig
impl Send for S3ManifestConfig
impl Sync for S3ManifestConfig
impl Unpin for S3ManifestConfig
impl UnwindSafe for S3ManifestConfig
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