amazonka-backupstorage-2.0: Amazon Backup Storage 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.BackupStorage.PutChunk

Description

Upload chunk.

Synopsis

Creating a Request

data PutChunk Source #

See: newPutChunk smart constructor.

Constructors

PutChunk' 

Fields

Instances

Instances details
ToBody PutChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

ToHeaders PutChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

Methods

toHeaders :: PutChunk -> [Header] #

ToPath PutChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

ToQuery PutChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

AWSRequest PutChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

Associated Types

type AWSResponse PutChunk #

Generic PutChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

Associated Types

type Rep PutChunk :: Type -> Type #

Methods

from :: PutChunk -> Rep PutChunk x #

to :: Rep PutChunk x -> PutChunk #

Show PutChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

type AWSResponse PutChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

type Rep PutChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

newPutChunk Source #

Create a value of PutChunk 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:backupJobId:PutChunk', putChunk_backupJobId - Backup job Id for the in-progress backup.

$sel:uploadId:PutChunk', putChunk_uploadId - Upload Id for the in-progress upload.

$sel:chunkIndex:PutChunk', putChunk_chunkIndex - Describes this chunk's position relative to the other chunks

PutChunk, putChunk_length - Data length

PutChunk, putChunk_checksum - Data checksum

PutChunk, putChunk_checksumAlgorithm - Checksum algorithm

$sel:data':PutChunk', putChunk_data - Data to be uploaded

Request Lenses

putChunk_backupJobId :: Lens' PutChunk Text Source #

Backup job Id for the in-progress backup.

putChunk_uploadId :: Lens' PutChunk Text Source #

Upload Id for the in-progress upload.

putChunk_chunkIndex :: Lens' PutChunk Integer Source #

Describes this chunk's position relative to the other chunks

Destructuring the Response

data PutChunkResponse Source #

See: newPutChunkResponse smart constructor.

Constructors

PutChunkResponse' 

Fields

Instances

Instances details
Generic PutChunkResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

Associated Types

type Rep PutChunkResponse :: Type -> Type #

Read PutChunkResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

Show PutChunkResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

NFData PutChunkResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

Methods

rnf :: PutChunkResponse -> () #

Eq PutChunkResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

type Rep PutChunkResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.PutChunk

type Rep PutChunkResponse = D1 ('MetaData "PutChunkResponse" "Amazonka.BackupStorage.PutChunk" "amazonka-backupstorage-2.0-LZ4MZsHhisz8sYMq4uJ5tw" 'False) (C1 ('MetaCons "PutChunkResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "chunkChecksum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "chunkChecksumAlgorithm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataChecksumAlgorithm))))

newPutChunkResponse Source #

Create a value of PutChunkResponse 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:httpStatus:PutChunkResponse', putChunkResponse_httpStatus - The response's http status code.

$sel:chunkChecksum:PutChunkResponse', putChunkResponse_chunkChecksum - Chunk checksum

$sel:chunkChecksumAlgorithm:PutChunkResponse', putChunkResponse_chunkChecksumAlgorithm - Checksum algorithm

Response Lenses

putChunkResponse_httpStatus :: Lens' PutChunkResponse Int Source #

The response's http status code.