blib/lib/Paws/ELBv2/Action.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ELBv2::Action;
3 use Moose;
4 has AuthenticateCognitoConfig => (is => 'ro', isa => 'Paws::ELBv2::AuthenticateCognitoActionConfig');
5 has AuthenticateOidcConfig => (is => 'ro', isa => 'Paws::ELBv2::AuthenticateOidcActionConfig');
6 has FixedResponseConfig => (is => 'ro', isa => 'Paws::ELBv2::FixedResponseActionConfig');
7 has ForwardConfig => (is => 'ro', isa => 'Paws::ELBv2::ForwardActionConfig');
8 has Order => (is => 'ro', isa => 'Int');
9 has RedirectConfig => (is => 'ro', isa => 'Paws::ELBv2::RedirectActionConfig');
10 has TargetGroupArn => (is => 'ro', isa => 'Str');
11 has Type => (is => 'ro', isa => 'Str', required => 1);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::ELBv2::Action
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::ELBv2::Action object:
31  
32 $service_obj->Method(Att1 => { AuthenticateCognitoConfig => $value, ..., Type => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::ELBv2::Action object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->AuthenticateCognitoConfig
40  
41 =head1 DESCRIPTION
42  
43 Information about an action.
44  
45 Each rule must include exactly one of the following types of actions:
46 C<forward>, C<fixed-response>, or C<redirect>, and it must be the last
47 action to be performed.
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 AuthenticateCognitoConfig => L<Paws::ELBv2::AuthenticateCognitoActionConfig>
53  
54 [HTTPS listeners] Information for using Amazon Cognito to authenticate
55 users. Specify only when C<Type> is C<authenticate-cognito>.
56  
57  
58 =head2 AuthenticateOidcConfig => L<Paws::ELBv2::AuthenticateOidcActionConfig>
59  
60 [HTTPS listeners] Information about an identity provider that is
61 compliant with OpenID Connect (OIDC). Specify only when C<Type> is
62 C<authenticate-oidc>.
63  
64  
65 =head2 FixedResponseConfig => L<Paws::ELBv2::FixedResponseActionConfig>
66  
67 [Application Load Balancer] Information for creating an action that
68 returns a custom HTTP response. Specify only when C<Type> is
69 C<fixed-response>.
70  
71  
72 =head2 ForwardConfig => L<Paws::ELBv2::ForwardActionConfig>
73  
74 Information for creating an action that distributes requests among one
75 or more target groups. For Network Load Balancers, you can specify a
76 single target group. Specify only when C<Type> is C<forward>. If you
77 specify both C<ForwardConfig> and C<TargetGroupArn>, you can specify
78 only one target group using C<ForwardConfig> and it must be the same
79 target group specified in C<TargetGroupArn>.
80  
81  
82 =head2 Order => Int
83  
84 The order for the action. This value is required for rules with
85 multiple actions. The action with the lowest value for order is
86 performed first.
87  
88  
89 =head2 RedirectConfig => L<Paws::ELBv2::RedirectActionConfig>
90  
91 [Application Load Balancer] Information for creating a redirect action.
92 Specify only when C<Type> is C<redirect>.
93  
94  
95 =head2 TargetGroupArn => Str
96  
97 The Amazon Resource Name (ARN) of the target group. Specify only when
98 C<Type> is C<forward> and you want to route to a single target group.
99 To route to one or more target groups, use C<ForwardConfig> instead.
100  
101  
102 =head2 B<REQUIRED> Type => Str
103  
104 The type of action.
105  
106  
107  
108 =head1 SEE ALSO
109  
110 This class forms part of L<Paws>, describing an object used in L<Paws::ELBv2>
111  
112 =head1 BUGS and CONTRIBUTIONS
113  
114 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
115  
116 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
117  
118 =cut
119