« blib/lib/Paws/Pinpoint/PhoneNumberValidateResponse.pm
↑ Summary
blib/lib/Paws/Pinpoint/PushMessageActivity.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Pinpoint::PublicEndpoint; | ||
| 3 | use Moose; | ||
| 4 | has Address => (is => 'ro', isa => 'Str'); | ||
| 5 | has Attributes => (is => 'ro', isa => 'Paws::Pinpoint::MapOfListOf__string'); | ||
| 6 | has ChannelType => (is => 'ro', isa => 'Str'); | ||
| 7 | has Demographic => (is => 'ro', isa => 'Paws::Pinpoint::EndpointDemographic'); | ||
| 8 | has EffectiveDate => (is => 'ro', isa => 'Str'); | ||
| 9 | has EndpointStatus => (is => 'ro', isa => 'Str'); | ||
| 10 | has Location => (is => 'ro', isa => 'Paws::Pinpoint::EndpointLocation'); | ||
| 11 | has Metrics => (is => 'ro', isa => 'Paws::Pinpoint::MapOf__double'); | ||
| 12 | has OptOut => (is => 'ro', isa => 'Str'); | ||
| 13 | has RequestId => (is => 'ro', isa => 'Str'); | ||
| 14 | has User => (is => 'ro', isa => 'Paws::Pinpoint::EndpointUser'); | ||
| 15 | |||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::Pinpoint::PublicEndpoint | ||
| 23 | |||
| 24 | =head1 USAGE | ||
| 25 | |||
| 26 | This class represents one of two things: | ||
| 27 | |||
| 28 | =head3 Arguments in a call to a service | ||
| 29 | |||
| 30 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 31 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 32 | |||
| 33 | As an example, if Att1 is expected to be a Paws::Pinpoint::PublicEndpoint object: | ||
| 34 | |||
| 35 | $service_obj->Method(Att1 => { Address => $value, ..., User => $value }); | ||
| 36 | |||
| 37 | =head3 Results returned from an API call | ||
| 38 | |||
| 39 | Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::PublicEndpoint object: | ||
| 40 | |||
| 41 | $result = $service_obj->Method(...); | ||
| 42 | $result->Att1->Address | ||
| 43 | |||
| 44 | =head1 DESCRIPTION | ||
| 45 | |||
| 46 | Specifies the properties and attributes of an endpoint that's | ||
| 47 | associated with an event. | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 Address => Str | ||
| 53 | |||
| 54 | The unique identifier for the recipient, such as a device token, email | ||
| 55 | address, or mobile phone number. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 Attributes => L<Paws::Pinpoint::MapOfListOf__string> | ||
| 59 | |||
| 60 | One or more custom attributes that describe the endpoint by associating | ||
| 61 | a name with an array of values. You can use these attributes as filter | ||
| 62 | criteria when you create segments. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 ChannelType => Str | ||
| 66 | |||
| 67 | The channel that's used when sending messages or push notifications to | ||
| 68 | the endpoint. | ||
| 69 | |||
| 70 | |||
| 71 | =head2 Demographic => L<Paws::Pinpoint::EndpointDemographic> | ||
| 72 | |||
| 73 | The demographic information for the endpoint, such as the time zone and | ||
| 74 | platform. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 EffectiveDate => Str | ||
| 78 | |||
| 79 | The date and time, in ISO 8601 format, when the endpoint was last | ||
| 80 | updated. | ||
| 81 | |||
| 82 | |||
| 83 | =head2 EndpointStatus => Str | ||
| 84 | |||
| 85 | Specifies whether to send messages or push notifications to the | ||
| 86 | endpoint. Valid values are: ACTIVE, messages are sent to the endpoint; | ||
| 87 | and, INACTIVE, messages arenE<rsquo>t sent to the endpoint. | ||
| 88 | |||
| 89 | Amazon Pinpoint automatically sets this value to ACTIVE when you create | ||
| 90 | an endpoint or update an existing endpoint. Amazon Pinpoint | ||
| 91 | automatically sets this value to INACTIVE if you update another | ||
| 92 | endpoint that has the same address specified by the Address property. | ||
| 93 | |||
| 94 | |||
| 95 | =head2 Location => L<Paws::Pinpoint::EndpointLocation> | ||
| 96 | |||
| 97 | The geographic information for the endpoint. | ||
| 98 | |||
| 99 | |||
| 100 | =head2 Metrics => L<Paws::Pinpoint::MapOf__double> | ||
| 101 | |||
| 102 | One or more custom metrics that your app reports to Amazon Pinpoint for | ||
| 103 | the endpoint. | ||
| 104 | |||
| 105 | |||
| 106 | =head2 OptOut => Str | ||
| 107 | |||
| 108 | Specifies whether the user who's associated with the endpoint has opted | ||
| 109 | out of receiving messages and push notifications from you. Possible | ||
| 110 | values are: ALL, the user has opted out and doesn't want to receive any | ||
| 111 | messages or push notifications; and, NONE, the user hasn't opted out | ||
| 112 | and wants to receive all messages and push notifications. | ||
| 113 | |||
| 114 | |||
| 115 | =head2 RequestId => Str | ||
| 116 | |||
| 117 | A unique identifier that's generated each time the endpoint is updated. | ||
| 118 | |||
| 119 | |||
| 120 | =head2 User => L<Paws::Pinpoint::EndpointUser> | ||
| 121 | |||
| 122 | One or more custom user attributes that your app reports to Amazon | ||
| 123 | Pinpoint for the user who's associated with the endpoint. | ||
| 124 | |||
| 125 | |||
| 126 | |||
| 127 | =head1 SEE ALSO | ||
| 128 | |||
| 129 | This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint> | ||
| 130 | |||
| 131 | =head1 BUGS and CONTRIBUTIONS | ||
| 132 | |||
| 133 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 134 | |||
| 135 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 136 | |||
| 137 | =cut | ||
| 138 |