File Coverage

blib/lib/Paws/ElasticBeanstalk/SwapEnvironmentCNAMEs.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::ElasticBeanstalk::SwapEnvironmentCNAMEs;
3 1     1   477 use Moose;
  1         3  
  1         6  
4             has DestinationEnvironmentId => (is => 'ro', isa => 'Str');
5             has DestinationEnvironmentName => (is => 'ro', isa => 'Str');
6             has SourceEnvironmentId => (is => 'ro', isa => 'Str');
7             has SourceEnvironmentName => (is => 'ro', isa => 'Str');
8              
9 1     1   6257 use MooseX::ClassAttribute;
  1         2  
  1         7  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'SwapEnvironmentCNAMEs');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
13             class_has _result_key => (isa => 'Str', is => 'ro');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::ElasticBeanstalk::SwapEnvironmentCNAMEs - Arguments for method SwapEnvironmentCNAMEs on Paws::ElasticBeanstalk
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method SwapEnvironmentCNAMEs on the
25             AWS Elastic Beanstalk service. Use the attributes of this class
26             as arguments to method SwapEnvironmentCNAMEs.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SwapEnvironmentCNAMEs.
29              
30             As an example:
31              
32             $service_obj->SwapEnvironmentCNAMEs(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 DestinationEnvironmentId => Str
40              
41             The ID of the destination environment.
42              
43             Condition: You must specify at least the C<DestinationEnvironmentID> or
44             the C<DestinationEnvironmentName>. You may also specify both. You must
45             specify the C<SourceEnvironmentId> with the
46             C<DestinationEnvironmentId>.
47              
48              
49              
50             =head2 DestinationEnvironmentName => Str
51              
52             The name of the destination environment.
53              
54             Condition: You must specify at least the C<DestinationEnvironmentID> or
55             the C<DestinationEnvironmentName>. You may also specify both. You must
56             specify the C<SourceEnvironmentName> with the
57             C<DestinationEnvironmentName>.
58              
59              
60              
61             =head2 SourceEnvironmentId => Str
62              
63             The ID of the source environment.
64              
65             Condition: You must specify at least the C<SourceEnvironmentID> or the
66             C<SourceEnvironmentName>. You may also specify both. If you specify the
67             C<SourceEnvironmentId>, you must specify the
68             C<DestinationEnvironmentId>.
69              
70              
71              
72             =head2 SourceEnvironmentName => Str
73              
74             The name of the source environment.
75              
76             Condition: You must specify at least the C<SourceEnvironmentID> or the
77             C<SourceEnvironmentName>. You may also specify both. If you specify the
78             C<SourceEnvironmentName>, you must specify the
79             C<DestinationEnvironmentName>.
80              
81              
82              
83              
84             =head1 SEE ALSO
85              
86             This class forms part of L<Paws>, documenting arguments for method SwapEnvironmentCNAMEs in L<Paws::ElasticBeanstalk>
87              
88             =head1 BUGS and CONTRIBUTIONS
89              
90             The source code is located here: https://github.com/pplu/aws-sdk-perl
91              
92             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
93              
94             =cut
95