« blib/lib/Paws/Pinpoint/UpdateSmsTemplateResponse.pm
↑ Summary
blib/lib/Paws/Pinpoint/UpdateTemplateActiveVersionResponse.pm »
| 1 | |||
| 2 | package Paws::Pinpoint::UpdateTemplateActiveVersion; | ||
| 3 | use Moose; | ||
| 4 | has TemplateActiveVersionRequest => (is => 'ro', isa => 'Paws::Pinpoint::TemplateActiveVersionRequest', required => 1); | ||
| 5 | has TemplateName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'template-name', required => 1); | ||
| 6 | has TemplateType => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'template-type', required => 1); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | class_has _stream_param => (is => 'ro', default => 'TemplateActiveVersionRequest'); | ||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateTemplateActiveVersion'); | ||
| 11 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/templates/{template-name}/{template-type}/active-version'); | ||
| 12 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Pinpoint::UpdateTemplateActiveVersionResponse'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::Pinpoint::UpdateTemplateActiveVersion - Arguments for method UpdateTemplateActiveVersion on L<Paws::Pinpoint> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method UpdateTemplateActiveVersion on the | ||
| 25 | L<Amazon Pinpoint|Paws::Pinpoint> service. Use the attributes of this class | ||
| 26 | as arguments to method UpdateTemplateActiveVersion. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateTemplateActiveVersion. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $pinpoint = Paws->service('Pinpoint'); | ||
| 33 | my $UpdateTemplateActiveVersionResponse = | ||
| 34 | $pinpoint->UpdateTemplateActiveVersion( | ||
| 35 | TemplateActiveVersionRequest => { | ||
| 36 | Version => 'My__string', # OPTIONAL | ||
| 37 | }, | ||
| 38 | TemplateName => 'My__string', | ||
| 39 | TemplateType => 'My__string', | ||
| 40 | |||
| 41 | ); | ||
| 42 | |||
| 43 | # Results: | ||
| 44 | my $MessageBody = $UpdateTemplateActiveVersionResponse->MessageBody; | ||
| 45 | |||
| 46 | # Returns a L<Paws::Pinpoint::UpdateTemplateActiveVersionResponse> object. | ||
| 47 | |||
| 48 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 49 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/pinpoint/UpdateTemplateActiveVersion> | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> TemplateActiveVersionRequest => L<Paws::Pinpoint::TemplateActiveVersionRequest> | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | =head2 B<REQUIRED> TemplateName => Str | ||
| 61 | |||
| 62 | The name of the message template. A template name must start with an | ||
| 63 | alphanumeric character and can contain a maximum of 128 characters. The | ||
| 64 | characters can be alphanumeric characters, underscores (_), or hyphens | ||
| 65 | (-). Template names are case sensitive. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> TemplateType => Str | ||
| 70 | |||
| 71 | The type of channel that the message template is designed for. Valid | ||
| 72 | values are: EMAIL, PUSH, SMS, and VOICE. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head1 SEE ALSO | ||
| 78 | |||
| 79 | This class forms part of L<Paws>, documenting arguments for method UpdateTemplateActiveVersion in L<Paws::Pinpoint> | ||
| 80 | |||
| 81 | =head1 BUGS and CONTRIBUTIONS | ||
| 82 | |||
| 83 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 84 | |||
| 85 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 86 | |||
| 87 | =cut | ||
| 88 |