Struct aws_sdk_snowball::types::S3Resource
source · #[non_exhaustive]pub struct S3Resource {
pub bucket_arn: Option<String>,
pub key_range: Option<KeyRange>,
pub target_on_device_services: Option<Vec<TargetOnDeviceService>>,
}
Expand description
Each S3Resource
object represents an Amazon S3 bucket that your transferred data will be exported from or imported into. For export jobs, this object can have an optional KeyRange
value. The length of the range is defined at job creation, and has either an inclusive BeginMarker
, an inclusive EndMarker
, or both. Ranges are UTF-8 binary sorted.
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.bucket_arn: Option<String>
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
key_range: Option<KeyRange>
For export jobs, you can provide an optional KeyRange
within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive BeginMarker
, an inclusive EndMarker
, or both. Ranges are UTF-8 binary sorted.
target_on_device_services: Option<Vec<TargetOnDeviceService>>
Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).
Implementations§
source§impl S3Resource
impl S3Resource
sourcepub fn bucket_arn(&self) -> Option<&str>
pub fn bucket_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
sourcepub fn key_range(&self) -> Option<&KeyRange>
pub fn key_range(&self) -> Option<&KeyRange>
For export jobs, you can provide an optional KeyRange
within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive BeginMarker
, an inclusive EndMarker
, or both. Ranges are UTF-8 binary sorted.
sourcepub fn target_on_device_services(&self) -> &[TargetOnDeviceService]
pub fn target_on_device_services(&self) -> &[TargetOnDeviceService]
Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .target_on_device_services.is_none()
.
source§impl S3Resource
impl S3Resource
sourcepub fn builder() -> S3ResourceBuilder
pub fn builder() -> S3ResourceBuilder
Creates a new builder-style object to manufacture S3Resource
.
Trait Implementations§
source§impl Clone for S3Resource
impl Clone for S3Resource
source§fn clone(&self) -> S3Resource
fn clone(&self) -> S3Resource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3Resource
impl Debug for S3Resource
source§impl PartialEq for S3Resource
impl PartialEq for S3Resource
source§fn eq(&self, other: &S3Resource) -> bool
fn eq(&self, other: &S3Resource) -> bool
self
and other
values to be equal, and is used
by ==
.