blib/lib/Paws/S3/AbortMultipartUpload.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/Route53Domains/ListDomainsResponse.pm ↑ Summary blib/lib/Paws/S3/AbortMultipartUploadOutput.pm »
1  
2 package Paws::S3::AbortMultipartUpload;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has Bucket => (is => 'ro', isa => 'Str', uri_name => 'Bucket', traits => ['ParamInURI'], required => 1);
5 1 has ExpectedBucketOwner => (is => 'ro', isa => 'Str', header_name => 'x-amz-expected-bucket-owner', traits => ['ParamInHeader']);
6 1 has Key => (is => 'ro', isa => 'Str', uri_name => 'Key', traits => ['ParamInURI'], required => 1);
7 1 has RequestPayer => (is => 'ro', isa => 'Str', header_name => 'x-amz-request-payer', traits => ['ParamInHeader']);
8 1 has UploadId => (is => 'ro', isa => 'Str', query_name => 'uploadId', traits => ['ParamInQuery'], required => 1);
9  
10  
11 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'AbortMultipartUpload');
14 1 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/{Bucket}/{Key+}');
15 1 class_has _api_method => (isa => 'Str', is => 'ro', default => 'DELETE');
16 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::S3::AbortMultipartUploadOutput');
17 1 class_has _result_key => (isa => 'Str', is => 'ro');
18
19
20 1 1;
21  
22 ### main pod documentation begin ###
23  
24 =head1 NAME
25  
26 Paws::S3::AbortMultipartUpload - Arguments for method AbortMultipartUpload on L<Paws::S3>
27  
28 =head1 DESCRIPTION
29  
30 This class represents the parameters used for calling the method AbortMultipartUpload on the
31 L<Amazon Simple Storage Service|Paws::S3> service. Use the attributes of this class
32 as arguments to method AbortMultipartUpload.
33  
34 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AbortMultipartUpload.
35  
36 =head1 SYNOPSIS
37  
38 my $s3 = Paws->service('S3');
39 # To abort a multipart upload
40 # The following example aborts a multipart upload.
41 my $AbortMultipartUploadOutput = $s3->AbortMultipartUpload(
42 'Bucket' => 'examplebucket',
43 'Key' => 'bigobject',
44 'UploadId' =>
45 'xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--'
46 );
47  
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/s3/AbortMultipartUpload>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 B<REQUIRED> Bucket => Str
56  
57 The bucket name to which the upload was taking place.
58  
59 When using this action with an access point, you must direct requests
60 to the access point hostname. The access point hostname takes the form
61 I<AccessPointName>-I<AccountId>.s3-accesspoint.I<Region>.amazonaws.com.
62 When using this action with an access point through the AWS SDKs, you
63 provide the access point ARN in place of the bucket name. For more
64 information about access point ARNs, see Using access points
65 (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html)
66 in the I<Amazon S3 User Guide>.
67  
68 When using this action with Amazon S3 on Outposts, you must direct
69 requests to the S3 on Outposts hostname. The S3 on Outposts hostname
70 takes the form
71 I<AccessPointName>-I<AccountId>.I<outpostID>.s3-outposts.I<Region>.amazonaws.com.
72 When using this action using S3 on Outposts through the AWS SDKs, you
73 provide the Outposts bucket ARN in place of the bucket name. For more
74 information about S3 on Outposts ARNs, see Using S3 on Outposts
75 (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html)
76 in the I<Amazon S3 User Guide>.
77  
78  
79  
80 =head2 ExpectedBucketOwner => Str
81  
82 The account ID of the expected bucket owner. If the bucket is owned by
83 a different account, the request will fail with an HTTP C<403 (Access
84 Denied)> error.
85  
86  
87  
88 =head2 B<REQUIRED> Key => Str
89  
90 Key of the object for which the multipart upload was initiated.
91  
92  
93  
94 =head2 RequestPayer => Str
95  
96  
97  
98 Valid values are: C<"requester">
99  
100 =head2 B<REQUIRED> UploadId => Str
101  
102 Upload ID that identifies the multipart upload.
103  
104  
105  
106  
107 =head1 SEE ALSO
108  
109 This class forms part of L<Paws>, documenting arguments for method AbortMultipartUpload in L<Paws::S3>
110  
111 =head1 BUGS and CONTRIBUTIONS
112  
113 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
114  
115 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
116  
117 =cut
118  
« blib/lib/Paws/Route53Domains/ListDomainsResponse.pm ↑ Summary blib/lib/Paws/S3/AbortMultipartUploadOutput.pm »