« blib/lib/Paws/LexModelsV2/BotFilter.pm
↑ Summary
blib/lib/Paws/LexModelsV2/BotLocaleExportSpecification.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::LexModelsV2::BotImportSpecification; | ||
| 3 | use Moose; | ||
| 4 | has BotName => (is => 'ro', isa => 'Str', request_name => 'botName', traits => ['NameInRequest'], required => 1); | ||
| 5 | has BotTags => (is => 'ro', isa => 'Paws::LexModelsV2::TagMap', request_name => 'botTags', traits => ['NameInRequest']); | ||
| 6 | has DataPrivacy => (is => 'ro', isa => 'Paws::LexModelsV2::DataPrivacy', request_name => 'dataPrivacy', traits => ['NameInRequest'], required => 1); | ||
| 7 | has IdleSessionTTLInSeconds => (is => 'ro', isa => 'Int', request_name => 'idleSessionTTLInSeconds', traits => ['NameInRequest']); | ||
| 8 | has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest'], required => 1); | ||
| 9 | has TestBotAliasTags => (is => 'ro', isa => 'Paws::LexModelsV2::TagMap', request_name => 'testBotAliasTags', traits => ['NameInRequest']); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::LexModelsV2::BotImportSpecification | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::LexModelsV2::BotImportSpecification object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { BotName => $value, ..., TestBotAliasTags => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::LexModelsV2::BotImportSpecification object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->BotName | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | Provides the bot parameters required for importing a bot. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 B<REQUIRED> BotName => Str | ||
| 47 | |||
| 48 | The name that Amazon Lex should use for the bot. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 BotTags => L<Paws::LexModelsV2::TagMap> | ||
| 52 | |||
| 53 | A list of tags to add to the bot. You can only add tags when you import | ||
| 54 | a bot. You can't use the C<UpdateBot> operation to update tags. To | ||
| 55 | update tags, use the C<TagResource> operation. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 B<REQUIRED> DataPrivacy => L<Paws::LexModelsV2::DataPrivacy> | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 IdleSessionTTLInSeconds => Int | ||
| 64 | |||
| 65 | The time, in seconds, that Amazon Lex should keep information about a | ||
| 66 | user's conversation with the bot. | ||
| 67 | |||
| 68 | A user interaction remains active for the amount of time specified. If | ||
| 69 | no conversation occurs during this time, the session expires and Amazon | ||
| 70 | Lex deletes any data provided before the timeout. | ||
| 71 | |||
| 72 | You can specify between 60 (1 minute) and 86,400 (24 hours) seconds. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 B<REQUIRED> RoleArn => Str | ||
| 76 | |||
| 77 | The Amazon Resource Name (ARN) of the IAM role used to build and run | ||
| 78 | the bot. | ||
| 79 | |||
| 80 | |||
| 81 | =head2 TestBotAliasTags => L<Paws::LexModelsV2::TagMap> | ||
| 82 | |||
| 83 | A list of tags to add to the test alias for a bot. You can only add | ||
| 84 | tags when you import a bot. You can't use the C<UpdateAlias> operation | ||
| 85 | to update tags. To update tags on the test alias, use the | ||
| 86 | C<TagResource> operation. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head1 SEE ALSO | ||
| 91 | |||
| 92 | This class forms part of L<Paws>, describing an object used in L<Paws::LexModelsV2> | ||
| 93 | |||
| 94 | =head1 BUGS and CONTRIBUTIONS | ||
| 95 | |||
| 96 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 97 | |||
| 98 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 99 | |||
| 100 | =cut | ||
| 101 |