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

filter: Statementstmt 0.0% 0 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 24 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IoT::CreateAuditSuppression;
3 use Moose;
4 has CheckName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'checkName', required => 1);
5 has ClientRequestToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientRequestToken', required => 1);
6 has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description');
7 has ExpirationDate => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'expirationDate');
8 has ResourceIdentifier => (is => 'ro', isa => 'Paws::IoT::ResourceIdentifier', traits => ['NameInRequest'], request_name => 'resourceIdentifier', required => 1);
9 has SuppressIndefinitely => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'suppressIndefinitely');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateAuditSuppression');
14 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/audit/suppressions/create');
15 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT::CreateAuditSuppressionResponse');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::IoT::CreateAuditSuppression - Arguments for method CreateAuditSuppression on L<Paws::IoT>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method CreateAuditSuppression on the
28 L<AWS IoT|Paws::IoT> service. Use the attributes of this class
29 as arguments to method CreateAuditSuppression.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAuditSuppression.
32  
33 =head1 SYNOPSIS
34  
35 my $iot = Paws->service('IoT');
36 my $CreateAuditSuppressionResponse = $iot->CreateAuditSuppression(
37 CheckName => 'MyAuditCheckName',
38 ClientRequestToken => 'MyClientRequestToken',
39 ResourceIdentifier => {
40 Account => 'MyAwsAccountId', # min: 12, max: 12; OPTIONAL
41 CaCertificateId => 'MyCertificateId', # min: 64, max: 64; OPTIONAL
42 ClientId => 'MyClientId', # OPTIONAL
43 CognitoIdentityPoolId => 'MyCognitoIdentityPoolId', # OPTIONAL
44 DeviceCertificateId => 'MyCertificateId', # min: 64, max: 64; OPTIONAL
45 IamRoleArn => 'MyRoleArn', # min: 20, max: 2048; OPTIONAL
46 PolicyVersionIdentifier => {
47 PolicyName => 'MyPolicyName', # min: 1, max: 128; OPTIONAL
48 PolicyVersionId => 'MyPolicyVersionId', # OPTIONAL
49 }, # OPTIONAL
50 RoleAliasArn => 'MyRoleAliasArn', # min: 1, max: 2048; OPTIONAL
51 },
52 Description => 'MyAuditDescription', # OPTIONAL
53 ExpirationDate => '1970-01-01T01:00:00', # OPTIONAL
54 SuppressIndefinitely => 1, # OPTIONAL
55 );
56  
57 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.
58 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iot/CreateAuditSuppression>
59  
60 =head1 ATTRIBUTES
61  
62  
63 =head2 B<REQUIRED> CheckName => Str
64  
65  
66  
67  
68  
69 =head2 B<REQUIRED> ClientRequestToken => Str
70  
71 The epoch timestamp in seconds at which this suppression expires.
72  
73  
74  
75 =head2 Description => Str
76  
77 The description of the audit suppression.
78  
79  
80  
81 =head2 ExpirationDate => Str
82  
83 The epoch timestamp in seconds at which this suppression expires.
84  
85  
86  
87 =head2 B<REQUIRED> ResourceIdentifier => L<Paws::IoT::ResourceIdentifier>
88  
89  
90  
91  
92  
93 =head2 SuppressIndefinitely => Bool
94  
95 Indicates whether a suppression should exist indefinitely or not.
96  
97  
98  
99  
100 =head1 SEE ALSO
101  
102 This class forms part of L<Paws>, documenting arguments for method CreateAuditSuppression 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