blib/lib/Paws/SMS/UpdateReplicationJob.pm untested

filter: Statementstmt 0.0% 0 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 29 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SMS::UpdateReplicationJob;
3 use Moose;
4 has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description' );
5 has Encrypted => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'encrypted' );
6 has Frequency => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'frequency' );
7 has KmsKeyId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'kmsKeyId' );
8 has LicenseType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'licenseType' );
9 has NextReplicationRunStartTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextReplicationRunStartTime' );
10 has NumberOfRecentAmisToKeep => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'numberOfRecentAmisToKeep' );
11 has ReplicationJobId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'replicationJobId' , required => 1);
12 has RoleName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'roleName' );
13  
14 use MooseX::ClassAttribute;
15  
16 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateReplicationJob');
17 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SMS::UpdateReplicationJobResponse');
18 class_has _result_key => (isa => 'Str', is => 'ro');
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::SMS::UpdateReplicationJob - Arguments for method UpdateReplicationJob on L<Paws::SMS>
26  
27 =head1 DESCRIPTION
28  
29 This class represents the parameters used for calling the method UpdateReplicationJob on the
30 L<AWS Server Migration Service|Paws::SMS> service. Use the attributes of this class
31 as arguments to method UpdateReplicationJob.
32  
33 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateReplicationJob.
34  
35 =head1 SYNOPSIS
36  
37 my $sms = Paws->service('SMS');
38 my $UpdateReplicationJobResponse = $sms->UpdateReplicationJob(
39 ReplicationJobId => 'MyReplicationJobId',
40 Description => 'MyDescription', # OPTIONAL
41 Encrypted => 1, # OPTIONAL
42 Frequency => 1, # OPTIONAL
43 KmsKeyId => 'MyKmsKeyId', # OPTIONAL
44 LicenseType => 'AWS', # OPTIONAL
45 NextReplicationRunStartTime => '1970-01-01T01:00:00', # OPTIONAL
46 NumberOfRecentAmisToKeep => 1, # OPTIONAL
47 RoleName => 'MyRoleName', # OPTIONAL
48 );
49  
50 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.
51 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/sms/UpdateReplicationJob>
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 Description => Str
57  
58 The description of the replication job.
59  
60  
61  
62 =head2 Encrypted => Bool
63  
64 When true, the replication job produces encrypted AMIs. For more
65 information, C<KmsKeyId>.
66  
67  
68  
69 =head2 Frequency => Int
70  
71 The time between consecutive replication runs, in hours.
72  
73  
74  
75 =head2 KmsKeyId => Str
76  
77 The ID of the KMS key for replication jobs that produce encrypted AMIs.
78 This value can be any of the following:
79  
80 =over
81  
82 =item *
83  
84 KMS key ID
85  
86 =item *
87  
88 KMS key alias
89  
90 =item *
91  
92 ARN referring to the KMS key ID
93  
94 =item *
95  
96 ARN referring to the KMS key alias
97  
98 =back
99  
100 If encrypted is enabled but a KMS key ID is not specified, the
101 customer's default KMS key for Amazon EBS is used.
102  
103  
104  
105 =head2 LicenseType => Str
106  
107 The license type to be used for the AMI created by a successful
108 replication run.
109  
110 Valid values are: C<"AWS">, C<"BYOL">
111  
112 =head2 NextReplicationRunStartTime => Str
113  
114 The start time of the next replication run.
115  
116  
117  
118 =head2 NumberOfRecentAmisToKeep => Int
119  
120 The maximum number of SMS-created AMIs to retain. The oldest is deleted
121 after the maximum number is reached and a new AMI is created.
122  
123  
124  
125 =head2 B<REQUIRED> ReplicationJobId => Str
126  
127 The ID of the replication job.
128  
129  
130  
131 =head2 RoleName => Str
132  
133 The name of the IAM role to be used by AWS SMS.
134  
135  
136  
137  
138 =head1 SEE ALSO
139  
140 This class forms part of L<Paws>, documenting arguments for method UpdateReplicationJob in L<Paws::SMS>
141  
142 =head1 BUGS and CONTRIBUTIONS
143  
144 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
145  
146 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
147  
148 =cut
149