blib/lib/Paws/SSM/ListCommandInvocations.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::ListCommandInvocations;
3 use Moose;
4 has CommandId => (is => 'ro', isa => 'Str');
5 has Details => (is => 'ro', isa => 'Bool');
6 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::SSM::CommandFilter]');
7 has InstanceId => (is => 'ro', isa => 'Str');
8 has MaxResults => (is => 'ro', isa => 'Int');
9 has NextToken => (is => 'ro', isa => 'Str');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListCommandInvocations');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::ListCommandInvocationsResult');
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::ListCommandInvocations - Arguments for method ListCommandInvocations on L<Paws::SSM>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ListCommandInvocations on the
27 L<Amazon Simple Systems Manager (SSM)|Paws::SSM> service. Use the attributes of this class
28 as arguments to method ListCommandInvocations.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListCommandInvocations.
31  
32 =head1 SYNOPSIS
33  
34 my $ssm = Paws->service('SSM');
35 my $ListCommandInvocationsResult = $ssm->ListCommandInvocations(
36 CommandId => 'MyCommandId', # OPTIONAL
37 Details => 1, # OPTIONAL
38 Filters => [
39 {
40 Key => 'InvokedAfter'
41 , # values: InvokedAfter, InvokedBefore, Status, ExecutionStage, DocumentName
42 Value => 'MyCommandFilterValue', # min: 1, max: 128
43  
44 },
45 ...
46 ], # OPTIONAL
47 InstanceId => 'MyInstanceId', # OPTIONAL
48 MaxResults => 1, # OPTIONAL
49 NextToken => 'MyNextToken', # OPTIONAL
50 );
51  
52 # Results:
53 my $CommandInvocations = $ListCommandInvocationsResult->CommandInvocations;
54 my $NextToken = $ListCommandInvocationsResult->NextToken;
55  
56 # Returns a L<Paws::SSM::ListCommandInvocationsResult> object.
57  
58 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.
59 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ssm/ListCommandInvocations>
60  
61 =head1 ATTRIBUTES
62  
63  
64 =head2 CommandId => Str
65  
66 (Optional) The invocations for a specific command ID.
67  
68  
69  
70 =head2 Details => Bool
71  
72 (Optional) If set this returns the response of the command executions
73 and any command output. The default value is 'false'.
74  
75  
76  
77 =head2 Filters => ArrayRef[L<Paws::SSM::CommandFilter>]
78  
79 (Optional) One or more filters. Use a filter to return a more specific
80 list of results.
81  
82  
83  
84 =head2 InstanceId => Str
85  
86 (Optional) The command execution details for a specific instance ID.
87  
88  
89  
90 =head2 MaxResults => Int
91  
92 (Optional) The maximum number of items to return for this call. The
93 call also returns a token that you can specify in a subsequent call to
94 get the next set of results.
95  
96  
97  
98 =head2 NextToken => Str
99  
100 (Optional) The token for the next set of items to return. (You received
101 this token from a previous call.)
102  
103  
104  
105  
106 =head1 SEE ALSO
107  
108 This class forms part of L<Paws>, documenting arguments for method ListCommandInvocations in L<Paws::SSM>
109  
110 =head1 BUGS and CONTRIBUTIONS
111  
112 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
113  
114 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
115  
116 =cut
117