blib/lib/Paws/Proton/ListEnvironmentAccountConnections.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::Proton::ListEnvironmentAccountConnections;
3 use Moose;
4 has EnvironmentName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'environmentName' );
5 has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
6 has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
7 has RequestedBy => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'requestedBy' , required => 1);
8 has Statuses => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'statuses' );
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListEnvironmentAccountConnections');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Proton::ListEnvironmentAccountConnectionsOutput');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Proton::ListEnvironmentAccountConnections - Arguments for method ListEnvironmentAccountConnections on L<Paws::Proton>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method ListEnvironmentAccountConnections on the
26 L<AWS Proton|Paws::Proton> service. Use the attributes of this class
27 as arguments to method ListEnvironmentAccountConnections.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListEnvironmentAccountConnections.
30  
31 =head1 SYNOPSIS
32  
33 my $proton = Paws->service('Proton');
34 my $ListEnvironmentAccountConnectionsOutput =
35 $proton->ListEnvironmentAccountConnections(
36 RequestedBy => 'MANAGEMENT_ACCOUNT',
37 EnvironmentName => 'MyResourceName', # OPTIONAL
38 MaxResults => 1, # OPTIONAL
39 NextToken => 'MyNextToken', # OPTIONAL
40 Statuses => [
41 'PENDING', ... # values: PENDING, CONNECTED, REJECTED
42 ], # OPTIONAL
43 );
44  
45 # Results:
46 my $EnvironmentAccountConnections =
47 $ListEnvironmentAccountConnectionsOutput->EnvironmentAccountConnections;
48 my $NextToken = $ListEnvironmentAccountConnectionsOutput->NextToken;
49  
50 # Returns a L<Paws::Proton::ListEnvironmentAccountConnectionsOutput> object.
51  
52 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.
53 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/proton/ListEnvironmentAccountConnections>
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 EnvironmentName => Str
59  
60 The environment name that's associated with each listed environment
61 account connection.
62  
63  
64  
65 =head2 MaxResults => Int
66  
67 The maximum number of environment account connections to list.
68  
69  
70  
71 =head2 NextToken => Str
72  
73 A token to indicate the location of the next environment account
74 connection in the array of environment account connections, after the
75 list of environment account connections that was previously requested.
76  
77  
78  
79 =head2 B<REQUIRED> RequestedBy => Str
80  
81 The type of account making the C<ListEnvironmentAccountConnections>
82 request.
83  
84 Valid values are: C<"MANAGEMENT_ACCOUNT">, C<"ENVIRONMENT_ACCOUNT">
85  
86 =head2 Statuses => ArrayRef[Str|Undef]
87  
88 The status details for each listed environment account connection.
89  
90  
91  
92  
93 =head1 SEE ALSO
94  
95 This class forms part of L<Paws>, documenting arguments for method ListEnvironmentAccountConnections in L<Paws::Proton>
96  
97 =head1 BUGS and CONTRIBUTIONS
98  
99 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
100  
101 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
102  
103 =cut
104