File Coverage

blib/lib/Paws/LexModels/BotChannelAssociation.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::LexModels::BotChannelAssociation;
2 1     1   355 use Moose;
  1         2  
  1         8  
3             has BotAlias => (is => 'ro', isa => 'Str', request_name => 'botAlias', traits => ['NameInRequest']);
4             has BotConfiguration => (is => 'ro', isa => 'Paws::LexModels::ChannelConfigurationMap', request_name => 'botConfiguration', traits => ['NameInRequest']);
5             has BotName => (is => 'ro', isa => 'Str', request_name => 'botName', traits => ['NameInRequest']);
6             has CreatedDate => (is => 'ro', isa => 'Str', request_name => 'createdDate', traits => ['NameInRequest']);
7             has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
8             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
9             has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::LexModels::BotChannelAssociation
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::LexModels::BotChannelAssociation object:
28              
29             $service_obj->Method(Att1 => { BotAlias => $value, ..., Type => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::LexModels::BotChannelAssociation object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->BotAlias
37              
38             =head1 DESCRIPTION
39              
40             Represents an association between an Amazon Lex bot and an external
41             messaging platform.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 BotAlias => Str
47              
48             An alias pointing to the specific version of the Amazon Lex bot to
49             which this association is being made.
50              
51              
52             =head2 BotConfiguration => L<Paws::LexModels::ChannelConfigurationMap>
53              
54             Provides information necessary to communicate with the messaging
55             platform.
56              
57              
58             =head2 BotName => Str
59              
60             The name of the Amazon Lex bot to which this association is being made.
61              
62             Currently, Amazon Lex supports associations with Facebook and Slack,
63             and Twilio.
64              
65              
66             =head2 CreatedDate => Str
67              
68             The date that the association between the Amazon Lex bot and the
69             channel was created.
70              
71              
72             =head2 Description => Str
73              
74             A text description of the association you are creating.
75              
76              
77             =head2 Name => Str
78              
79             The name of the association between the bot and the channel.
80              
81              
82             =head2 Type => Str
83              
84             Specifies the type of association by indicating the type of channel
85             being established between the Amazon Lex bot and the external messaging
86             platform.
87              
88              
89              
90             =head1 SEE ALSO
91              
92             This class forms part of L<Paws>, describing an object used in L<Paws::LexModels>
93              
94             =head1 BUGS and CONTRIBUTIONS
95              
96             The source code is located here: https://github.com/pplu/aws-sdk-perl
97              
98             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
99              
100             =cut
101