« blib/lib/Paws/LexModelsV2/DeleteImportResponse.pm
↑ Summary
blib/lib/Paws/LexModelsV2/DeleteResourcePolicy.pm »
| 1 | |||
| 2 | package Paws::LexModelsV2::DeleteIntent; | ||
| 3 | use Moose; | ||
| 4 | has BotId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'botId', required => 1); | ||
| 5 | has BotVersion => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'botVersion', required => 1); | ||
| 6 | has IntentId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'intentId', required => 1); | ||
| 7 | has LocaleId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'localeId', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteIntent'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'DELETE'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::LexModelsV2::DeleteIntent - Arguments for method DeleteIntent on L<Paws::LexModelsV2> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method DeleteIntent on the | ||
| 26 | L<Amazon Lex Model Building V2|Paws::LexModelsV2> service. Use the attributes of this class | ||
| 27 | as arguments to method DeleteIntent. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteIntent. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $models-v2-lex = Paws->service('LexModelsV2'); | ||
| 34 | $models - v2 -lex->DeleteIntent( | ||
| 35 | BotId => 'MyId', | ||
| 36 | BotVersion => 'MyDraftBotVersion', | ||
| 37 | IntentId => 'MyId', | ||
| 38 | LocaleId => 'MyLocaleId', | ||
| 39 | |||
| 40 | ); | ||
| 41 | |||
| 42 | 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. | ||
| 43 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/models-v2-lex/DeleteIntent> | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 B<REQUIRED> BotId => Str | ||
| 49 | |||
| 50 | The identifier of the bot associated with the intent. | ||
| 51 | |||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> BotVersion => Str | ||
| 55 | |||
| 56 | The version of the bot associated with the intent. | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | =head2 B<REQUIRED> IntentId => Str | ||
| 61 | |||
| 62 | The unique identifier of the intent to delete. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> LocaleId => Str | ||
| 67 | |||
| 68 | The identifier of the language and locale where the bot will be | ||
| 69 | deleted. The string must match one of the supported locales. For more | ||
| 70 | information, see Supported languages | ||
| 71 | (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html). | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, documenting arguments for method DeleteIntent in L<Paws::LexModelsV2> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |