libZSservicesZSamazonka-snowballZSamazonka-snowball
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.Snowball.Types.DataTransfer

Description

 
Synopsis

Documentation

data DataTransfer Source #

Defines the real-time status of a Snow device's data transfer while the device is at AWS. This data is only available while a job has a JobState value of InProgress, for both import and export jobs.

See: newDataTransfer smart constructor.

Constructors

DataTransfer' 

Fields

  • totalObjects :: Maybe Integer

    The total number of objects for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.

  • totalBytes :: Maybe Integer

    The total bytes of data for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.

  • objectsTransferred :: Maybe Integer

    The number of objects transferred between a Snow device and Amazon S3.

  • bytesTransferred :: Maybe Integer

    The number of bytes transferred between a Snow device and Amazon S3.

Instances

Instances details
Eq DataTransfer Source # 
Instance details

Defined in Amazonka.Snowball.Types.DataTransfer

Read DataTransfer Source # 
Instance details

Defined in Amazonka.Snowball.Types.DataTransfer

Show DataTransfer Source # 
Instance details

Defined in Amazonka.Snowball.Types.DataTransfer

Generic DataTransfer Source # 
Instance details

Defined in Amazonka.Snowball.Types.DataTransfer

Associated Types

type Rep DataTransfer :: Type -> Type #

NFData DataTransfer Source # 
Instance details

Defined in Amazonka.Snowball.Types.DataTransfer

Methods

rnf :: DataTransfer -> () #

Hashable DataTransfer Source # 
Instance details

Defined in Amazonka.Snowball.Types.DataTransfer

FromJSON DataTransfer Source # 
Instance details

Defined in Amazonka.Snowball.Types.DataTransfer

type Rep DataTransfer Source # 
Instance details

Defined in Amazonka.Snowball.Types.DataTransfer

type Rep DataTransfer = D1 ('MetaData "DataTransfer" "Amazonka.Snowball.Types.DataTransfer" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "DataTransfer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "totalObjects") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "totalBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "objectsTransferred") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "bytesTransferred") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))

newDataTransfer :: DataTransfer Source #

Create a value of DataTransfer 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:totalObjects:DataTransfer', dataTransfer_totalObjects - The total number of objects for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.

$sel:totalBytes:DataTransfer', dataTransfer_totalBytes - The total bytes of data for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.

$sel:objectsTransferred:DataTransfer', dataTransfer_objectsTransferred - The number of objects transferred between a Snow device and Amazon S3.

$sel:bytesTransferred:DataTransfer', dataTransfer_bytesTransferred - The number of bytes transferred between a Snow device and Amazon S3.

dataTransfer_totalObjects :: Lens' DataTransfer (Maybe Integer) Source #

The total number of objects for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.

dataTransfer_totalBytes :: Lens' DataTransfer (Maybe Integer) Source #

The total bytes of data for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.

dataTransfer_objectsTransferred :: Lens' DataTransfer (Maybe Integer) Source #

The number of objects transferred between a Snow device and Amazon S3.

dataTransfer_bytesTransferred :: Lens' DataTransfer (Maybe Integer) Source #

The number of bytes transferred between a Snow device and Amazon S3.