blib/lib/Paws/SSM/DescribeMaintenanceWindowSchedule.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::SSM::DescribeMaintenanceWindowSchedule;
3 use Moose;
4 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::SSM::PatchOrchestratorFilter]');
5 has MaxResults => (is => 'ro', isa => 'Int');
6 has NextToken => (is => 'ro', isa => 'Str');
7 has ResourceType => (is => 'ro', isa => 'Str');
8 has Targets => (is => 'ro', isa => 'ArrayRef[Paws::SSM::Target]');
9 has WindowId => (is => 'ro', isa => 'Str');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeMaintenanceWindowSchedule');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::DescribeMaintenanceWindowScheduleResult');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::SSM::DescribeMaintenanceWindowSchedule - Arguments for method DescribeMaintenanceWindowSchedule on L<Paws::SSM>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method DescribeMaintenanceWindowSchedule on the
27 L<Amazon Simple Systems Manager (SSM)|Paws::SSM> service. Use the attributes of this class
28 as arguments to method DescribeMaintenanceWindowSchedule.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeMaintenanceWindowSchedule.
31  
32 =head1 SYNOPSIS
33  
34 my $ssm = Paws->service('SSM');
35 my $DescribeMaintenanceWindowScheduleResult =
36 $ssm->DescribeMaintenanceWindowSchedule(
37 Filters => [
38 {
39 Key => 'MyPatchOrchestratorFilterKey', # min: 1, max: 128; OPTIONAL
40 Values => [
41 'MyPatchOrchestratorFilterValue', ... # min: 1, max: 256
42 ], # OPTIONAL
43 },
44 ...
45 ], # OPTIONAL
46 MaxResults => 1, # OPTIONAL
47 NextToken => 'MyNextToken', # OPTIONAL
48 ResourceType => 'INSTANCE', # OPTIONAL
49 Targets => [
50 {
51 Key => 'MyTargetKey', # min: 1, max: 163; OPTIONAL
52 Values => [ 'MyTargetValue', ... ], # max: 50; OPTIONAL
53 },
54 ...
55 ], # OPTIONAL
56 WindowId => 'MyMaintenanceWindowId', # OPTIONAL
57 );
58  
59 # Results:
60 my $NextToken = $DescribeMaintenanceWindowScheduleResult->NextToken;
61 my $ScheduledWindowExecutions =
62 $DescribeMaintenanceWindowScheduleResult->ScheduledWindowExecutions;
63  
64 # Returns a L<Paws::SSM::DescribeMaintenanceWindowScheduleResult> object.
65  
66 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.
67 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ssm/DescribeMaintenanceWindowSchedule>
68  
69 =head1 ATTRIBUTES
70  
71  
72 =head2 Filters => ArrayRef[L<Paws::SSM::PatchOrchestratorFilter>]
73  
74 Filters used to limit the range of results. For example, you can limit
75 maintenance window executions to only those scheduled before or after a
76 certain date and time.
77  
78  
79  
80 =head2 MaxResults => Int
81  
82 The maximum number of items to return for this call. The call also
83 returns a token that you can specify in a subsequent call to get the
84 next set of results.
85  
86  
87  
88 =head2 NextToken => Str
89  
90 The token for the next set of items to return. (You received this token
91 from a previous call.)
92  
93  
94  
95 =head2 ResourceType => Str
96  
97 The type of resource you want to retrieve information about. For
98 example, "INSTANCE".
99  
100 Valid values are: C<"INSTANCE">, C<"RESOURCE_GROUP">
101  
102 =head2 Targets => ArrayRef[L<Paws::SSM::Target>]
103  
104 The instance ID or key/value pair to retrieve information about.
105  
106  
107  
108 =head2 WindowId => Str
109  
110 The ID of the maintenance window to retrieve information about.
111  
112  
113  
114  
115 =head1 SEE ALSO
116  
117 This class forms part of L<Paws>, documenting arguments for method DescribeMaintenanceWindowSchedule in L<Paws::SSM>
118  
119 =head1 BUGS and CONTRIBUTIONS
120  
121 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
122  
123 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
124  
125 =cut
126