blib/lib/Paws/IoT/ListDetectMitigationActionsExecutions.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IoT::ListDetectMitigationActionsExecutions;
3 use Moose;
4 has EndTime => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'endTime');
5 has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
6 has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken');
7 has StartTime => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'startTime');
8 has TaskId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'taskId');
9 has ThingName => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'thingName');
10 has ViolationId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'violationId');
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListDetectMitigationActionsExecutions');
15 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/detect/mitigationactions/executions');
16 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
17 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT::ListDetectMitigationActionsExecutionsResponse');
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::IoT::ListDetectMitigationActionsExecutions - Arguments for method ListDetectMitigationActionsExecutions on L<Paws::IoT>
25  
26 =head1 DESCRIPTION
27  
28 This class represents the parameters used for calling the method ListDetectMitigationActionsExecutions on the
29 L<AWS IoT|Paws::IoT> service. Use the attributes of this class
30 as arguments to method ListDetectMitigationActionsExecutions.
31  
32 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListDetectMitigationActionsExecutions.
33  
34 =head1 SYNOPSIS
35  
36 my $iot = Paws->service('IoT');
37 my $ListDetectMitigationActionsExecutionsResponse =
38 $iot->ListDetectMitigationActionsExecutions(
39 EndTime => '1970-01-01T01:00:00', # OPTIONAL
40 MaxResults => 1, # OPTIONAL
41 NextToken => 'MyNextToken', # OPTIONAL
42 StartTime => '1970-01-01T01:00:00', # OPTIONAL
43 TaskId => 'MyMitigationActionsTaskId', # OPTIONAL
44 ThingName => 'MyDeviceDefenderThingName', # OPTIONAL
45 ViolationId => 'MyViolationId', # OPTIONAL
46 );
47  
48 # Results:
49 my $ActionsExecutions =
50 $ListDetectMitigationActionsExecutionsResponse->ActionsExecutions;
51 my $NextToken = $ListDetectMitigationActionsExecutionsResponse->NextToken;
52  
53 # Returns a L<Paws::IoT::ListDetectMitigationActionsExecutionsResponse> object.
54  
55 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.
56 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iot/ListDetectMitigationActionsExecutions>
57  
58 =head1 ATTRIBUTES
59  
60  
61 =head2 EndTime => Str
62  
63 The end of the time period for which ML Detect mitigation actions
64 executions are returned.
65  
66  
67  
68 =head2 MaxResults => Int
69  
70 The maximum number of results to return at one time. The default is 25.
71  
72  
73  
74 =head2 NextToken => Str
75  
76 The token for the next set of results.
77  
78  
79  
80 =head2 StartTime => Str
81  
82 A filter to limit results to those found after the specified time. You
83 must specify either the startTime and endTime or the taskId, but not
84 both.
85  
86  
87  
88 =head2 TaskId => Str
89  
90 The unique identifier of the task.
91  
92  
93  
94 =head2 ThingName => Str
95  
96 The name of the thing whose mitigation actions are listed.
97  
98  
99  
100 =head2 ViolationId => Str
101  
102 The unique identifier of the violation.
103  
104  
105  
106  
107 =head1 SEE ALSO
108  
109 This class forms part of L<Paws>, documenting arguments for method ListDetectMitigationActionsExecutions in L<Paws::IoT>
110  
111 =head1 BUGS and CONTRIBUTIONS
112  
113 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
114  
115 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
116  
117 =cut
118