blib/lib/Paws/SSM/GetOpsSummary.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::GetOpsSummary;
3 use Moose;
4 has Aggregators => (is => 'ro', isa => 'ArrayRef[Paws::SSM::OpsAggregator]');
5 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::SSM::OpsFilter]');
6 has MaxResults => (is => 'ro', isa => 'Int');
7 has NextToken => (is => 'ro', isa => 'Str');
8 has ResultAttributes => (is => 'ro', isa => 'ArrayRef[Paws::SSM::OpsResultAttribute]');
9 has SyncName => (is => 'ro', isa => 'Str');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetOpsSummary');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::GetOpsSummaryResult');
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::GetOpsSummary - Arguments for method GetOpsSummary on L<Paws::SSM>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method GetOpsSummary on the
27 L<Amazon Simple Systems Manager (SSM)|Paws::SSM> service. Use the attributes of this class
28 as arguments to method GetOpsSummary.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetOpsSummary.
31  
32 =head1 SYNOPSIS
33  
34 my $ssm = Paws->service('SSM');
35 my $GetOpsSummaryResult = $ssm->GetOpsSummary(
36 Aggregators => [
37 {
38 AggregatorType => 'MyOpsAggregatorType', # min: 1, max: 20; OPTIONAL
39 Aggregators => <OpsAggregatorList>,
40 AttributeName =>
41 'MyOpsDataAttributeName', # min: 1, max: 128; OPTIONAL
42 Filters => [
43 {
44 Key => 'MyOpsFilterKey', # min: 1, max: 200
45 Values => [
46 'MyOpsFilterValue', ... # max: 256
47 ], # min: 1, max: 40
48 Type => 'Equal'
49 , # values: Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists; OPTIONAL
50 },
51 ...
52 ], # min: 1, max: 5; OPTIONAL
53 TypeName => 'MyOpsDataTypeName', # min: 1, max: 100; OPTIONAL
54 Values => {
55 'MyOpsAggregatorValueKey' =>
56 'MyOpsAggregatorValue', # key: min: 1, max: 32, value: max: 2048
57 }, # max: 5; OPTIONAL
58 },
59 ...
60 ], # OPTIONAL
61 Filters => [
62 {
63 Key => 'MyOpsFilterKey', # min: 1, max: 200
64 Values => [
65 'MyOpsFilterValue', ... # max: 256
66 ], # min: 1, max: 40
67 Type => 'Equal'
68 , # values: Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists; OPTIONAL
69 },
70 ...
71 ], # OPTIONAL
72 MaxResults => 1, # OPTIONAL
73 NextToken => 'MyNextToken', # OPTIONAL
74 ResultAttributes => [
75 {
76 TypeName => 'MyOpsDataTypeName', # min: 1, max: 100; OPTIONAL
77  
78 },
79 ...
80 ], # OPTIONAL
81 SyncName => 'MyResourceDataSyncName', # OPTIONAL
82 );
83  
84 # Results:
85 my $Entities = $GetOpsSummaryResult->Entities;
86 my $NextToken = $GetOpsSummaryResult->NextToken;
87  
88 # Returns a L<Paws::SSM::GetOpsSummaryResult> object.
89  
90 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.
91 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ssm/GetOpsSummary>
92  
93 =head1 ATTRIBUTES
94  
95  
96 =head2 Aggregators => ArrayRef[L<Paws::SSM::OpsAggregator>]
97  
98 Optional aggregators that return counts of OpsItems based on one or
99 more expressions.
100  
101  
102  
103 =head2 Filters => ArrayRef[L<Paws::SSM::OpsFilter>]
104  
105 Optional filters used to scope down the returned OpsItems.
106  
107  
108  
109 =head2 MaxResults => Int
110  
111 The maximum number of items to return for this call. The call also
112 returns a token that you can specify in a subsequent call to get the
113 next set of results.
114  
115  
116  
117 =head2 NextToken => Str
118  
119 A token to start the list. Use this token to get the next set of
120 results.
121  
122  
123  
124 =head2 ResultAttributes => ArrayRef[L<Paws::SSM::OpsResultAttribute>]
125  
126 The OpsItem data type to return.
127  
128  
129  
130 =head2 SyncName => Str
131  
132 Specify the name of a resource data sync to get.
133  
134  
135  
136  
137 =head1 SEE ALSO
138  
139 This class forms part of L<Paws>, documenting arguments for method GetOpsSummary in L<Paws::SSM>
140  
141 =head1 BUGS and CONTRIBUTIONS
142  
143 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
144  
145 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
146  
147 =cut
148