amazonka-snowball-2.0: Amazon Import/Export Snowball SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 Amazon Web Services. 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

  • bytesTransferred :: Maybe Integer

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

  • objectsTransferred :: Maybe Integer

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

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

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

Instances

Instances details
FromJSON 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 #

Read DataTransfer Source # 
Instance details

Defined in Amazonka.Snowball.Types.DataTransfer

Show DataTransfer Source # 
Instance details

Defined in Amazonka.Snowball.Types.DataTransfer

NFData DataTransfer Source # 
Instance details

Defined in Amazonka.Snowball.Types.DataTransfer

Methods

rnf :: DataTransfer -> () #

Eq DataTransfer Source # 
Instance details

Defined in Amazonka.Snowball.Types.DataTransfer

Hashable 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" "amazonka-snowball-2.0-6vnXQdr1CFv4zLyXDWX7zH" 'False) (C1 ('MetaCons "DataTransfer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bytesTransferred") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "objectsTransferred") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "totalBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "totalObjects") '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:bytesTransferred:DataTransfer', dataTransfer_bytesTransferred - The number of bytes transferred between a Snow device and Amazon S3.

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

$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: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.

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

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

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

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

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