NAME
Paws::LexModelsV2::ListSlots - Arguments for method ListSlots on Paws::LexModelsV2
DESCRIPTION
This class represents the parameters used for calling the method ListSlots on the Amazon Lex Model Building V2 service. Use the attributes of this class as arguments to method ListSlots.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListSlots.
SYNOPSIS
my $models-v2-lex = Paws->service('LexModelsV2');
my $ListSlotsResponse = $models - v2 -lex->ListSlots(
BotId => 'MyId',
BotVersion => 'MyBotVersion',
IntentId => 'MyId',
LocaleId => 'MyLocaleId',
Filters => [
{
Name => 'SlotName', # values: SlotName
Operator => 'CO', # values: CO, EQ
Values => [
'MyFilterValue', ... # min: 1, max: 100
], # min: 1, max: 1
},
...
], # OPTIONAL
MaxResults => 1, # OPTIONAL
NextToken => 'MyNextToken', # OPTIONAL
SortBy => {
Attribute => 'SlotName', # values: SlotName, LastUpdatedDateTime
Order => 'Ascending', # values: Ascending, Descending
}, # OPTIONAL
);
# Results:
my $BotId = $ListSlotsResponse->BotId;
my $BotVersion = $ListSlotsResponse->BotVersion;
my $IntentId = $ListSlotsResponse->IntentId;
my $LocaleId = $ListSlotsResponse->LocaleId;
my $NextToken = $ListSlotsResponse->NextToken;
my $SlotSummaries = $ListSlotsResponse->SlotSummaries;
# Returns a L<Paws::LexModelsV2::ListSlotsResponse> object.
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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/models-v2-lex/ListSlots
ATTRIBUTES
REQUIRED BotId => Str
The identifier of the bot that contains the slot.
REQUIRED BotVersion => Str
The version of the bot that contains the slot.
Filters => ArrayRef[Paws::LexModelsV2::SlotFilter]
Provides the specification of a filter used to limit the slots in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.
REQUIRED IntentId => Str
The unique identifier of the intent that contains the slot.
REQUIRED LocaleId => Str
The identifier of the language and locale of the slots to list. The string must match one of the supported locales. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
MaxResults => Int
The maximum number of slots to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
NextToken => Str
If the response from the ListSlots
operation contains more results than specified in the maxResults
parameter, a token is returned in the response. Use that token in the nextToken
parameter to return the next page of results.
SortBy => Paws::LexModelsV2::SlotSortBy
Determines the sort order for the response from the ListSlots
operation. You can choose to sort by the slot name or last updated date in either ascending or descending order.
SEE ALSO
This class forms part of Paws, documenting arguments for method ListSlots in Paws::LexModelsV2
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues