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

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IoT::MitigationActionParams;
3 use Moose;
4 has AddThingsToThingGroupParams => (is => 'ro', isa => 'Paws::IoT::AddThingsToThingGroupParams', request_name => 'addThingsToThingGroupParams', traits => ['NameInRequest']);
5 has EnableIoTLoggingParams => (is => 'ro', isa => 'Paws::IoT::EnableIoTLoggingParams', request_name => 'enableIoTLoggingParams', traits => ['NameInRequest']);
6 has PublishFindingToSnsParams => (is => 'ro', isa => 'Paws::IoT::PublishFindingToSnsParams', request_name => 'publishFindingToSnsParams', traits => ['NameInRequest']);
7 has ReplaceDefaultPolicyVersionParams => (is => 'ro', isa => 'Paws::IoT::ReplaceDefaultPolicyVersionParams', request_name => 'replaceDefaultPolicyVersionParams', traits => ['NameInRequest']);
8 has UpdateCACertificateParams => (is => 'ro', isa => 'Paws::IoT::UpdateCACertificateParams', request_name => 'updateCACertificateParams', traits => ['NameInRequest']);
9 has UpdateDeviceCertificateParams => (is => 'ro', isa => 'Paws::IoT::UpdateDeviceCertificateParams', request_name => 'updateDeviceCertificateParams', traits => ['NameInRequest']);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::IoT::MitigationActionParams
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::IoT::MitigationActionParams object:
29  
30 $service_obj->Method(Att1 => { AddThingsToThingGroupParams => $value, ..., UpdateDeviceCertificateParams => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::MitigationActionParams object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->AddThingsToThingGroupParams
38  
39 =head1 DESCRIPTION
40  
41 The set of parameters for this mitigation action. You can specify only
42 one type of parameter (in other words, you can apply only one action
43 for each defined mitigation action).
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 AddThingsToThingGroupParams => L<Paws::IoT::AddThingsToThingGroupParams>
49  
50 Parameters to define a mitigation action that moves devices associated
51 with a certificate to one or more specified thing groups, typically for
52 quarantine.
53  
54  
55 =head2 EnableIoTLoggingParams => L<Paws::IoT::EnableIoTLoggingParams>
56  
57 Parameters to define a mitigation action that enables AWS IoT logging
58 at a specified level of detail.
59  
60  
61 =head2 PublishFindingToSnsParams => L<Paws::IoT::PublishFindingToSnsParams>
62  
63 Parameters to define a mitigation action that publishes findings to
64 Amazon Simple Notification Service (Amazon SNS. You can implement your
65 own custom actions in response to the Amazon SNS messages.
66  
67  
68 =head2 ReplaceDefaultPolicyVersionParams => L<Paws::IoT::ReplaceDefaultPolicyVersionParams>
69  
70 Parameters to define a mitigation action that adds a blank policy to
71 restrict permissions.
72  
73  
74 =head2 UpdateCACertificateParams => L<Paws::IoT::UpdateCACertificateParams>
75  
76 Parameters to define a mitigation action that changes the state of the
77 CA certificate to inactive.
78  
79  
80 =head2 UpdateDeviceCertificateParams => L<Paws::IoT::UpdateDeviceCertificateParams>
81  
82 Parameters to define a mitigation action that changes the state of the
83 device certificate to inactive.
84  
85  
86  
87 =head1 SEE ALSO
88  
89 This class forms part of L<Paws>, describing an object used in L<Paws::IoT>
90  
91 =head1 BUGS and CONTRIBUTIONS
92  
93 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
94  
95 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
96  
97 =cut
98