Struct rusoto_datasync::LocationListEntry [−][src]
pub struct LocationListEntry { pub location_arn: Option<String>, pub location_uri: Option<String>, }
Expand description
Represents a single entry in a list of locations. LocationListEntry
returns an array that contains a list of locations when the ListLocations operation is called.
Fields
location_arn: Option<String>
The Amazon Resource Name (ARN) of the location. For Network File System (NFS) or Amazon EFS, the location is the export path. For Amazon S3, the location is the prefix path that you want to mount and use as the root of the location.
location_uri: Option<String>
Represents a list of URLs of a location. LocationUri
returns an array that contains a list of locations when the ListLocations operation is called.
Format: TYPE://GLOBALID/SUBDIR
.
TYPE designates the type of location. Valid values: NFS | EFS | S3.
GLOBALID is the globally unique identifier of the resource that backs the location. An example for EFS is us-east-2.fs-abcd1234
. An example for Amazon S3 is the bucket name, such as myBucket
. An example for NFS is a valid IPv4 address or a host name compliant with Domain Name Service (DNS).
SUBDIR is a valid file system path, delimited by forward slashes as is the *nix convention. For NFS and Amazon EFS, it's the export path to mount the location. For Amazon S3, it's the prefix path that you mount to and treat as the root of the location.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LocationListEntry
impl Send for LocationListEntry
impl Sync for LocationListEntry
impl Unpin for LocationListEntry
impl UnwindSafe for LocationListEntry
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self