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

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IoT::UpdateAccountAuditConfiguration;
3 use Moose;
4 has AuditCheckConfigurations => (is => 'ro', isa => 'Paws::IoT::AuditCheckConfigurations', traits => ['NameInRequest'], request_name => 'auditCheckConfigurations');
5 has AuditNotificationTargetConfigurations => (is => 'ro', isa => 'Paws::IoT::AuditNotificationTargetConfigurations', traits => ['NameInRequest'], request_name => 'auditNotificationTargetConfigurations');
6 has RoleArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'roleArn');
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateAccountAuditConfiguration');
11 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/audit/configuration');
12 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT::UpdateAccountAuditConfigurationResponse');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::IoT::UpdateAccountAuditConfiguration - Arguments for method UpdateAccountAuditConfiguration on L<Paws::IoT>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method UpdateAccountAuditConfiguration on the
25 L<AWS IoT|Paws::IoT> service. Use the attributes of this class
26 as arguments to method UpdateAccountAuditConfiguration.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateAccountAuditConfiguration.
29  
30 =head1 SYNOPSIS
31  
32 my $iot = Paws->service('IoT');
33 my $UpdateAccountAuditConfigurationResponse =
34 $iot->UpdateAccountAuditConfiguration(
35 AuditCheckConfigurations => {
36 'MyAuditCheckName' => {
37 Enabled => 1, # OPTIONAL
38 },
39 }, # OPTIONAL
40 AuditNotificationTargetConfigurations => {
41 'SNS' => {
42 Enabled => 1, # OPTIONAL
43 RoleArn => 'MyRoleArn', # min: 20, max: 2048; OPTIONAL
44 TargetArn => 'MyTargetArn', # max: 2048; OPTIONAL
45 }, # key: values: SNS
46 }, # OPTIONAL
47 RoleArn => 'MyRoleArn', # OPTIONAL
48 );
49  
50 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.
51 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iot/UpdateAccountAuditConfiguration>
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 AuditCheckConfigurations => L<Paws::IoT::AuditCheckConfigurations>
57  
58 Specifies which audit checks are enabled and disabled for this account.
59 Use C<DescribeAccountAuditConfiguration> to see the list of all checks,
60 including those that are currently enabled.
61  
62 Some data collection might start immediately when certain checks are
63 enabled. When a check is disabled, any data collected so far in
64 relation to the check is deleted.
65  
66 You cannot disable a check if it's used by any scheduled audit. You
67 must first delete the check from the scheduled audit or delete the
68 scheduled audit itself.
69  
70 On the first call to C<UpdateAccountAuditConfiguration>, this parameter
71 is required and must specify at least one enabled check.
72  
73  
74  
75 =head2 AuditNotificationTargetConfigurations => L<Paws::IoT::AuditNotificationTargetConfigurations>
76  
77 Information about the targets to which audit notifications are sent.
78  
79  
80  
81 =head2 RoleArn => Str
82  
83 The Amazon Resource Name (ARN) of the role that grants permission to
84 AWS IoT to access information about your devices, policies,
85 certificates, and other items as required when performing an audit.
86  
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, documenting arguments for method UpdateAccountAuditConfiguration in L<Paws::IoT>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101