« blib/lib/Paws/LexModels/ConversationLogsResponse.pm
↑ Summary
blib/lib/Paws/LexModels/CreateBotVersionResponse.pm »
| 1 | |||
| 2 | package Paws::LexModels::CreateBotVersion; | ||
| 3 | use Moose; | ||
| 4 | has Checksum => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'checksum'); | ||
| 5 | has Name => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'name', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateBotVersion'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/bots/{name}/versions'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LexModels::CreateBotVersionResponse'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::LexModels::CreateBotVersion - Arguments for method CreateBotVersion on L<Paws::LexModels> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method CreateBotVersion on the | ||
| 24 | L<Amazon Lex Model Building Service|Paws::LexModels> service. Use the attributes of this class | ||
| 25 | as arguments to method CreateBotVersion. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateBotVersion. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $models.lex = Paws->service('LexModels'); | ||
| 32 | my $CreateBotVersionResponse = $models . lex->CreateBotVersion( | ||
| 33 | Name => 'MyBotName', | ||
| 34 | Checksum => 'MyString', # OPTIONAL | ||
| 35 | ); | ||
| 36 | |||
| 37 | # Results: | ||
| 38 | my $AbortStatement = $CreateBotVersionResponse->AbortStatement; | ||
| 39 | my $Checksum = $CreateBotVersionResponse->Checksum; | ||
| 40 | my $ChildDirected = $CreateBotVersionResponse->ChildDirected; | ||
| 41 | my $ClarificationPrompt = $CreateBotVersionResponse->ClarificationPrompt; | ||
| 42 | my $CreatedDate = $CreateBotVersionResponse->CreatedDate; | ||
| 43 | my $Description = $CreateBotVersionResponse->Description; | ||
| 44 | my $DetectSentiment = $CreateBotVersionResponse->DetectSentiment; | ||
| 45 | my $EnableModelImprovements = | ||
| 46 | $CreateBotVersionResponse->EnableModelImprovements; | ||
| 47 | my $FailureReason = $CreateBotVersionResponse->FailureReason; | ||
| 48 | my $IdleSessionTTLInSeconds = | ||
| 49 | $CreateBotVersionResponse->IdleSessionTTLInSeconds; | ||
| 50 | my $Intents = $CreateBotVersionResponse->Intents; | ||
| 51 | my $LastUpdatedDate = $CreateBotVersionResponse->LastUpdatedDate; | ||
| 52 | my $Locale = $CreateBotVersionResponse->Locale; | ||
| 53 | my $Name = $CreateBotVersionResponse->Name; | ||
| 54 | my $Status = $CreateBotVersionResponse->Status; | ||
| 55 | my $Version = $CreateBotVersionResponse->Version; | ||
| 56 | my $VoiceId = $CreateBotVersionResponse->VoiceId; | ||
| 57 | |||
| 58 | # Returns a L<Paws::LexModels::CreateBotVersionResponse> object. | ||
| 59 | |||
| 60 | 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. | ||
| 61 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/models.lex/CreateBotVersion> | ||
| 62 | |||
| 63 | =head1 ATTRIBUTES | ||
| 64 | |||
| 65 | |||
| 66 | =head2 Checksum => Str | ||
| 67 | |||
| 68 | Identifies a specific revision of the C<$LATEST> version of the bot. If | ||
| 69 | you specify a checksum and the C<$LATEST> version of the bot has a | ||
| 70 | different checksum, a C<PreconditionFailedException> exception is | ||
| 71 | returned and Amazon Lex doesn't publish a new version. If you don't | ||
| 72 | specify a checksum, Amazon Lex publishes the C<$LATEST> version. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 B<REQUIRED> Name => Str | ||
| 77 | |||
| 78 | The name of the bot that you want to create a new version of. The name | ||
| 79 | is case sensitive. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head1 SEE ALSO | ||
| 85 | |||
| 86 | This class forms part of L<Paws>, documenting arguments for method CreateBotVersion in L<Paws::LexModels> | ||
| 87 | |||
| 88 | =head1 BUGS and CONTRIBUTIONS | ||
| 89 | |||
| 90 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 91 | |||
| 92 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 93 | |||
| 94 | =cut | ||
| 95 |