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

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::RedShift::DescribeScheduledActions;
3 use Moose;
4 has Active => (is => 'ro', isa => 'Bool');
5 has EndTime => (is => 'ro', isa => 'Str');
6 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::RedShift::ScheduledActionFilter]');
7 has Marker => (is => 'ro', isa => 'Str');
8 has MaxRecords => (is => 'ro', isa => 'Int');
9 has ScheduledActionName => (is => 'ro', isa => 'Str');
10 has StartTime => (is => 'ro', isa => 'Str');
11 has TargetActionType => (is => 'ro', isa => 'Str');
12  
13 use MooseX::ClassAttribute;
14  
15 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeScheduledActions');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::ScheduledActionsMessage');
17 class_has _result_key => (isa => 'Str', is => 'ro', default => 'DescribeScheduledActionsResult');
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::RedShift::DescribeScheduledActions - Arguments for method DescribeScheduledActions on L<Paws::RedShift>
25  
26 =head1 DESCRIPTION
27  
28 This class represents the parameters used for calling the method DescribeScheduledActions on the
29 L<Amazon Redshift|Paws::RedShift> service. Use the attributes of this class
30 as arguments to method DescribeScheduledActions.
31  
32 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeScheduledActions.
33  
34 =head1 SYNOPSIS
35  
36 my $redshift = Paws->service('RedShift');
37 my $ScheduledActionsMessage = $redshift->DescribeScheduledActions(
38 Active => 1, # OPTIONAL
39 EndTime => '1970-01-01T01:00:00', # OPTIONAL
40 Filters => [
41 {
42 Name => 'cluster-identifier', # values: cluster-identifier, iam-role
43 Values => [
44 'MyString', ... # max: 2147483647
45 ],
46  
47 },
48 ...
49 ], # OPTIONAL
50 Marker => 'MyString', # OPTIONAL
51 MaxRecords => 1, # OPTIONAL
52 ScheduledActionName => 'MyString', # OPTIONAL
53 StartTime => '1970-01-01T01:00:00', # OPTIONAL
54 TargetActionType => 'ResizeCluster', # OPTIONAL
55 );
56  
57 # Results:
58 my $Marker = $ScheduledActionsMessage->Marker;
59 my $ScheduledActions = $ScheduledActionsMessage->ScheduledActions;
60  
61 # Returns a L<Paws::RedShift::ScheduledActionsMessage> object.
62  
63 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.
64 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/redshift/DescribeScheduledActions>
65  
66 =head1 ATTRIBUTES
67  
68  
69 =head2 Active => Bool
70  
71 If true, retrieve only active scheduled actions. If false, retrieve
72 only disabled scheduled actions.
73  
74  
75  
76 =head2 EndTime => Str
77  
78 The end time in UTC of the scheduled action to retrieve. Only active
79 scheduled actions that have invocations before this time are retrieved.
80  
81  
82  
83 =head2 Filters => ArrayRef[L<Paws::RedShift::ScheduledActionFilter>]
84  
85 List of scheduled action filters.
86  
87  
88  
89 =head2 Marker => Str
90  
91 An optional parameter that specifies the starting point to return a set
92 of response records. When the results of a DescribeScheduledActions
93 request exceed the value specified in C<MaxRecords>, AWS returns a
94 value in the C<Marker> field of the response. You can retrieve the next
95 set of response records by providing the returned marker value in the
96 C<Marker> parameter and retrying the request.
97  
98  
99  
100 =head2 MaxRecords => Int
101  
102 The maximum number of response records to return in each call. If the
103 number of remaining response records exceeds the specified
104 C<MaxRecords> value, a value is returned in a C<marker> field of the
105 response. You can retrieve the next set of records by retrying the
106 command with the returned marker value.
107  
108 Default: C<100>
109  
110 Constraints: minimum 20, maximum 100.
111  
112  
113  
114 =head2 ScheduledActionName => Str
115  
116 The name of the scheduled action to retrieve.
117  
118  
119  
120 =head2 StartTime => Str
121  
122 The start time in UTC of the scheduled actions to retrieve. Only active
123 scheduled actions that have invocations after this time are retrieved.
124  
125  
126  
127 =head2 TargetActionType => Str
128  
129 The type of the scheduled actions to retrieve.
130  
131 Valid values are: C<"ResizeCluster">, C<"PauseCluster">, C<"ResumeCluster">
132  
133  
134 =head1 SEE ALSO
135  
136 This class forms part of L<Paws>, documenting arguments for method DescribeScheduledActions in L<Paws::RedShift>
137  
138 =head1 BUGS and CONTRIBUTIONS
139  
140 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
141  
142 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
143  
144 =cut
145