line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::LexModels::PutBotAlias; |
3
|
1
|
|
|
1
|
|
445
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
8
|
|
4
|
|
|
|
|
|
|
has BotName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'botName', required => 1); |
5
|
|
|
|
|
|
|
has BotVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'botVersion', required => 1); |
6
|
|
|
|
|
|
|
has Checksum => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'checksum'); |
7
|
|
|
|
|
|
|
has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description'); |
8
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'name', required => 1); |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
6393
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
12
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutBotAlias'); |
13
|
|
|
|
|
|
|
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/bots/{botName}/aliases/{name}'); |
14
|
|
|
|
|
|
|
class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); |
15
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LexModels::PutBotAliasResponse'); |
16
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
### main pod documentation begin ### |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Paws::LexModels::PutBotAlias - Arguments for method PutBotAlias on Paws::LexModels |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 DESCRIPTION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
This class represents the parameters used for calling the method PutBotAlias on the |
28
|
|
|
|
|
|
|
Amazon Lex Model Building Service service. Use the attributes of this class |
29
|
|
|
|
|
|
|
as arguments to method PutBotAlias. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutBotAlias. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
As an example: |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
$service_obj->PutBotAlias(Att1 => $value1, Att2 => $value2, ...); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
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. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head2 B<REQUIRED> BotName => Str |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
The name of the bot. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head2 B<REQUIRED> BotVersion => Str |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
The version of the bot. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head2 Checksum => Str |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Identifies a specific revision of the C<$LATEST> version. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
When you create a new bot alias, leave the C<checksum> field blank. If |
59
|
|
|
|
|
|
|
you specify a checksum you get a C<BadRequestException> exception. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
When you want to update a bot alias, set the C<checksum> field to the |
62
|
|
|
|
|
|
|
checksum of the most recent revision of the C<$LATEST> version. If you |
63
|
|
|
|
|
|
|
don't specify the C< checksum> field, or if the checksum does not match |
64
|
|
|
|
|
|
|
the C<$LATEST> version, you get a C<PreconditionFailedException> |
65
|
|
|
|
|
|
|
exception. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head2 Description => Str |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
A description of the alias. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 B<REQUIRED> Name => Str |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
The name of the alias. The name is I<not> case sensitive. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 SEE ALSO |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method PutBotAlias in L<Paws::LexModels> |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=cut |
93
|
|
|
|
|
|
|
|