blib/lib/Paws/S3Control/ListRegionalBuckets.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::S3Control::ListRegionalBuckets;
3 use Moose;
4 has AccountId => (is => 'ro', isa => 'Str', header_name => 'x-amz-account-id', traits => ['ParamInHeader'], required => 1);
5 has MaxResults => (is => 'ro', isa => 'Int', query_name => 'maxResults', traits => ['ParamInQuery']);
6 has NextToken => (is => 'ro', isa => 'Str', query_name => 'nextToken', traits => ['ParamInQuery']);
7 has OutpostId => (is => 'ro', isa => 'Str', header_name => 'x-amz-outpost-id', traits => ['ParamInHeader']);
8  
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListRegionalBuckets');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v20180820/bucket');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::S3Control::ListRegionalBucketsResult');
16 class_has _result_key => (isa => 'Str', is => 'ro');
17
18
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::S3Control::ListRegionalBuckets - Arguments for method ListRegionalBuckets on L<Paws::S3Control>
26  
27 =head1 DESCRIPTION
28  
29 This class represents the parameters used for calling the method ListRegionalBuckets on the
30 L<AWS S3 Control|Paws::S3Control> service. Use the attributes of this class
31 as arguments to method ListRegionalBuckets.
32  
33 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListRegionalBuckets.
34  
35 =head1 SYNOPSIS
36  
37 my $s3-control = Paws->service('S3Control');
38 my $ListRegionalBucketsResult = $s3 -control->ListRegionalBuckets(
39 AccountId => 'MyAccountId',
40 MaxResults => 1, # OPTIONAL
41 NextToken => 'MyNonEmptyMaxLength1024String', # OPTIONAL
42 OutpostId => 'MyNonEmptyMaxLength64String', # OPTIONAL
43 );
44  
45 # Results:
46 my $NextToken = $ListRegionalBucketsResult->NextToken;
47 my $RegionalBucketList = $ListRegionalBucketsResult->RegionalBucketList;
48  
49 # Returns a L<Paws::S3Control::ListRegionalBucketsResult> object.
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/s3-control/ListRegionalBuckets>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 B<REQUIRED> AccountId => Str
58  
59 The AWS account ID of the Outposts bucket.
60  
61  
62  
63 =head2 MaxResults => Int
64  
65  
66  
67  
68  
69 =head2 NextToken => Str
70  
71  
72  
73  
74  
75 =head2 OutpostId => Str
76  
77 The ID of the AWS Outposts.
78  
79 This is required by Amazon S3 on Outposts buckets.
80  
81  
82  
83  
84 =head1 SEE ALSO
85  
86 This class forms part of L<Paws>, documenting arguments for method ListRegionalBuckets in L<Paws::S3Control>
87  
88 =head1 BUGS and CONTRIBUTIONS
89  
90 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
91  
92 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
93  
94 =cut
95