libZSservicesZSamazonka-transferZSamazonka-transfer
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.Transfer.Types.HomeDirectoryMapEntry

Description

 
Synopsis

Documentation

data HomeDirectoryMapEntry Source #

Represents an object that contains entries and targets for HomeDirectoryMappings.

The following is an Entry and Target pair example for chroot.

[ { "Entry:": "/", "Target": "/bucket_name/home/mydirectory" } ]

If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place holders for your directory. If using the CLI, use the s3api or efsapi call instead of s3 or efs so you can use the put-object operation. For example, you use the following: aws s3api put-object --bucket bucketname --key path/to/folder/. Make sure that the end of the key name ends in a / for it to be considered a folder.

See: newHomeDirectoryMapEntry smart constructor.

Constructors

HomeDirectoryMapEntry' 

Fields

  • entry :: Text

    Represents an entry for HomeDirectoryMappings.

  • target :: Text

    Represents the map target that is used in a HomeDirectorymapEntry.

Instances

Instances details
Eq HomeDirectoryMapEntry Source # 
Instance details

Defined in Amazonka.Transfer.Types.HomeDirectoryMapEntry

Read HomeDirectoryMapEntry Source # 
Instance details

Defined in Amazonka.Transfer.Types.HomeDirectoryMapEntry

Show HomeDirectoryMapEntry Source # 
Instance details

Defined in Amazonka.Transfer.Types.HomeDirectoryMapEntry

Generic HomeDirectoryMapEntry Source # 
Instance details

Defined in Amazonka.Transfer.Types.HomeDirectoryMapEntry

Associated Types

type Rep HomeDirectoryMapEntry :: Type -> Type #

NFData HomeDirectoryMapEntry Source # 
Instance details

Defined in Amazonka.Transfer.Types.HomeDirectoryMapEntry

Methods

rnf :: HomeDirectoryMapEntry -> () #

Hashable HomeDirectoryMapEntry Source # 
Instance details

Defined in Amazonka.Transfer.Types.HomeDirectoryMapEntry

ToJSON HomeDirectoryMapEntry Source # 
Instance details

Defined in Amazonka.Transfer.Types.HomeDirectoryMapEntry

FromJSON HomeDirectoryMapEntry Source # 
Instance details

Defined in Amazonka.Transfer.Types.HomeDirectoryMapEntry

type Rep HomeDirectoryMapEntry Source # 
Instance details

Defined in Amazonka.Transfer.Types.HomeDirectoryMapEntry

type Rep HomeDirectoryMapEntry = D1 ('MetaData "HomeDirectoryMapEntry" "Amazonka.Transfer.Types.HomeDirectoryMapEntry" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "HomeDirectoryMapEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "entry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newHomeDirectoryMapEntry Source #

Create a value of HomeDirectoryMapEntry 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:entry:HomeDirectoryMapEntry', homeDirectoryMapEntry_entry - Represents an entry for HomeDirectoryMappings.

$sel:target:HomeDirectoryMapEntry', homeDirectoryMapEntry_target - Represents the map target that is used in a HomeDirectorymapEntry.

homeDirectoryMapEntry_entry :: Lens' HomeDirectoryMapEntry Text Source #

Represents an entry for HomeDirectoryMappings.

homeDirectoryMapEntry_target :: Lens' HomeDirectoryMapEntry Text Source #

Represents the map target that is used in a HomeDirectorymapEntry.