line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::SNS::CreatePlatformEndpoint; |
3
|
1
|
|
|
1
|
|
450
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
has Attributes => (is => 'ro', isa => 'Paws::SNS::MapStringToString'); |
5
|
|
|
|
|
|
|
has CustomUserData => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has PlatformApplicationArn => (is => 'ro', isa => 'Str', required => 1); |
7
|
|
|
|
|
|
|
has Token => (is => 'ro', isa => 'Str', required => 1); |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
6444
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreatePlatformEndpoint'); |
12
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SNS::CreateEndpointResponse'); |
13
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreatePlatformEndpointResult'); |
14
|
|
|
|
|
|
|
1; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
### main pod documentation begin ### |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Paws::SNS::CreatePlatformEndpoint - Arguments for method CreatePlatformEndpoint on Paws::SNS |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CreatePlatformEndpoint on the |
25
|
|
|
|
|
|
|
Amazon Simple Notification Service service. Use the attributes of this class |
26
|
|
|
|
|
|
|
as arguments to method CreatePlatformEndpoint. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePlatformEndpoint. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
As an example: |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$service_obj->CreatePlatformEndpoint(Att1 => $value1, Att2 => $value2, ...); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
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. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 Attributes => L<Paws::SNS::MapStringToString> |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
For a list of attributes, see SetEndpointAttributes. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 CustomUserData => Str |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Arbitrary user data to associate with the endpoint. Amazon SNS does not |
48
|
|
|
|
|
|
|
use this data. The data must be in UTF-8 format and less than 2KB. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 B<REQUIRED> PlatformApplicationArn => Str |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
PlatformApplicationArn returned from CreatePlatformApplication is used |
55
|
|
|
|
|
|
|
to create a an endpoint. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 B<REQUIRED> Token => Str |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Unique identifier created by the notification service for an app on a |
62
|
|
|
|
|
|
|
device. The specific name for Token will vary, depending on which |
63
|
|
|
|
|
|
|
notification service is being used. For example, when using APNS as the |
64
|
|
|
|
|
|
|
notification service, you need the device token. Alternatively, when |
65
|
|
|
|
|
|
|
using GCM or ADM, the device token equivalent is called the |
66
|
|
|
|
|
|
|
registration ID. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 SEE ALSO |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CreatePlatformEndpoint in L<Paws::SNS> |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=cut |
82
|
|
|
|
|
|
|
|