| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Pinpoint::JourneyPushMessage; | ||
| 3 | use Moose; | ||
| 4 | has TimeToLive => (is => 'ro', isa => 'Str'); | ||
| 5 | |||
| 6 | 1; | ||
| 7 | |||
| 8 | ### main pod documentation begin ### | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Paws::Pinpoint::JourneyPushMessage | ||
| 13 | |||
| 14 | =head1 USAGE | ||
| 15 | |||
| 16 | This class represents one of two things: | ||
| 17 | |||
| 18 | =head3 Arguments in a call to a service | ||
| 19 | |||
| 20 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 21 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 22 | |||
| 23 | As an example, if Att1 is expected to be a Paws::Pinpoint::JourneyPushMessage object: | ||
| 24 | |||
| 25 | $service_obj->Method(Att1 => { TimeToLive => $value, ..., TimeToLive => $value }); | ||
| 26 | |||
| 27 | =head3 Results returned from an API call | ||
| 28 | |||
| 29 | Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::JourneyPushMessage object: | ||
| 30 | |||
| 31 | $result = $service_obj->Method(...); | ||
| 32 | $result->Att1->TimeToLive | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | Specifies the message configuration for a push notification that's sent | ||
| 37 | to participants in a journey. | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 TimeToLive => Str | ||
| 43 | |||
| 44 | The number of seconds that the push notification service should keep | ||
| 45 | the message, if the service is unable to deliver the notification the | ||
| 46 | first time. This value is converted to an expiration value when it's | ||
| 47 | sent to a push-notification service. If this value is 0, the service | ||
| 48 | treats the notification as if it expires immediately and the service | ||
| 49 | doesn't store or try to deliver the notification again. | ||
| 50 | |||
| 51 | This value doesn't apply to messages that are sent through the Amazon | ||
| 52 | Device Messaging (ADM) service. | ||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | =head1 SEE ALSO | ||
| 57 | |||
| 58 | This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint> | ||
| 59 | |||
| 60 | =head1 BUGS and CONTRIBUTIONS | ||
| 61 | |||
| 62 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 63 | |||
| 64 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 65 | |||
| 66 | =cut | ||
| 67 |