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

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IoT::ListAuditSuppressions;
3 use Moose;
4 has AscendingOrder => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'ascendingOrder');
5 has CheckName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'checkName');
6 has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults');
7 has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken');
8 has ResourceIdentifier => (is => 'ro', isa => 'Paws::IoT::ResourceIdentifier', traits => ['NameInRequest'], request_name => 'resourceIdentifier');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAuditSuppressions');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/audit/suppressions/list');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT::ListAuditSuppressionsResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::IoT::ListAuditSuppressions - Arguments for method ListAuditSuppressions on L<Paws::IoT>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ListAuditSuppressions on the
27 L<AWS IoT|Paws::IoT> service. Use the attributes of this class
28 as arguments to method ListAuditSuppressions.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAuditSuppressions.
31  
32 =head1 SYNOPSIS
33  
34 my $iot = Paws->service('IoT');
35 my $ListAuditSuppressionsResponse = $iot->ListAuditSuppressions(
36 AscendingOrder => 1, # OPTIONAL
37 CheckName => 'MyAuditCheckName', # OPTIONAL
38 MaxResults => 1, # OPTIONAL
39 NextToken => 'MyNextToken', # OPTIONAL
40 ResourceIdentifier => {
41 Account => 'MyAwsAccountId', # min: 12, max: 12; OPTIONAL
42 CaCertificateId => 'MyCertificateId', # min: 64, max: 64; OPTIONAL
43 ClientId => 'MyClientId', # OPTIONAL
44 CognitoIdentityPoolId => 'MyCognitoIdentityPoolId', # OPTIONAL
45 DeviceCertificateId => 'MyCertificateId', # min: 64, max: 64; OPTIONAL
46 IamRoleArn => 'MyRoleArn', # min: 20, max: 2048; OPTIONAL
47 PolicyVersionIdentifier => {
48 PolicyName => 'MyPolicyName', # min: 1, max: 128; OPTIONAL
49 PolicyVersionId => 'MyPolicyVersionId', # OPTIONAL
50 }, # OPTIONAL
51 RoleAliasArn => 'MyRoleAliasArn', # min: 1, max: 2048; OPTIONAL
52 }, # OPTIONAL
53 );
54  
55 # Results:
56 my $NextToken = $ListAuditSuppressionsResponse->NextToken;
57 my $Suppressions = $ListAuditSuppressionsResponse->Suppressions;
58  
59 # Returns a L<Paws::IoT::ListAuditSuppressionsResponse> object.
60  
61 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.
62 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iot/ListAuditSuppressions>
63  
64 =head1 ATTRIBUTES
65  
66  
67 =head2 AscendingOrder => Bool
68  
69 Determines whether suppressions are listed in ascending order by
70 expiration date or not. If parameter isn't provided,
71 C<ascendingOrder=true>.
72  
73  
74  
75 =head2 CheckName => Str
76  
77  
78  
79  
80  
81 =head2 MaxResults => Int
82  
83 The maximum number of results to return at one time. The default is 25.
84  
85  
86  
87 =head2 NextToken => Str
88  
89 The token for the next set of results.
90  
91  
92  
93 =head2 ResourceIdentifier => L<Paws::IoT::ResourceIdentifier>
94  
95  
96  
97  
98  
99  
100 =head1 SEE ALSO
101  
102 This class forms part of L<Paws>, documenting arguments for method ListAuditSuppressions in L<Paws::IoT>
103  
104 =head1 BUGS and CONTRIBUTIONS
105  
106 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
107  
108 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
109  
110 =cut
111