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

Description

Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.

Synopsis

Creating a Request

data ListChangedBlocks Source #

See: newListChangedBlocks smart constructor.

Constructors

ListChangedBlocks' 

Fields

  • nextToken :: Maybe Text

    The token to request the next page of results.

  • startingBlockIndex :: Maybe Natural

    The block index from which the comparison should start.

    The list in the response will start from this block index or the next valid block index in the snapshots.

  • firstSnapshotId :: Maybe Text

    The ID of the first snapshot to use for the comparison.

    The FirstSnapshotID parameter must be specified with a SecondSnapshotId parameter; otherwise, an error occurs.

  • maxResults :: Maybe Natural

    The number of results to return.

  • secondSnapshotId :: Text

    The ID of the second snapshot to use for the comparison.

    The SecondSnapshotId parameter must be specified with a FirstSnapshotID parameter; otherwise, an error occurs.

Instances

Instances details
Eq ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Read ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Show ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Generic ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Associated Types

type Rep ListChangedBlocks :: Type -> Type #

NFData ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Methods

rnf :: ListChangedBlocks -> () #

Hashable ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

AWSRequest ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Associated Types

type AWSResponse ListChangedBlocks #

ToHeaders ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

ToPath ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

ToQuery ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

type Rep ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

type Rep ListChangedBlocks = D1 ('MetaData "ListChangedBlocks" "Amazonka.EBS.ListChangedBlocks" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "ListChangedBlocks'" '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 "firstSnapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "secondSnapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

newListChangedBlocks Source #

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

$sel:startingBlockIndex:ListChangedBlocks', listChangedBlocks_startingBlockIndex - The block index from which the comparison should start.

The list in the response will start from this block index or the next valid block index in the snapshots.

$sel:firstSnapshotId:ListChangedBlocks', listChangedBlocks_firstSnapshotId - The ID of the first snapshot to use for the comparison.

The FirstSnapshotID parameter must be specified with a SecondSnapshotId parameter; otherwise, an error occurs.

$sel:maxResults:ListChangedBlocks', listChangedBlocks_maxResults - The number of results to return.

$sel:secondSnapshotId:ListChangedBlocks', listChangedBlocks_secondSnapshotId - The ID of the second snapshot to use for the comparison.

The SecondSnapshotId parameter must be specified with a FirstSnapshotID parameter; otherwise, an error occurs.

Request Lenses

listChangedBlocks_nextToken :: Lens' ListChangedBlocks (Maybe Text) Source #

The token to request the next page of results.

listChangedBlocks_startingBlockIndex :: Lens' ListChangedBlocks (Maybe Natural) Source #

The block index from which the comparison should start.

The list in the response will start from this block index or the next valid block index in the snapshots.

listChangedBlocks_firstSnapshotId :: Lens' ListChangedBlocks (Maybe Text) Source #

The ID of the first snapshot to use for the comparison.

The FirstSnapshotID parameter must be specified with a SecondSnapshotId parameter; otherwise, an error occurs.

listChangedBlocks_secondSnapshotId :: Lens' ListChangedBlocks Text Source #

The ID of the second snapshot to use for the comparison.

The SecondSnapshotId parameter must be specified with a FirstSnapshotID parameter; otherwise, an error occurs.

Destructuring the Response

data ListChangedBlocksResponse Source #

See: newListChangedBlocksResponse smart constructor.

Constructors

ListChangedBlocksResponse' 

Fields

Instances

Instances details
Eq ListChangedBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Show ListChangedBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Generic ListChangedBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Associated Types

type Rep ListChangedBlocksResponse :: Type -> Type #

NFData ListChangedBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

type Rep ListChangedBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

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

newListChangedBlocksResponse Source #

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

$sel:expiryTime:ListChangedBlocksResponse', listChangedBlocksResponse_expiryTime - The time when the BlockToken expires.

$sel:volumeSize:ListChangedBlocksResponse', listChangedBlocksResponse_volumeSize - The size of the volume in GB.

$sel:changedBlocks:ListChangedBlocksResponse', listChangedBlocksResponse_changedBlocks - An array of objects containing information about the changed blocks.

$sel:nextToken:ListChangedBlocks', listChangedBlocksResponse_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:ListChangedBlocksResponse', listChangedBlocksResponse_httpStatus - The response's http status code.

Response Lenses

listChangedBlocksResponse_blockSize :: Lens' ListChangedBlocksResponse (Maybe Int) Source #

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

listChangedBlocksResponse_changedBlocks :: Lens' ListChangedBlocksResponse (Maybe [ChangedBlock]) Source #

An array of objects containing information about the changed blocks.

listChangedBlocksResponse_nextToken :: Lens' ListChangedBlocksResponse (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.