| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Pinpoint::MessageResult; | ||
| 3 | use Moose; | ||
| 4 | has DeliveryStatus => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has MessageId => (is => 'ro', isa => 'Str'); | ||
| 6 | has StatusCode => (is => 'ro', isa => 'Int', required => 1); | ||
| 7 | has StatusMessage => (is => 'ro', isa => 'Str'); | ||
| 8 | has UpdatedToken => (is => 'ro', isa => 'Str'); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::Pinpoint::MessageResult | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::Pinpoint::MessageResult object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { DeliveryStatus => $value, ..., UpdatedToken => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::MessageResult object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->DeliveryStatus | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Provides information about the results of sending a message directly to | ||
| 41 | an endpoint address. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 B<REQUIRED> DeliveryStatus => Str | ||
| 47 | |||
| 48 | The delivery status of the message. Possible values are: | ||
| 49 | |||
| 50 | =over | ||
| 51 | |||
| 52 | =item * | ||
| 53 | |||
| 54 | DUPLICATE - The endpoint address is a duplicate of another endpoint | ||
| 55 | address. Amazon Pinpoint won't attempt to send the message again. | ||
| 56 | |||
| 57 | =item * | ||
| 58 | |||
| 59 | OPT_OUT - The user who's associated with the endpoint address has opted | ||
| 60 | out of receiving messages from you. Amazon Pinpoint won't attempt to | ||
| 61 | send the message again. | ||
| 62 | |||
| 63 | =item * | ||
| 64 | |||
| 65 | PERMANENT_FAILURE - An error occurred when delivering the message to | ||
| 66 | the endpoint address. Amazon Pinpoint won't attempt to send the message | ||
| 67 | again. | ||
| 68 | |||
| 69 | =item * | ||
| 70 | |||
| 71 | SUCCESSFUL - The message was successfully delivered to the endpoint | ||
| 72 | address. | ||
| 73 | |||
| 74 | =item * | ||
| 75 | |||
| 76 | TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't | ||
| 77 | attempt to send the message again. | ||
| 78 | |||
| 79 | =item * | ||
| 80 | |||
| 81 | THROTTLED - Amazon Pinpoint throttled the operation to send the message | ||
| 82 | to the endpoint address. | ||
| 83 | |||
| 84 | =item * | ||
| 85 | |||
| 86 | TIMEOUT - The message couldn't be sent within the timeout period. | ||
| 87 | |||
| 88 | =item * | ||
| 89 | |||
| 90 | UNKNOWN_FAILURE - An unknown error occurred. | ||
| 91 | |||
| 92 | =back | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head2 MessageId => Str | ||
| 97 | |||
| 98 | The unique identifier for the message that was sent. | ||
| 99 | |||
| 100 | |||
| 101 | =head2 B<REQUIRED> StatusCode => Int | ||
| 102 | |||
| 103 | The downstream service status code for delivering the message. | ||
| 104 | |||
| 105 | |||
| 106 | =head2 StatusMessage => Str | ||
| 107 | |||
| 108 | The status message for delivering the message. | ||
| 109 | |||
| 110 | |||
| 111 | =head2 UpdatedToken => Str | ||
| 112 | |||
| 113 | For push notifications that are sent through the GCM channel, specifies | ||
| 114 | whether the endpoint's device registration token was updated as part of | ||
| 115 | delivering the message. | ||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | =head1 SEE ALSO | ||
| 120 | |||
| 121 | This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint> | ||
| 122 | |||
| 123 | =head1 BUGS and CONTRIBUTIONS | ||
| 124 | |||
| 125 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 126 | |||
| 127 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 128 | |||
| 129 | =cut | ||
| 130 |