libZSservicesZSamazonka-ebsZSamazonka-ebs
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.EBS.ListSnapshotBlocks

Description

Returns information about the blocks in an Amazon Elastic Block Store snapshot.

Synopsis

Creating a Request

data ListSnapshotBlocks Source #

See: newListSnapshotBlocks smart constructor.

Constructors

ListSnapshotBlocks' 

Fields

Instances

Instances details
Eq ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Read ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Show ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Generic ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Associated Types

type Rep ListSnapshotBlocks :: Type -> Type #

NFData ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Methods

rnf :: ListSnapshotBlocks -> () #

Hashable ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

AWSRequest ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Associated Types

type AWSResponse ListSnapshotBlocks #

ToHeaders ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

ToPath ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

ToQuery ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

type Rep ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

type Rep ListSnapshotBlocks = D1 ('MetaData "ListSnapshotBlocks" "Amazonka.EBS.ListSnapshotBlocks" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "ListSnapshotBlocks'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startingBlockIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "snapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

newListSnapshotBlocks Source #

Create a value of ListSnapshotBlocks 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:nextToken:ListSnapshotBlocks', listSnapshotBlocks_nextToken - The token to request the next page of results.

$sel:startingBlockIndex:ListSnapshotBlocks', listSnapshotBlocks_startingBlockIndex - The block index from which the list should start. The list in the response will start from this block index or the next valid block index in the snapshot.

$sel:maxResults:ListSnapshotBlocks', listSnapshotBlocks_maxResults - The number of results to return.

$sel:snapshotId:ListSnapshotBlocks', listSnapshotBlocks_snapshotId - The ID of the snapshot from which to get block indexes and block tokens.

Request Lenses

listSnapshotBlocks_nextToken :: Lens' ListSnapshotBlocks (Maybe Text) Source #

The token to request the next page of results.

listSnapshotBlocks_startingBlockIndex :: Lens' ListSnapshotBlocks (Maybe Natural) Source #

The block index from which the list should start. The list in the response will start from this block index or the next valid block index in the snapshot.

listSnapshotBlocks_snapshotId :: Lens' ListSnapshotBlocks Text Source #

The ID of the snapshot from which to get block indexes and block tokens.

Destructuring the Response

data ListSnapshotBlocksResponse Source #

See: newListSnapshotBlocksResponse smart constructor.

Constructors

ListSnapshotBlocksResponse' 

Fields

Instances

Instances details
Eq ListSnapshotBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Show ListSnapshotBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Generic ListSnapshotBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Associated Types

type Rep ListSnapshotBlocksResponse :: Type -> Type #

NFData ListSnapshotBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

type Rep ListSnapshotBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

type Rep ListSnapshotBlocksResponse = D1 ('MetaData "ListSnapshotBlocksResponse" "Amazonka.EBS.ListSnapshotBlocks" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "ListSnapshotBlocksResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "blockSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "blocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive [Block]))) :*: S1 ('MetaSel ('Just "expiryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "volumeSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newListSnapshotBlocksResponse Source #

Create a value of ListSnapshotBlocksResponse 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:blockSize:ListSnapshotBlocksResponse', listSnapshotBlocksResponse_blockSize - The size of the blocks in the snapshot, in bytes.

$sel:blocks:ListSnapshotBlocksResponse', listSnapshotBlocksResponse_blocks - An array of objects containing information about the blocks.

$sel:expiryTime:ListSnapshotBlocksResponse', listSnapshotBlocksResponse_expiryTime - The time when the BlockToken expires.

$sel:volumeSize:ListSnapshotBlocksResponse', listSnapshotBlocksResponse_volumeSize - The size of the volume in GB.

$sel:nextToken:ListSnapshotBlocks', listSnapshotBlocksResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:ListSnapshotBlocksResponse', listSnapshotBlocksResponse_httpStatus - The response's http status code.

Response Lenses

listSnapshotBlocksResponse_blockSize :: Lens' ListSnapshotBlocksResponse (Maybe Int) Source #

The size of the blocks in the snapshot, in bytes.

listSnapshotBlocksResponse_blocks :: Lens' ListSnapshotBlocksResponse (Maybe [Block]) Source #

An array of objects containing information about the blocks.

listSnapshotBlocksResponse_nextToken :: Lens' ListSnapshotBlocksResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.