blib/lib/Paws/SESv2/CreateContactList.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SESv2::CreateContactList;
3 use Moose;
4 has ContactListName => (is => 'ro', isa => 'Str', required => 1);
5 has Description => (is => 'ro', isa => 'Str');
6 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::SESv2::Tag]');
7 has Topics => (is => 'ro', isa => 'ArrayRef[Paws::SESv2::Topic]');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateContactList');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v2/email/contact-lists');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SESv2::CreateContactListResponse');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::SESv2::CreateContactList - Arguments for method CreateContactList on L<Paws::SESv2>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method CreateContactList on the
26 L<Amazon Simple Email Service|Paws::SESv2> service. Use the attributes of this class
27 as arguments to method CreateContactList.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateContactList.
30  
31 =head1 SYNOPSIS
32  
33 my $email = Paws->service('SESv2');
34 my $CreateContactListResponse = $email->CreateContactList(
35 ContactListName => 'MyContactListName',
36 Description => 'MyDescription', # OPTIONAL
37 Tags => [
38 {
39 Key => 'MyTagKey',
40 Value => 'MyTagValue',
41  
42 },
43 ...
44 ], # OPTIONAL
45 Topics => [
46 {
47 DefaultSubscriptionStatus => 'OPT_IN', # values: OPT_IN, OPT_OUT
48 DisplayName => 'MyDisplayName',
49 TopicName => 'MyTopicName',
50 Description => 'MyDescription',
51 },
52 ...
53 ], # OPTIONAL
54 );
55  
56 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.
57 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/email/CreateContactList>
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 B<REQUIRED> ContactListName => Str
63  
64 The name of the contact list.
65  
66  
67  
68 =head2 Description => Str
69  
70 A description of what the contact list is about.
71  
72  
73  
74 =head2 Tags => ArrayRef[L<Paws::SESv2::Tag>]
75  
76 The tags associated with a contact list.
77  
78  
79  
80 =head2 Topics => ArrayRef[L<Paws::SESv2::Topic>]
81  
82 An interest group, theme, or label within a list. A contact list can
83 have multiple topics.
84  
85  
86  
87  
88 =head1 SEE ALSO
89  
90 This class forms part of L<Paws>, documenting arguments for method CreateContactList in L<Paws::SESv2>
91  
92 =head1 BUGS and CONTRIBUTIONS
93  
94 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
95  
96 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
97  
98 =cut
99