blib/lib/Paws/ApplicationMigration/UpdateReplicationConfigurationTemplate.pm untested

filter: Statementstmt 0.0% 0 / 38 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 40 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ApplicationMigration::UpdateReplicationConfigurationTemplate;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'arn');
5 has AssociateDefaultSecurityGroup => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'associateDefaultSecurityGroup');
6 has BandwidthThrottling => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'bandwidthThrottling');
7 has CreatePublicIP => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'createPublicIP');
8 has DataPlaneRouting => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'dataPlaneRouting');
9 has DefaultLargeStagingDiskType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'defaultLargeStagingDiskType');
10 has EbsEncryption => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'ebsEncryption');
11 has EbsEncryptionKeyArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'ebsEncryptionKeyArn');
12 has ReplicationConfigurationTemplateID => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'replicationConfigurationTemplateID', required => 1);
13 has ReplicationServerInstanceType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'replicationServerInstanceType');
14 has ReplicationServersSecurityGroupsIDs => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'replicationServersSecurityGroupsIDs');
15 has StagingAreaSubnetId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'stagingAreaSubnetId');
16 has StagingAreaTags => (is => 'ro', isa => 'Paws::ApplicationMigration::TagsMap', traits => ['NameInRequest'], request_name => 'stagingAreaTags');
17 has UseDedicatedReplicationServer => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'useDedicatedReplicationServer');
18  
19 use MooseX::ClassAttribute;
20  
21 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateReplicationConfigurationTemplate');
22 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/UpdateReplicationConfigurationTemplate');
23 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
24 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApplicationMigration::ReplicationConfigurationTemplate');
25 1;
26  
27 ### main pod documentation begin ###
28  
29 =head1 NAME
30  
31 Paws::ApplicationMigration::UpdateReplicationConfigurationTemplate - Arguments for method UpdateReplicationConfigurationTemplate on L<Paws::ApplicationMigration>
32  
33 =head1 DESCRIPTION
34  
35 This class represents the parameters used for calling the method UpdateReplicationConfigurationTemplate on the
36 L<Application Migration Service|Paws::ApplicationMigration> service. Use the attributes of this class
37 as arguments to method UpdateReplicationConfigurationTemplate.
38  
39 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateReplicationConfigurationTemplate.
40  
41 =head1 SYNOPSIS
42  
43 my $mgn = Paws->service('ApplicationMigration');
44 my $ReplicationConfigurationTemplate =
45 $mgn->UpdateReplicationConfigurationTemplate(
46 ReplicationConfigurationTemplateID =>
47 'MyReplicationConfigurationTemplateID',
48 Arn => 'MyARN', # OPTIONAL
49 AssociateDefaultSecurityGroup => 1, # OPTIONAL
50 BandwidthThrottling => 1, # OPTIONAL
51 CreatePublicIP => 1, # OPTIONAL
52 DataPlaneRouting => 'PRIVATE_IP', # OPTIONAL
53 DefaultLargeStagingDiskType => 'GP2', # OPTIONAL
54 EbsEncryption => 'DEFAULT', # OPTIONAL
55 EbsEncryptionKeyArn => 'MyARN', # OPTIONAL
56 ReplicationServerInstanceType => 'MyEC2InstanceType', # OPTIONAL
57 ReplicationServersSecurityGroupsIDs => [
58 'MySecurityGroupID', ... # max: 255
59 ], # OPTIONAL
60 StagingAreaSubnetId => 'MySubnetID', # OPTIONAL
61 StagingAreaTags => {
62 'MyTagKey' => 'MyTagValue', # key: max: 256, value: max: 256
63 }, # OPTIONAL
64 UseDedicatedReplicationServer => 1, # OPTIONAL
65 );
66  
67 # Results:
68 my $Arn = $ReplicationConfigurationTemplate->Arn;
69 my $AssociateDefaultSecurityGroup =
70 $ReplicationConfigurationTemplate->AssociateDefaultSecurityGroup;
71 my $BandwidthThrottling =
72 $ReplicationConfigurationTemplate->BandwidthThrottling;
73 my $CreatePublicIP = $ReplicationConfigurationTemplate->CreatePublicIP;
74 my $DataPlaneRouting = $ReplicationConfigurationTemplate->DataPlaneRouting;
75 my $DefaultLargeStagingDiskType =
76 $ReplicationConfigurationTemplate->DefaultLargeStagingDiskType;
77 my $EbsEncryption = $ReplicationConfigurationTemplate->EbsEncryption;
78 my $EbsEncryptionKeyArn =
79 $ReplicationConfigurationTemplate->EbsEncryptionKeyArn;
80 my $ReplicationConfigurationTemplateID =
81 $ReplicationConfigurationTemplate->ReplicationConfigurationTemplateID;
82 my $ReplicationServerInstanceType =
83 $ReplicationConfigurationTemplate->ReplicationServerInstanceType;
84 my $ReplicationServersSecurityGroupsIDs =
85 $ReplicationConfigurationTemplate->ReplicationServersSecurityGroupsIDs;
86 my $StagingAreaSubnetId =
87 $ReplicationConfigurationTemplate->StagingAreaSubnetId;
88 my $StagingAreaTags = $ReplicationConfigurationTemplate->StagingAreaTags;
89 my $Tags = $ReplicationConfigurationTemplate->Tags;
90 my $UseDedicatedReplicationServer =
91 $ReplicationConfigurationTemplate->UseDedicatedReplicationServer;
92  
93 # Returns a L<Paws::ApplicationMigration::ReplicationConfigurationTemplate> object.
94  
95 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.
96 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mgn/UpdateReplicationConfigurationTemplate>
97  
98 =head1 ATTRIBUTES
99  
100  
101 =head2 Arn => Str
102  
103 Update replication configuration template ARN request.
104  
105  
106  
107 =head2 AssociateDefaultSecurityGroup => Bool
108  
109 Update replication configuration template associate default Application
110 Migration Service Security group request.
111  
112  
113  
114 =head2 BandwidthThrottling => Int
115  
116 Update replication configuration template bandwidth throttling request.
117  
118  
119  
120 =head2 CreatePublicIP => Bool
121  
122 Update replication configuration template create Public IP request.
123  
124  
125  
126 =head2 DataPlaneRouting => Str
127  
128 Update replication configuration template data plane routing request.
129  
130 Valid values are: C<"PRIVATE_IP">, C<"PUBLIC_IP">
131  
132 =head2 DefaultLargeStagingDiskType => Str
133  
134 Update replication configuration template use default large Staging
135 Disk type request.
136  
137 Valid values are: C<"GP2">, C<"ST1">
138  
139 =head2 EbsEncryption => Str
140  
141 Update replication configuration template EBS encryption request.
142  
143 Valid values are: C<"DEFAULT">, C<"CUSTOM">
144  
145 =head2 EbsEncryptionKeyArn => Str
146  
147 Update replication configuration template EBS encryption key ARN
148 request.
149  
150  
151  
152 =head2 B<REQUIRED> ReplicationConfigurationTemplateID => Str
153  
154 Update replication configuration template template ID request.
155  
156  
157  
158 =head2 ReplicationServerInstanceType => Str
159  
160 Update replication configuration template Replication Server instance
161 type request.
162  
163  
164  
165 =head2 ReplicationServersSecurityGroupsIDs => ArrayRef[Str|Undef]
166  
167 Update replication configuration template Replication Server Security
168 groups IDs request.
169  
170  
171  
172 =head2 StagingAreaSubnetId => Str
173  
174 Update replication configuration template Staging Area subnet ID
175 request.
176  
177  
178  
179 =head2 StagingAreaTags => L<Paws::ApplicationMigration::TagsMap>
180  
181 Update replication configuration template Staging Area Tags request.
182  
183  
184  
185 =head2 UseDedicatedReplicationServer => Bool
186  
187 Update replication configuration template use dedicated Replication
188 Server request.
189  
190  
191  
192  
193 =head1 SEE ALSO
194  
195 This class forms part of L<Paws>, documenting arguments for method UpdateReplicationConfigurationTemplate in L<Paws::ApplicationMigration>
196  
197 =head1 BUGS and CONTRIBUTIONS
198  
199 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
200  
201 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
202  
203 =cut
204