blib/lib/Paws/SNS/SetPlatformApplicationAttributes.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/SNS/PublishResponse.pm ↑ Summary blib/lib/Paws/SNS/Subscribe.pm »
1  
2 package Paws::SNS::SetPlatformApplicationAttributes;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has Attributes => (is => 'ro', isa => 'Paws::SNS::MapStringToString', required => 1);
5 1 has PlatformApplicationArn => (is => 'ro', isa => 'Str', required => 1);
6  
7 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'SetPlatformApplicationAttributes');
10 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
11 1 class_has _result_key => (isa => 'Str', is => 'ro');
12 1 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::SNS::SetPlatformApplicationAttributes - Arguments for method SetPlatformApplicationAttributes on L<Paws::SNS>
19  
20 =head1 DESCRIPTION
21  
22 This class represents the parameters used for calling the method SetPlatformApplicationAttributes on the
23 L<Amazon Simple Notification Service|Paws::SNS> service. Use the attributes of this class
24 as arguments to method SetPlatformApplicationAttributes.
25  
26 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SetPlatformApplicationAttributes.
27  
28 =head1 SYNOPSIS
29  
30 my $sns = Paws->service('SNS');
31 $sns->SetPlatformApplicationAttributes(
32 Attributes => { 'MyString' => 'MyString', },
33 PlatformApplicationArn => 'MyString',
34  
35 );
36  
37 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.
38 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/sns/SetPlatformApplicationAttributes>
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 B<REQUIRED> Attributes => L<Paws::SNS::MapStringToString>
44  
45 A map of the platform application attributes. Attributes in this map
46 include the following:
47  
48 =over
49  
50 =item *
51  
52 C<PlatformCredential> E<ndash> The credential received from the
53 notification service. For C<APNS> and C<APNS_SANDBOX>,
54 C<PlatformCredential> is C<private key>. For C<GCM> (Firebase Cloud
55 Messaging), C<PlatformCredential> is C<API key>. For C<ADM>,
56 C<PlatformCredential> is C<client secret>.
57  
58 =item *
59  
60 C<PlatformPrincipal> E<ndash> The principal received from the
61 notification service. For C<APNS> and C<APNS_SANDBOX>,
62 C<PlatformPrincipal> is C<SSL certificate>. For C<GCM> (Firebase Cloud
63 Messaging), there is no C<PlatformPrincipal>. For C<ADM>,
64 C<PlatformPrincipal> is C<client id>.
65  
66 =item *
67  
68 C<EventEndpointCreated> E<ndash> Topic ARN to which C<EndpointCreated>
69 event notifications are sent.
70  
71 =item *
72  
73 C<EventEndpointDeleted> E<ndash> Topic ARN to which C<EndpointDeleted>
74 event notifications are sent.
75  
76 =item *
77  
78 C<EventEndpointUpdated> E<ndash> Topic ARN to which C<EndpointUpdate>
79 event notifications are sent.
80  
81 =item *
82  
83 C<EventDeliveryFailure> E<ndash> Topic ARN to which C<DeliveryFailure>
84 event notifications are sent upon Direct Publish delivery failure
85 (permanent) to one of the application's endpoints.
86  
87 =item *
88  
89 C<SuccessFeedbackRoleArn> E<ndash> IAM role ARN used to give Amazon SNS
90 write access to use CloudWatch Logs on your behalf.
91  
92 =item *
93  
94 C<FailureFeedbackRoleArn> E<ndash> IAM role ARN used to give Amazon SNS
95 write access to use CloudWatch Logs on your behalf.
96  
97 =item *
98  
99 C<SuccessFeedbackSampleRate> E<ndash> Sample rate percentage (0-100) of
100 successfully delivered messages.
101  
102 =back
103  
104  
105  
106  
107 =head2 B<REQUIRED> PlatformApplicationArn => Str
108  
109 PlatformApplicationArn for SetPlatformApplicationAttributes action.
110  
111  
112  
113  
114 =head1 SEE ALSO
115  
116 This class forms part of L<Paws>, documenting arguments for method SetPlatformApplicationAttributes in L<Paws::SNS>
117  
118 =head1 BUGS and CONTRIBUTIONS
119  
120 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
121  
122 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
123  
124 =cut
125  
« blib/lib/Paws/SNS/PublishResponse.pm ↑ Summary blib/lib/Paws/SNS/Subscribe.pm »