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

Description

Gets the specified object's chunk.

Synopsis

Creating a Request

data GetChunk Source #

See: newGetChunk smart constructor.

Constructors

GetChunk' 

Fields

Instances

Instances details
ToHeaders GetChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

Methods

toHeaders :: GetChunk -> [Header] #

ToPath GetChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

ToQuery GetChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

AWSRequest GetChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

Associated Types

type AWSResponse GetChunk #

Generic GetChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

Associated Types

type Rep GetChunk :: Type -> Type #

Methods

from :: GetChunk -> Rep GetChunk x #

to :: Rep GetChunk x -> GetChunk #

Read GetChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

Show GetChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

NFData GetChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

Methods

rnf :: GetChunk -> () #

Eq GetChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

Hashable GetChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

Methods

hashWithSalt :: Int -> GetChunk -> Int #

hash :: GetChunk -> Int #

type AWSResponse GetChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

type Rep GetChunk Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

type Rep GetChunk = D1 ('MetaData "GetChunk" "Amazonka.BackupStorage.GetChunk" "amazonka-backupstorage-2.0-LZ4MZsHhisz8sYMq4uJ5tw" 'False) (C1 ('MetaCons "GetChunk'" 'PrefixI 'True) (S1 ('MetaSel ('Just "storageJobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "chunkToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetChunk Source #

Create a value of GetChunk 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:storageJobId:GetChunk', getChunk_storageJobId - Storage job id

GetChunk, getChunk_chunkToken - Chunk token

Request Lenses

Destructuring the Response

data GetChunkResponse Source #

See: newGetChunkResponse smart constructor.

Constructors

GetChunkResponse' 

Fields

Instances

Instances details
Generic GetChunkResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

Associated Types

type Rep GetChunkResponse :: Type -> Type #

Show GetChunkResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

type Rep GetChunkResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.GetChunk

type Rep GetChunkResponse = D1 ('MetaData "GetChunkResponse" "Amazonka.BackupStorage.GetChunk" "amazonka-backupstorage-2.0-LZ4MZsHhisz8sYMq4uJ5tw" 'False) (C1 ('MetaCons "GetChunkResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "length") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "checksum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "checksumAlgorithm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataChecksumAlgorithm) :*: S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseBody)))))

newGetChunkResponse Source #

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

GetChunkResponse, getChunkResponse_length - Data length

GetChunkResponse, getChunkResponse_checksum - Data checksum

GetChunkResponse, getChunkResponse_checksumAlgorithm - Checksum algorithm

$sel:data':GetChunkResponse', getChunkResponse_data - Chunk data

Response Lenses

getChunkResponse_httpStatus :: Lens' GetChunkResponse Int Source #

The response's http status code.