libZSservicesZSamazonka-datasyncZSamazonka-datasync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DataSync.Types.LocationListEntry

Description

 
Synopsis

Documentation

data LocationListEntry Source #

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.

See: newLocationListEntry smart constructor.

Constructors

LocationListEntry' 

Fields

  • locationUri :: Maybe Text

    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://GLOBAL_ID/SUBDIR.

    TYPE designates the type of location. Valid values: NFS | EFS | S3.

    GLOBAL_ID 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.

  • locationArn :: Maybe Text

    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.

Instances

Instances details
Eq LocationListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationListEntry

Read LocationListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationListEntry

Show LocationListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationListEntry

Generic LocationListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationListEntry

Associated Types

type Rep LocationListEntry :: Type -> Type #

NFData LocationListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationListEntry

Methods

rnf :: LocationListEntry -> () #

Hashable LocationListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationListEntry

FromJSON LocationListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationListEntry

type Rep LocationListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.LocationListEntry

type Rep LocationListEntry = D1 ('MetaData "LocationListEntry" "Amazonka.DataSync.Types.LocationListEntry" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "LocationListEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "locationUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "locationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newLocationListEntry :: LocationListEntry Source #

Create a value of LocationListEntry with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:locationUri:LocationListEntry', locationListEntry_locationUri - 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://GLOBAL_ID/SUBDIR.

TYPE designates the type of location. Valid values: NFS | EFS | S3.

GLOBAL_ID 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.

$sel:locationArn:LocationListEntry', locationListEntry_locationArn - 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.

locationListEntry_locationUri :: Lens' LocationListEntry (Maybe Text) Source #

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://GLOBAL_ID/SUBDIR.

TYPE designates the type of location. Valid values: NFS | EFS | S3.

GLOBAL_ID 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.

locationListEntry_locationArn :: Lens' LocationListEntry (Maybe Text) Source #

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.