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

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 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::RedirectActionConfig;
3 use Moose;
4 has Host => (is => 'ro', isa => 'Str');
5 has Path => (is => 'ro', isa => 'Str');
6 has Port => (is => 'ro', isa => 'Str');
7 has Protocol => (is => 'ro', isa => 'Str');
8 has Query => (is => 'ro', isa => 'Str');
9 has StatusCode => (is => 'ro', isa => 'Str', required => 1);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::ELBv2::RedirectActionConfig
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::ELBv2::RedirectActionConfig object:
29  
30 $service_obj->Method(Att1 => { Host => $value, ..., StatusCode => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::ELBv2::RedirectActionConfig object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->Host
38  
39 =head1 DESCRIPTION
40  
41 Information about a redirect action.
42  
43 A URI consists of the following components:
44 protocol://hostname:port/path?query. You must modify at least one of
45 the following components to avoid a redirect loop: protocol, hostname,
46 port, or path. Any components that you do not modify retain their
47 original values.
48  
49 You can reuse URI components using the following reserved keywords:
50  
51 =over
52  
53 =item *
54  
55  
56  
57 =item *
58  
59  
60  
61 =item *
62  
63  
64  
65 =item *
66  
67  
68  
69 =item *
70  
71  
72  
73 =back
74  
75 For example, you can change the path to "/new/#{path}", the hostname to
76 "example.#{host}", or the query to "#{query}&value=xyz".
77  
78 =head1 ATTRIBUTES
79  
80  
81 =head2 Host => Str
82  
83 The hostname. This component is not percent-encoded. The hostname can
84 contain #{host}.
85  
86  
87 =head2 Path => Str
88  
89 The absolute path, starting with the leading "/". This component is not
90 percent-encoded. The path can contain #{host}, #{path}, and #{port}.
91  
92  
93 =head2 Port => Str
94  
95 The port. You can specify a value from 1 to 65535 or #{port}.
96  
97  
98 =head2 Protocol => Str
99  
100 The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can
101 redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot
102 redirect HTTPS to HTTP.
103  
104  
105 =head2 Query => Str
106  
107 The query parameters, URL-encoded when necessary, but not
108 percent-encoded. Do not include the leading "?", as it is automatically
109 added. You can specify any of the reserved keywords.
110  
111  
112 =head2 B<REQUIRED> StatusCode => Str
113  
114 The HTTP redirect code. The redirect is either permanent (HTTP 301) or
115 temporary (HTTP 302).
116  
117  
118  
119 =head1 SEE ALSO
120  
121 This class forms part of L<Paws>, describing an object used in L<Paws::ELBv2>
122  
123 =head1 BUGS and CONTRIBUTIONS
124  
125 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
126  
127 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
128  
129 =cut
130