« blib/lib/Paws/LexModelsV2/DescribeResourcePolicyResponse.pm
↑ Summary
blib/lib/Paws/LexModelsV2/DescribeSlotResponse.pm »
| 1 | |||
| 2 | package Paws::LexModelsV2::DescribeSlot; | ||
| 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 => 'DescribeSlot'); | ||
| 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 => 'GET'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LexModelsV2::DescribeSlotResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::LexModelsV2::DescribeSlot - Arguments for method DescribeSlot on L<Paws::LexModelsV2> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method DescribeSlot on the | ||
| 27 | L<Amazon Lex Model Building V2|Paws::LexModelsV2> service. Use the attributes of this class | ||
| 28 | as arguments to method DescribeSlot. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeSlot. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $models-v2-lex = Paws->service('LexModelsV2'); | ||
| 35 | my $DescribeSlotResponse = $models - v2 -lex->DescribeSlot( | ||
| 36 | BotId => 'MyId', | ||
| 37 | BotVersion => 'MyBotVersion', | ||
| 38 | IntentId => 'MyId', | ||
| 39 | LocaleId => 'MyLocaleId', | ||
| 40 | SlotId => 'MyId', | ||
| 41 | |||
| 42 | ); | ||
| 43 | |||
| 44 | # Results: | ||
| 45 | my $BotId = $DescribeSlotResponse->BotId; | ||
| 46 | my $BotVersion = $DescribeSlotResponse->BotVersion; | ||
| 47 | my $CreationDateTime = $DescribeSlotResponse->CreationDateTime; | ||
| 48 | my $Description = $DescribeSlotResponse->Description; | ||
| 49 | my $IntentId = $DescribeSlotResponse->IntentId; | ||
| 50 | my $LastUpdatedDateTime = $DescribeSlotResponse->LastUpdatedDateTime; | ||
| 51 | my $LocaleId = $DescribeSlotResponse->LocaleId; | ||
| 52 | my $MultipleValuesSetting = $DescribeSlotResponse->MultipleValuesSetting; | ||
| 53 | my $ObfuscationSetting = $DescribeSlotResponse->ObfuscationSetting; | ||
| 54 | my $SlotId = $DescribeSlotResponse->SlotId; | ||
| 55 | my $SlotName = $DescribeSlotResponse->SlotName; | ||
| 56 | my $SlotTypeId = $DescribeSlotResponse->SlotTypeId; | ||
| 57 | my $ValueElicitationSetting = | ||
| 58 | $DescribeSlotResponse->ValueElicitationSetting; | ||
| 59 | |||
| 60 | # Returns a L<Paws::LexModelsV2::DescribeSlotResponse> object. | ||
| 61 | |||
| 62 | 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. | ||
| 63 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/models-v2-lex/DescribeSlot> | ||
| 64 | |||
| 65 | =head1 ATTRIBUTES | ||
| 66 | |||
| 67 | |||
| 68 | =head2 B<REQUIRED> BotId => Str | ||
| 69 | |||
| 70 | The identifier of the bot associated with the slot. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 B<REQUIRED> BotVersion => Str | ||
| 75 | |||
| 76 | The version of the bot associated with the slot. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 B<REQUIRED> IntentId => Str | ||
| 81 | |||
| 82 | The identifier of the intent that contains the slot. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head2 B<REQUIRED> LocaleId => Str | ||
| 87 | |||
| 88 | The identifier of the language and locale of the slot to describe. The | ||
| 89 | string must match one of the supported locales. For more information, | ||
| 90 | see Supported languages | ||
| 91 | (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html). | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =head2 B<REQUIRED> SlotId => Str | ||
| 96 | |||
| 97 | The unique identifier for the slot. | ||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | =head1 SEE ALSO | ||
| 103 | |||
| 104 | This class forms part of L<Paws>, documenting arguments for method DescribeSlot in L<Paws::LexModelsV2> | ||
| 105 | |||
| 106 | =head1 BUGS and CONTRIBUTIONS | ||
| 107 | |||
| 108 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 109 | |||
| 110 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 111 | |||
| 112 | =cut | ||
| 113 |