The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Pinpoint::TemplateResponse

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Pinpoint::TemplateResponse object:

  $service_obj->Method(Att1 => { Arn => $value, ..., Version => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::TemplateResponse object:

  $result = $service_obj->Method(...);
  $result->Att1->Arn

DESCRIPTION

Provides information about a message template that's associated with your Amazon Pinpoint account.

ATTRIBUTES

Arn => Str

The Amazon Resource Name (ARN) of the message template. This value isn't included in a TemplateResponse object. To retrieve the ARN of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the ARN for.

REQUIRED CreationDate => Str

The date, in ISO 8601 format, when the message template was created.

DefaultSubstitutions => Str

The JSON object that specifies the default values that are used for message variables in the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.

REQUIRED LastModifiedDate => Str

The date, in ISO 8601 format, when the message template was last modified.

Tags => Paws::Pinpoint::MapOf__string

A map of key-value pairs that identifies the tags that are associated with the message template. This object isn't included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.

TemplateDescription => Str

The custom description of the message template. This value isn't included in a TemplateResponse object. To retrieve the description of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the description for.

REQUIRED TemplateName => Str

The name of the message template.

REQUIRED TemplateType => Str

The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, and VOICE.

Version => Str

The unique identifier, as an integer, for the active version of the message template.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Pinpoint

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues