blib/lib/Paws/Glacier/AbortMultipartUpload.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/Exception.pm ↑ Summary blib/lib/Paws/Glacier/AbortVaultLock.pm »
1  
2 package Paws::Glacier::AbortMultipartUpload;
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 UploadId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'uploadId', required => 1);
6 1 has VaultName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'vaultName', required => 1);
7  
8 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'AbortMultipartUpload');
11 1 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}');
12 1 class_has _api_method => (isa => 'Str', is => 'ro', default => 'DELETE');
13 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
14 1 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Glacier::AbortMultipartUpload - Arguments for method AbortMultipartUpload on L<Paws::Glacier>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method AbortMultipartUpload on the
25 L<Amazon Glacier|Paws::Glacier> service. Use the attributes of this class
26 as arguments to method AbortMultipartUpload.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AbortMultipartUpload.
29  
30 =head1 SYNOPSIS
31  
32 my $glacier = Paws->service('Glacier');
33 # To abort a multipart upload identified by the upload ID
34 # The example deletes an in-progress multipart upload to a vault named my-vault:
35 $glacier->AbortMultipartUpload(
36 'AccountId' => '-',
37 'UploadId' =>
38 '19gaRezEXAMPLES6Ry5YYdqthHOC_kGRCT03L9yetr220UmPtBYKk-OssZtLqyFu7sY1_lR7vgFuJV6NtcV5zpsJ',
39 'VaultName' => 'my-vault'
40 );
41  
42  
43 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.
44 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/glacier/AbortMultipartUpload>
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 B<REQUIRED> AccountId => Str
50  
51 The C<AccountId> value is the AWS account ID of the account that owns
52 the vault. You can either specify an AWS account ID or optionally a
53 single 'C<->' (hyphen), in which case Amazon S3 Glacier uses the AWS
54 account ID associated with the credentials used to sign the request. If
55 you use an account ID, do not include any hyphens ('-') in the ID.
56  
57  
58  
59 =head2 B<REQUIRED> UploadId => Str
60  
61 The upload ID of the multipart upload to delete.
62  
63  
64  
65 =head2 B<REQUIRED> VaultName => Str
66  
67 The name of the vault.
68  
69  
70  
71  
72 =head1 SEE ALSO
73  
74 This class forms part of L<Paws>, documenting arguments for method AbortMultipartUpload in L<Paws::Glacier>
75  
76 =head1 BUGS and CONTRIBUTIONS
77  
78 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
79  
80 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
81  
82 =cut
83  
« blib/lib/Paws/Exception.pm ↑ Summary blib/lib/Paws/Glacier/AbortVaultLock.pm »