| 1 | |||
| 2 | package Paws::Glacier::ListMultipartUploads; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has AccountId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'accountId', required => 1); | |
| 5 | 1 | has Limit => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'limit'); | |
| 6 | 1 | has Marker => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'marker'); | |
| 7 | 1 | has VaultName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'vaultName', required => 1); | |
| 8 | |||
| 9 | 1 | ▶ | use MooseX::ClassAttribute; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 1 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListMultipartUploads'); | |
| 12 | 1 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/{accountId}/vaults/{vaultName}/multipart-uploads'); | |
| 13 | 1 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | |
| 14 | 1 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Glacier::ListMultipartUploadsOutput'); | |
| 15 | 1 | 1; | |
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::Glacier::ListMultipartUploads - Arguments for method ListMultipartUploads on L<Paws::Glacier> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method ListMultipartUploads on the | ||
| 26 | L<Amazon Glacier|Paws::Glacier> service. Use the attributes of this class | ||
| 27 | as arguments to method ListMultipartUploads. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListMultipartUploads. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $glacier = Paws->service('Glacier'); | ||
| 34 | # To list all the in-progress multipart uploads for a vault | ||
| 35 | # The example lists all the in-progress multipart uploads for the vault named | ||
| 36 | # examplevault. | ||
| 37 | my $ListMultipartUploadsOutput = $glacier->ListMultipartUploads( | ||
| 38 | 'AccountId' => '-', | ||
| 39 | 'VaultName' => 'examplevault' | ||
| 40 | ); | ||
| 41 | |||
| 42 | # Results: | ||
| 43 | my $Marker = $ListMultipartUploadsOutput->Marker; | ||
| 44 | my $UploadsList = $ListMultipartUploadsOutput->UploadsList; | ||
| 45 | |||
| 46 | # Returns a L<Paws::Glacier::ListMultipartUploadsOutput> object. | ||
| 47 | |||
| 48 | 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. | ||
| 49 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/glacier/ListMultipartUploads> | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> AccountId => Str | ||
| 55 | |||
| 56 | The C<AccountId> value is the AWS account ID of the account that owns | ||
| 57 | the vault. You can either specify an AWS account ID or optionally a | ||
| 58 | single 'C<->' (hyphen), in which case Amazon S3 Glacier uses the AWS | ||
| 59 | account ID associated with the credentials used to sign the request. If | ||
| 60 | you use an account ID, do not include any hyphens ('-') in the ID. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 Limit => Str | ||
| 65 | |||
| 66 | Specifies the maximum number of uploads returned in the response body. | ||
| 67 | If this value is not specified, the List Uploads operation returns up | ||
| 68 | to 50 uploads. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 Marker => Str | ||
| 73 | |||
| 74 | An opaque string used for pagination. This value specifies the upload | ||
| 75 | at which the listing of uploads should begin. Get the marker value from | ||
| 76 | a previous List Uploads response. You need only include the marker if | ||
| 77 | you are continuing the pagination of results started in a previous List | ||
| 78 | Uploads request. | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head2 B<REQUIRED> VaultName => Str | ||
| 83 | |||
| 84 | The name of the vault. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head1 SEE ALSO | ||
| 90 | |||
| 91 | This class forms part of L<Paws>, documenting arguments for method ListMultipartUploads in L<Paws::Glacier> | ||
| 92 | |||
| 93 | =head1 BUGS and CONTRIBUTIONS | ||
| 94 | |||
| 95 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 96 | |||
| 97 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 98 | |||
| 99 | =cut | ||
| 100 | |||