blib/lib/Paws/Pinpoint/CustomDeliveryConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Pinpoint::CustomDeliveryConfiguration;
3 use Moose;
4 has DeliveryUri => (is => 'ro', isa => 'Str', required => 1);
5 has EndpointTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::Pinpoint::CustomDeliveryConfiguration
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::Pinpoint::CustomDeliveryConfiguration object:
25  
26 $service_obj->Method(Att1 => { DeliveryUri => $value, ..., EndpointTypes => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::CustomDeliveryConfiguration object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->DeliveryUri
34  
35 =head1 DESCRIPTION
36  
37 Specifies the delivery configuration settings for sending a campaign or
38 campaign treatment through a custom channel. This object is required if
39 you use the CampaignCustomMessage object to define the message to send
40 for the campaign or campaign treatment.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 B<REQUIRED> DeliveryUri => Str
46  
47 The destination to send the campaign or treatment to. This value can be
48 one of the following:
49  
50 =over
51  
52 =item *
53  
54 The name or Amazon Resource Name (ARN) of an AWS Lambda function to
55 invoke to handle delivery of the campaign or treatment.
56  
57 =item *
58  
59 The URL for a web application or service that supports HTTPS and can
60 receive the message. The URL has to be a full URL, including the HTTPS
61 protocol.
62  
63 =back
64  
65  
66  
67 =head2 EndpointTypes => ArrayRef[Str|Undef]
68  
69 The types of endpoints to send the campaign or treatment to. Each valid
70 value maps to a type of channel that you can associate with an endpoint
71 by using the ChannelType property of an endpoint.
72  
73  
74  
75 =head1 SEE ALSO
76  
77 This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint>
78  
79 =head1 BUGS and CONTRIBUTIONS
80  
81 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
82  
83 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
84  
85 =cut
86