The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::EBS::GetSnapshotBlock - Arguments for method GetSnapshotBlock on Paws::EBS

DESCRIPTION

This class represents the parameters used for calling the method GetSnapshotBlock on the Amazon Elastic Block Store service. Use the attributes of this class as arguments to method GetSnapshotBlock.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetSnapshotBlock.

SYNOPSIS

    my $ebs = Paws->service('EBS');
    my $GetSnapshotBlockResponse = $ebs->GetSnapshotBlock(
      BlockIndex => 1,
      BlockToken => 'MyBlockToken',
      SnapshotId => 'MySnapshotId',

    );

    # Results:
    my $BlockData         = $GetSnapshotBlockResponse->BlockData;
    my $Checksum          = $GetSnapshotBlockResponse->Checksum;
    my $ChecksumAlgorithm = $GetSnapshotBlockResponse->ChecksumAlgorithm;
    my $DataLength        = $GetSnapshotBlockResponse->DataLength;

    # Returns a L<Paws::EBS::GetSnapshotBlockResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/ebs/GetSnapshotBlock

ATTRIBUTES

REQUIRED BlockIndex => Int

The block index of the block from which to get data.

Obtain the BlockIndex by running the ListChangedBlocks or ListSnapshotBlocks operations.

REQUIRED BlockToken => Str

The block token of the block from which to get data.

Obtain the BlockToken by running the ListChangedBlocks or ListSnapshotBlocks operations.

REQUIRED SnapshotId => Str

The ID of the snapshot containing the block from which to get data.

SEE ALSO

This class forms part of Paws, documenting arguments for method GetSnapshotBlock in Paws::EBS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues