blib/lib/Paws/PinpointEmail/ListDomainDeliverabilityCampaigns.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::PinpointEmail::ListDomainDeliverabilityCampaigns;
3 use Moose;
4 has EndDate => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'EndDate', required => 1);
5 has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'NextToken');
6 has PageSize => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'PageSize');
7 has StartDate => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'StartDate', required => 1);
8 has SubscribedDomain => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'SubscribedDomain', required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListDomainDeliverabilityCampaigns');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/email/deliverability-dashboard/domains/{SubscribedDomain}/campaigns');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::PinpointEmail::ListDomainDeliverabilityCampaignsResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::PinpointEmail::ListDomainDeliverabilityCampaigns - Arguments for method ListDomainDeliverabilityCampaigns on L<Paws::PinpointEmail>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ListDomainDeliverabilityCampaigns on the
27 L<Amazon Pinpoint Email Service|Paws::PinpointEmail> service. Use the attributes of this class
28 as arguments to method ListDomainDeliverabilityCampaigns.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListDomainDeliverabilityCampaigns.
31  
32 =head1 SYNOPSIS
33  
34 my $email = Paws->service('PinpointEmail');
35 my $ListDomainDeliverabilityCampaignsResponse =
36 $email->ListDomainDeliverabilityCampaigns(
37 EndDate => '1970-01-01T01:00:00',
38 StartDate => '1970-01-01T01:00:00',
39 SubscribedDomain => 'MyDomain',
40 NextToken => 'MyNextToken', # OPTIONAL
41 PageSize => 1, # OPTIONAL
42 );
43  
44 # Results:
45 my $DomainDeliverabilityCampaigns =
46 $ListDomainDeliverabilityCampaignsResponse->DomainDeliverabilityCampaigns;
47 my $NextToken = $ListDomainDeliverabilityCampaignsResponse->NextToken;
48  
49 # Returns a L<Paws::PinpointEmail::ListDomainDeliverabilityCampaignsResponse> object.
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/email/ListDomainDeliverabilityCampaigns>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 B<REQUIRED> EndDate => Str
58  
59 The last day, in Unix time format, that you want to obtain
60 deliverability data for. This value has to be less than or equal to 30
61 days after the value of the C<StartDate> parameter.
62  
63  
64  
65 =head2 NextToken => Str
66  
67 A token thatE<rsquo>s returned from a previous call to the
68 C<ListDomainDeliverabilityCampaigns> operation. This token indicates
69 the position of a campaign in the list of campaigns.
70  
71  
72  
73 =head2 PageSize => Int
74  
75 The maximum number of results to include in response to a single call
76 to the C<ListDomainDeliverabilityCampaigns> operation. If the number of
77 results is larger than the number that you specify in this parameter,
78 the response includes a C<NextToken> element, which you can use to
79 obtain additional results.
80  
81  
82  
83 =head2 B<REQUIRED> StartDate => Str
84  
85 The first day, in Unix time format, that you want to obtain
86 deliverability data for.
87  
88  
89  
90 =head2 B<REQUIRED> SubscribedDomain => Str
91  
92 The domain to obtain deliverability data for.
93  
94  
95  
96  
97 =head1 SEE ALSO
98  
99 This class forms part of L<Paws>, documenting arguments for method ListDomainDeliverabilityCampaigns in L<Paws::PinpointEmail>
100  
101 =head1 BUGS and CONTRIBUTIONS
102  
103 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
104  
105 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
106  
107 =cut
108