File Coverage

blib/lib/Paws/SNS/SetPlatformApplicationAttributes.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::SNS::SetPlatformApplicationAttributes;
3 1     1   511 use Moose;
  1     1   3  
  1         8  
  1         683  
  1         3  
  1         8  
4             has Attributes => (is => 'ro', isa => 'Paws::SNS::MapStringToString', required => 1);
5             has PlatformApplicationArn => (is => 'ro', isa => 'Str', required => 1);
6              
7 1     1   8688 use MooseX::ClassAttribute;
  1     1   2  
  1         10  
  1         6567  
  1         2  
  1         8  
8              
9             class_has _api_call => (isa => 'Str', is => 'ro', default => 'SetPlatformApplicationAttributes');
10             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
11             class_has _result_key => (isa => 'Str', is => 'ro');
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::SNS::SetPlatformApplicationAttributes - Arguments for method SetPlatformApplicationAttributes on Paws::SNS
19              
20             =head1 DESCRIPTION
21              
22             This class represents the parameters used for calling the method SetPlatformApplicationAttributes on the
23             Amazon Simple Notification Service 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             As an example:
29              
30             $service_obj->SetPlatformApplicationAttributes(Att1 => $value1, Att2 => $value2, ...);
31              
32             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.
33              
34             =head1 ATTRIBUTES
35              
36              
37             =head2 B<REQUIRED> Attributes => L<Paws::SNS::MapStringToString>
38              
39             A map of the platform application attributes. Attributes in this map
40             include the following:
41              
42             =over
43              
44             =item *
45              
46             C<PlatformCredential> -- The credential received from the notification
47             service. For APNS/APNS_SANDBOX, PlatformCredential is private key. For
48             GCM, PlatformCredential is "API key". For ADM, PlatformCredential is
49             "client secret".
50              
51             =item *
52              
53             C<PlatformPrincipal> -- The principal received from the notification
54             service. For APNS/APNS_SANDBOX, PlatformPrincipal is SSL certificate.
55             For GCM, PlatformPrincipal is not applicable. For ADM,
56             PlatformPrincipal is "client id".
57              
58             =item *
59              
60             C<EventEndpointCreated> -- Topic ARN to which EndpointCreated event
61             notifications should be sent.
62              
63             =item *
64              
65             C<EventEndpointDeleted> -- Topic ARN to which EndpointDeleted event
66             notifications should be sent.
67              
68             =item *
69              
70             C<EventEndpointUpdated> -- Topic ARN to which EndpointUpdate event
71             notifications should be sent.
72              
73             =item *
74              
75             C<EventDeliveryFailure> -- Topic ARN to which DeliveryFailure event
76             notifications should be sent upon Direct Publish delivery failure
77             (permanent) to one of the application's endpoints.
78              
79             =item *
80              
81             C<SuccessFeedbackRoleArn> -- IAM role ARN used to give Amazon SNS write
82             access to use CloudWatch Logs on your behalf.
83              
84             =item *
85              
86             C<FailureFeedbackRoleArn> -- IAM role ARN used to give Amazon SNS write
87             access to use CloudWatch Logs on your behalf.
88              
89             =item *
90              
91             C<SuccessFeedbackSampleRate> -- Sample rate percentage (0-100) of
92             successfully delivered messages.
93              
94             =back
95              
96              
97              
98              
99             =head2 B<REQUIRED> PlatformApplicationArn => Str
100              
101             PlatformApplicationArn for SetPlatformApplicationAttributes action.
102              
103              
104              
105              
106             =head1 SEE ALSO
107              
108             This class forms part of L<Paws>, documenting arguments for method SetPlatformApplicationAttributes in L<Paws::SNS>
109              
110             =head1 BUGS and CONTRIBUTIONS
111              
112             The source code is located here: https://github.com/pplu/aws-sdk-perl
113              
114             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
115              
116             =cut
117