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