« blib/lib/Paws/Pinpoint/PushNotificationTemplateRequest.pm
↑ Summary
blib/lib/Paws/Pinpoint/PutEventStream.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Pinpoint::PushNotificationTemplateResponse; | ||
| 3 | use Moose; | ||
| 4 | has ADM => (is => 'ro', isa => 'Paws::Pinpoint::AndroidPushNotificationTemplate'); | ||
| 5 | has APNS => (is => 'ro', isa => 'Paws::Pinpoint::APNSPushNotificationTemplate'); | ||
| 6 | has Arn => (is => 'ro', isa => 'Str'); | ||
| 7 | has Baidu => (is => 'ro', isa => 'Paws::Pinpoint::AndroidPushNotificationTemplate'); | ||
| 8 | has CreationDate => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | has Default => (is => 'ro', isa => 'Paws::Pinpoint::DefaultPushNotificationTemplate'); | ||
| 10 | has DefaultSubstitutions => (is => 'ro', isa => 'Str'); | ||
| 11 | has GCM => (is => 'ro', isa => 'Paws::Pinpoint::AndroidPushNotificationTemplate'); | ||
| 12 | has LastModifiedDate => (is => 'ro', isa => 'Str', required => 1); | ||
| 13 | has RecommenderId => (is => 'ro', isa => 'Str'); | ||
| 14 | has Tags => (is => 'ro', isa => 'Paws::Pinpoint::MapOf__string', request_name => 'tags', traits => ['NameInRequest']); | ||
| 15 | has TemplateDescription => (is => 'ro', isa => 'Str'); | ||
| 16 | has TemplateName => (is => 'ro', isa => 'Str', required => 1); | ||
| 17 | has TemplateType => (is => 'ro', isa => 'Str', required => 1); | ||
| 18 | has Version => (is => 'ro', isa => 'Str'); | ||
| 19 | |||
| 20 | 1; | ||
| 21 | |||
| 22 | ### main pod documentation begin ### | ||
| 23 | |||
| 24 | =head1 NAME | ||
| 25 | |||
| 26 | Paws::Pinpoint::PushNotificationTemplateResponse | ||
| 27 | |||
| 28 | =head1 USAGE | ||
| 29 | |||
| 30 | This class represents one of two things: | ||
| 31 | |||
| 32 | =head3 Arguments in a call to a service | ||
| 33 | |||
| 34 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 35 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 36 | |||
| 37 | As an example, if Att1 is expected to be a Paws::Pinpoint::PushNotificationTemplateResponse object: | ||
| 38 | |||
| 39 | $service_obj->Method(Att1 => { ADM => $value, ..., Version => $value }); | ||
| 40 | |||
| 41 | =head3 Results returned from an API call | ||
| 42 | |||
| 43 | Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::PushNotificationTemplateResponse object: | ||
| 44 | |||
| 45 | $result = $service_obj->Method(...); | ||
| 46 | $result->Att1->ADM | ||
| 47 | |||
| 48 | =head1 DESCRIPTION | ||
| 49 | |||
| 50 | Provides information about the content and settings for a message | ||
| 51 | template that can be used in messages that are sent through a push | ||
| 52 | notification channel. | ||
| 53 | |||
| 54 | =head1 ATTRIBUTES | ||
| 55 | |||
| 56 | |||
| 57 | =head2 ADM => L<Paws::Pinpoint::AndroidPushNotificationTemplate> | ||
| 58 | |||
| 59 | The message template that's used for the ADM (Amazon Device Messaging) | ||
| 60 | channel. This message template overrides the default template for push | ||
| 61 | notification channels (DefaultPushNotificationTemplate). | ||
| 62 | |||
| 63 | |||
| 64 | =head2 APNS => L<Paws::Pinpoint::APNSPushNotificationTemplate> | ||
| 65 | |||
| 66 | The message template that's used for the APNs (Apple Push Notification | ||
| 67 | service) channel. This message template overrides the default template | ||
| 68 | for push notification channels (DefaultPushNotificationTemplate). | ||
| 69 | |||
| 70 | |||
| 71 | =head2 Arn => Str | ||
| 72 | |||
| 73 | The Amazon Resource Name (ARN) of the message template. | ||
| 74 | |||
| 75 | |||
| 76 | =head2 Baidu => L<Paws::Pinpoint::AndroidPushNotificationTemplate> | ||
| 77 | |||
| 78 | The message template that's used for the Baidu (Baidu Cloud Push) | ||
| 79 | channel. This message template overrides the default template for push | ||
| 80 | notification channels (DefaultPushNotificationTemplate). | ||
| 81 | |||
| 82 | |||
| 83 | =head2 B<REQUIRED> CreationDate => Str | ||
| 84 | |||
| 85 | The date, in ISO 8601 format, when the message template was created. | ||
| 86 | |||
| 87 | |||
| 88 | =head2 Default => L<Paws::Pinpoint::DefaultPushNotificationTemplate> | ||
| 89 | |||
| 90 | The default message template that's used for push notification | ||
| 91 | channels. | ||
| 92 | |||
| 93 | |||
| 94 | =head2 DefaultSubstitutions => Str | ||
| 95 | |||
| 96 | The JSON object that specifies the default values that are used for | ||
| 97 | message variables in the message template. This object is a set of | ||
| 98 | key-value pairs. Each key defines a message variable in the template. | ||
| 99 | The corresponding value defines the default value for that variable. | ||
| 100 | |||
| 101 | |||
| 102 | =head2 GCM => L<Paws::Pinpoint::AndroidPushNotificationTemplate> | ||
| 103 | |||
| 104 | The message template that's used for the GCM channel, which is used to | ||
| 105 | send notifications through the Firebase Cloud Messaging (FCM), formerly | ||
| 106 | Google Cloud Messaging (GCM), service. This message template overrides | ||
| 107 | the default template for push notification channels | ||
| 108 | (DefaultPushNotificationTemplate). | ||
| 109 | |||
| 110 | |||
| 111 | =head2 B<REQUIRED> LastModifiedDate => Str | ||
| 112 | |||
| 113 | The date, in ISO 8601 format, when the message template was last | ||
| 114 | modified. | ||
| 115 | |||
| 116 | |||
| 117 | =head2 RecommenderId => Str | ||
| 118 | |||
| 119 | The unique identifier for the recommender model that's used by the | ||
| 120 | message template. | ||
| 121 | |||
| 122 | |||
| 123 | =head2 Tags => L<Paws::Pinpoint::MapOf__string> | ||
| 124 | |||
| 125 | A string-to-string map of key-value pairs that identifies the tags that | ||
| 126 | are associated with the message template. Each tag consists of a | ||
| 127 | required tag key and an associated tag value. | ||
| 128 | |||
| 129 | |||
| 130 | =head2 TemplateDescription => Str | ||
| 131 | |||
| 132 | The custom description of the message template. | ||
| 133 | |||
| 134 | |||
| 135 | =head2 B<REQUIRED> TemplateName => Str | ||
| 136 | |||
| 137 | The name of the message template. | ||
| 138 | |||
| 139 | |||
| 140 | =head2 B<REQUIRED> TemplateType => Str | ||
| 141 | |||
| 142 | The type of channel that the message template is designed for. For a | ||
| 143 | push notification template, this value is PUSH. | ||
| 144 | |||
| 145 | |||
| 146 | =head2 Version => Str | ||
| 147 | |||
| 148 | The unique identifier, as an integer, for the active version of the | ||
| 149 | message template, or the version of the template that you specified by | ||
| 150 | using the version parameter in your request. | ||
| 151 | |||
| 152 | |||
| 153 | |||
| 154 | =head1 SEE ALSO | ||
| 155 | |||
| 156 | This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint> | ||
| 157 | |||
| 158 | =head1 BUGS and CONTRIBUTIONS | ||
| 159 | |||
| 160 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 161 | |||
| 162 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 163 | |||
| 164 | =cut | ||
| 165 |