blib/lib/Paws/RedShift/ModifyClusterMaintenance.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::RedShift::ModifyClusterMaintenance;
3 use Moose;
4 has ClusterIdentifier => (is => 'ro', isa => 'Str', required => 1);
5 has DeferMaintenance => (is => 'ro', isa => 'Bool');
6 has DeferMaintenanceDuration => (is => 'ro', isa => 'Int');
7 has DeferMaintenanceEndTime => (is => 'ro', isa => 'Str');
8 has DeferMaintenanceIdentifier => (is => 'ro', isa => 'Str');
9 has DeferMaintenanceStartTime => (is => 'ro', isa => 'Str');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyClusterMaintenance');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::ModifyClusterMaintenanceResult');
15 class_has _result_key => (isa => 'Str', is => 'ro', default => 'ModifyClusterMaintenanceResult');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::RedShift::ModifyClusterMaintenance - Arguments for method ModifyClusterMaintenance on L<Paws::RedShift>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ModifyClusterMaintenance on the
27 L<Amazon Redshift|Paws::RedShift> service. Use the attributes of this class
28 as arguments to method ModifyClusterMaintenance.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyClusterMaintenance.
31  
32 =head1 SYNOPSIS
33  
34 my $redshift = Paws->service('RedShift');
35 my $ModifyClusterMaintenanceResult = $redshift->ModifyClusterMaintenance(
36 ClusterIdentifier => 'MyString',
37 DeferMaintenance => 1, # OPTIONAL
38 DeferMaintenanceDuration => 1, # OPTIONAL
39 DeferMaintenanceEndTime => '1970-01-01T01:00:00', # OPTIONAL
40 DeferMaintenanceIdentifier => 'MyString', # OPTIONAL
41 DeferMaintenanceStartTime => '1970-01-01T01:00:00', # OPTIONAL
42 );
43  
44 # Results:
45 my $Cluster = $ModifyClusterMaintenanceResult->Cluster;
46  
47 # Returns a L<Paws::RedShift::ModifyClusterMaintenanceResult> object.
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/redshift/ModifyClusterMaintenance>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 B<REQUIRED> ClusterIdentifier => Str
56  
57 A unique identifier for the cluster.
58  
59  
60  
61 =head2 DeferMaintenance => Bool
62  
63 A boolean indicating whether to enable the deferred maintenance window.
64  
65  
66  
67 =head2 DeferMaintenanceDuration => Int
68  
69 An integer indicating the duration of the maintenance window in days.
70 If you specify a duration, you can't specify an end time. The duration
71 must be 45 days or less.
72  
73  
74  
75 =head2 DeferMaintenanceEndTime => Str
76  
77 A timestamp indicating end time for the deferred maintenance window. If
78 you specify an end time, you can't specify a duration.
79  
80  
81  
82 =head2 DeferMaintenanceIdentifier => Str
83  
84 A unique identifier for the deferred maintenance window.
85  
86  
87  
88 =head2 DeferMaintenanceStartTime => Str
89  
90 A timestamp indicating the start time for the deferred maintenance
91 window.
92  
93  
94  
95  
96 =head1 SEE ALSO
97  
98 This class forms part of L<Paws>, documenting arguments for method ModifyClusterMaintenance in L<Paws::RedShift>
99  
100 =head1 BUGS and CONTRIBUTIONS
101  
102 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
103  
104 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
105  
106 =cut
107