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

Description

 
Synopsis

Documentation

data S3FileLocation Source #

Specifies the details for the file location for the file being used in the workflow. Only applicable if you are using S3 storage.

See: newS3FileLocation smart constructor.

Constructors

S3FileLocation' 

Fields

  • versionId :: Maybe Text

    Specifies the file version.

  • etag :: Maybe Text

    The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.

  • bucket :: Maybe Text

    Specifies the S3 bucket that contains the file being used.

  • key :: Maybe Text

    The name assigned to the file when it was created in S3. You use the object key to retrieve the object.

Instances

Instances details
Eq S3FileLocation Source # 
Instance details

Defined in Amazonka.Transfer.Types.S3FileLocation

Read S3FileLocation Source # 
Instance details

Defined in Amazonka.Transfer.Types.S3FileLocation

Show S3FileLocation Source # 
Instance details

Defined in Amazonka.Transfer.Types.S3FileLocation

Generic S3FileLocation Source # 
Instance details

Defined in Amazonka.Transfer.Types.S3FileLocation

Associated Types

type Rep S3FileLocation :: Type -> Type #

NFData S3FileLocation Source # 
Instance details

Defined in Amazonka.Transfer.Types.S3FileLocation

Methods

rnf :: S3FileLocation -> () #

Hashable S3FileLocation Source # 
Instance details

Defined in Amazonka.Transfer.Types.S3FileLocation

FromJSON S3FileLocation Source # 
Instance details

Defined in Amazonka.Transfer.Types.S3FileLocation

type Rep S3FileLocation Source # 
Instance details

Defined in Amazonka.Transfer.Types.S3FileLocation

type Rep S3FileLocation = D1 ('MetaData "S3FileLocation" "Amazonka.Transfer.Types.S3FileLocation" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "S3FileLocation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "etag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newS3FileLocation :: S3FileLocation Source #

Create a value of S3FileLocation 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:versionId:S3FileLocation', s3FileLocation_versionId - Specifies the file version.

$sel:etag:S3FileLocation', s3FileLocation_etag - The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.

$sel:bucket:S3FileLocation', s3FileLocation_bucket - Specifies the S3 bucket that contains the file being used.

$sel:key:S3FileLocation', s3FileLocation_key - The name assigned to the file when it was created in S3. You use the object key to retrieve the object.

s3FileLocation_etag :: Lens' S3FileLocation (Maybe Text) Source #

The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.

s3FileLocation_bucket :: Lens' S3FileLocation (Maybe Text) Source #

Specifies the S3 bucket that contains the file being used.

s3FileLocation_key :: Lens' S3FileLocation (Maybe Text) Source #

The name assigned to the file when it was created in S3. You use the object key to retrieve the object.