File Coverage

blib/lib/Paws/DMS/ModifyReplicationInstance.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::DMS::ModifyReplicationInstance;
3 1     1   322 use Moose;
  1         3  
  1         8  
4             has AllocatedStorage => (is => 'ro', isa => 'Int');
5             has AllowMajorVersionUpgrade => (is => 'ro', isa => 'Bool');
6             has ApplyImmediately => (is => 'ro', isa => 'Bool');
7             has AutoMinorVersionUpgrade => (is => 'ro', isa => 'Bool');
8             has EngineVersion => (is => 'ro', isa => 'Str');
9             has MultiAZ => (is => 'ro', isa => 'Bool');
10             has PreferredMaintenanceWindow => (is => 'ro', isa => 'Str');
11             has ReplicationInstanceArn => (is => 'ro', isa => 'Str', required => 1);
12             has ReplicationInstanceClass => (is => 'ro', isa => 'Str');
13             has ReplicationInstanceIdentifier => (is => 'ro', isa => 'Str');
14             has VpcSecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
15              
16 1     1   5692 use MooseX::ClassAttribute;
  1         2  
  1         9  
17              
18             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyReplicationInstance');
19             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DMS::ModifyReplicationInstanceResponse');
20             class_has _result_key => (isa => 'Str', is => 'ro');
21             1;
22              
23             ### main pod documentation begin ###
24              
25             =head1 NAME
26              
27             Paws::DMS::ModifyReplicationInstance - Arguments for method ModifyReplicationInstance on Paws::DMS
28              
29             =head1 DESCRIPTION
30              
31             This class represents the parameters used for calling the method ModifyReplicationInstance on the
32             AWS Database Migration Service service. Use the attributes of this class
33             as arguments to method ModifyReplicationInstance.
34              
35             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyReplicationInstance.
36              
37             As an example:
38              
39             $service_obj->ModifyReplicationInstance(Att1 => $value1, Att2 => $value2, ...);
40              
41             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.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 AllocatedStorage => Int
47              
48             The amount of storage (in gigabytes) to be allocated for the
49             replication instance.
50              
51              
52              
53             =head2 AllowMajorVersionUpgrade => Bool
54              
55             Indicates that major version upgrades are allowed. Changing this
56             parameter does not result in an outage and the change is asynchronously
57             applied as soon as possible.
58              
59             Constraints: This parameter must be set to true when specifying a value
60             for the C<EngineVersion> parameter that is a different major version
61             than the replication instance's current version.
62              
63              
64              
65             =head2 ApplyImmediately => Bool
66              
67             Indicates whether the changes should be applied immediately or during
68             the next maintenance window.
69              
70              
71              
72             =head2 AutoMinorVersionUpgrade => Bool
73              
74             Indicates that minor version upgrades will be applied automatically to
75             the replication instance during the maintenance window. Changing this
76             parameter does not result in an outage except in the following case and
77             the change is asynchronously applied as soon as possible. An outage
78             will result if this parameter is set to C<true> during the maintenance
79             window, and a newer minor version is available, and AWS DMS has enabled
80             auto patching for that engine version.
81              
82              
83              
84             =head2 EngineVersion => Str
85              
86             The engine version number of the replication instance.
87              
88              
89              
90             =head2 MultiAZ => Bool
91              
92             Specifies if the replication instance is a Multi-AZ deployment. You
93             cannot set the C<AvailabilityZone> parameter if the Multi-AZ parameter
94             is set to C<true>.
95              
96              
97              
98             =head2 PreferredMaintenanceWindow => Str
99              
100             The weekly time range (in UTC) during which system maintenance can
101             occur, which might result in an outage. Changing this parameter does
102             not result in an outage, except in the following situation, and the
103             change is asynchronously applied as soon as possible. If moving this
104             window to the current time, there must be at least 30 minutes between
105             the current time and end of the window to ensure pending changes are
106             applied.
107              
108             Default: Uses existing setting
109              
110             Format: ddd:hh24:mi-ddd:hh24:mi
111              
112             Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
113              
114             Constraints: Must be at least 30 minutes
115              
116              
117              
118             =head2 B<REQUIRED> ReplicationInstanceArn => Str
119              
120             The Amazon Resource Name (ARN) of the replication instance.
121              
122              
123              
124             =head2 ReplicationInstanceClass => Str
125              
126             The compute and memory capacity of the replication instance.
127              
128             Valid Values: C<dms.t2.micro | dms.t2.small | dms.t2.medium |
129             dms.t2.large | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge |
130             dms.c4.4xlarge>
131              
132              
133              
134             =head2 ReplicationInstanceIdentifier => Str
135              
136             The replication instance identifier. This parameter is stored as a
137             lowercase string.
138              
139              
140              
141             =head2 VpcSecurityGroupIds => ArrayRef[Str|Undef]
142              
143             Specifies the VPC security group to be used with the replication
144             instance. The VPC security group must work with the VPC containing the
145             replication instance.
146              
147              
148              
149              
150             =head1 SEE ALSO
151              
152             This class forms part of L<Paws>, documenting arguments for method ModifyReplicationInstance in L<Paws::DMS>
153              
154             =head1 BUGS and CONTRIBUTIONS
155              
156             The source code is located here: https://github.com/pplu/aws-sdk-perl
157              
158             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
159              
160             =cut
161