blib/lib/Paws/SNS/SetEndpointAttributes.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SNS::SetEndpointAttributes;
3 use Moose;
4 has Attributes => (is => 'ro', isa => 'Paws::SNS::MapStringToString', required => 1);
5 has EndpointArn => (is => 'ro', isa => 'Str', required => 1);
6  
7 use MooseX::ClassAttribute;
8  
9 class_has _api_call => (isa => 'Str', is => 'ro', default => 'SetEndpointAttributes');
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::SetEndpointAttributes - Arguments for method SetEndpointAttributes on L<Paws::SNS>
19  
20 =head1 DESCRIPTION
21  
22 This class represents the parameters used for calling the method SetEndpointAttributes on the
23 L<Amazon Simple Notification Service|Paws::SNS> service. Use the attributes of this class
24 as arguments to method SetEndpointAttributes.
25  
26 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SetEndpointAttributes.
27  
28 =head1 SYNOPSIS
29  
30 my $sns = Paws->service('SNS');
31 $sns->SetEndpointAttributes(
32 Attributes => { 'MyString' => 'MyString', },
33 EndpointArn => '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/SetEndpointAttributes>
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 B<REQUIRED> Attributes => L<Paws::SNS::MapStringToString>
44  
45 A map of the endpoint attributes. Attributes in this map include the
46 following:
47  
48 =over
49  
50 =item *
51  
52 C<CustomUserData> E<ndash> arbitrary user data to associate with the
53 endpoint. Amazon SNS does not use this data. The data must be in UTF-8
54 format and less than 2KB.
55  
56 =item *
57  
58 C<Enabled> E<ndash> flag that enables/disables delivery to the
59 endpoint. Amazon SNS will set this to false when a notification service
60 indicates to Amazon SNS that the endpoint is invalid. Users can set it
61 back to true, typically after updating Token.
62  
63 =item *
64  
65 C<Token> E<ndash> device token, also referred to as a registration id,
66 for an app and mobile device. This is returned from the notification
67 service when an app and mobile device are registered with the
68 notification service.
69  
70 =back
71  
72  
73  
74  
75 =head2 B<REQUIRED> EndpointArn => Str
76  
77 EndpointArn used for SetEndpointAttributes action.
78  
79  
80  
81  
82 =head1 SEE ALSO
83  
84 This class forms part of L<Paws>, documenting arguments for method SetEndpointAttributes in L<Paws::SNS>
85  
86 =head1 BUGS and CONTRIBUTIONS
87  
88 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
89  
90 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
91  
92 =cut
93