NAME
Paws::Glacier::UploadMultipartPart - Arguments for method UploadMultipartPart on Paws::Glacier
DESCRIPTION
This class represents the parameters used for calling the method UploadMultipartPart on the Amazon Glacier service. Use the attributes of this class as arguments to method UploadMultipartPart.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UploadMultipartPart.
SYNOPSIS
my $glacier = Paws->service('Glacier');
# To upload the first part of an archive
# The example uploads the first 1 MiB (1024 x 1024 bytes) part of an archive.
my $UploadMultipartPartOutput = $glacier->UploadMultipartPart(
'AccountId' => '-',
'Body' => 'part1',
'Checksum' => 'c06f7cd4baacb087002a99a5f48bf953',
'Range' => 'bytes 0-1048575/*',
'UploadId' =>
'19gaRezEXAMPLES6Ry5YYdqthHOC_kGRCT03L9yetr220UmPtBYKk-OssZtLqyFu7sY1_lR7vgFuJV6NtcV5zpsJ',
'VaultName' => 'examplevault'
);
# Results:
my $checksum = $UploadMultipartPartOutput->checksum;
# Returns a L<Paws::Glacier::UploadMultipartPartOutput> 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/glacier/UploadMultipartPart
ATTRIBUTES
REQUIRED AccountId => Str
The AccountId
value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.
Body => Str
The data to upload.
Checksum => Str
The SHA256 tree hash of the data being uploaded.
Range => Str
Identifies the range of bytes in the assembled archive that will be uploaded in this part. Amazon S3 Glacier uses this information to assemble the archive in the proper sequence. The format of this header follows RFC 2616. An example header is Content-Range:bytes 0-4194303/*.
REQUIRED UploadId => Str
The upload ID of the multipart upload.
REQUIRED VaultName => Str
The name of the vault.
SEE ALSO
This class forms part of Paws, documenting arguments for method UploadMultipartPart in Paws::Glacier
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