blib/lib/Paws/Config/DeliveryChannel.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::Config::DeliveryChannel;
3 use Moose;
4 has ConfigSnapshotDeliveryProperties => (is => 'ro', isa => 'Paws::Config::ConfigSnapshotDeliveryProperties', request_name => 'configSnapshotDeliveryProperties', traits => ['NameInRequest']);
5 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
6 has S3BucketName => (is => 'ro', isa => 'Str', request_name => 's3BucketName', traits => ['NameInRequest']);
7 has S3KeyPrefix => (is => 'ro', isa => 'Str', request_name => 's3KeyPrefix', traits => ['NameInRequest']);
8 has S3KmsKeyArn => (is => 'ro', isa => 'Str', request_name => 's3KmsKeyArn', traits => ['NameInRequest']);
9 has SnsTopicARN => (is => 'ro', isa => 'Str', request_name => 'snsTopicARN', traits => ['NameInRequest']);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::Config::DeliveryChannel
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::Config::DeliveryChannel object:
29  
30 $service_obj->Method(Att1 => { ConfigSnapshotDeliveryProperties => $value, ..., SnsTopicARN => $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::Config::DeliveryChannel object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->ConfigSnapshotDeliveryProperties
38  
39 =head1 DESCRIPTION
40  
41 The channel through which AWS Config delivers notifications and updated
42 configuration states.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 ConfigSnapshotDeliveryProperties => L<Paws::Config::ConfigSnapshotDeliveryProperties>
48  
49 The options for how often AWS Config delivers configuration snapshots
50 to the Amazon S3 bucket.
51  
52  
53 =head2 Name => Str
54  
55 The name of the delivery channel. By default, AWS Config assigns the
56 name "default" when creating the delivery channel. To change the
57 delivery channel name, you must use the DeleteDeliveryChannel action to
58 delete your current delivery channel, and then you must use the
59 PutDeliveryChannel command to create a delivery channel that has the
60 desired name.
61  
62  
63 =head2 S3BucketName => Str
64  
65 The name of the Amazon S3 bucket to which AWS Config delivers
66 configuration snapshots and configuration history files.
67  
68 If you specify a bucket that belongs to another AWS account, that
69 bucket must have policies that grant access permissions to AWS Config.
70 For more information, see Permissions for the Amazon S3 Bucket
71 (https://docs.aws.amazon.com/config/latest/developerguide/s3-bucket-policy.html)
72 in the AWS Config Developer Guide.
73  
74  
75 =head2 S3KeyPrefix => Str
76  
77 The prefix for the specified Amazon S3 bucket.
78  
79  
80 =head2 S3KmsKeyArn => Str
81  
82 The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS)
83 customer managed key (CMK) used to encrypt objects delivered by AWS
84 Config. Must belong to the same Region as the destination S3 bucket.
85  
86  
87 =head2 SnsTopicARN => Str
88  
89 The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS
90 Config sends notifications about configuration changes.
91  
92 If you choose a topic from another account, the topic must have
93 policies that grant access permissions to AWS Config. For more
94 information, see Permissions for the Amazon SNS Topic
95 (https://docs.aws.amazon.com/config/latest/developerguide/sns-topic-policy.html)
96 in the AWS Config Developer Guide.
97  
98  
99  
100 =head1 SEE ALSO
101  
102 This class forms part of L<Paws>, describing an object used in L<Paws::Config>
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