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