« blib/lib/Paws/LexModelsV2/ListBuiltInSlotTypesResponse.pm
↑ Summary
blib/lib/Paws/LexModelsV2/ListExportsResponse.pm »
| 1 | |||
| 2 | package Paws::LexModelsV2::ListExports; | ||
| 3 | use Moose; | ||
| 4 | has BotId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'botId'); | ||
| 5 | has BotVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'botVersion'); | ||
| 6 | has Filters => (is => 'ro', isa => 'ArrayRef[Paws::LexModelsV2::ExportFilter]', traits => ['NameInRequest'], request_name => 'filters'); | ||
| 7 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults'); | ||
| 8 | has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken'); | ||
| 9 | has SortBy => (is => 'ro', isa => 'Paws::LexModelsV2::ExportSortBy', traits => ['NameInRequest'], request_name => 'sortBy'); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListExports'); | ||
| 14 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/exports/'); | ||
| 15 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 16 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LexModelsV2::ListExportsResponse'); | ||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::LexModelsV2::ListExports - Arguments for method ListExports on L<Paws::LexModelsV2> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method ListExports on the | ||
| 28 | L<Amazon Lex Model Building V2|Paws::LexModelsV2> service. Use the attributes of this class | ||
| 29 | as arguments to method ListExports. | ||
| 30 | |||
| 31 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListExports. | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $models-v2-lex = Paws->service('LexModelsV2'); | ||
| 36 | my $ListExportsResponse = $models - v2 -lex->ListExports( | ||
| 37 | BotId => 'MyId', # OPTIONAL | ||
| 38 | BotVersion => 'MyBotVersion', # OPTIONAL | ||
| 39 | Filters => [ | ||
| 40 | { | ||
| 41 | Name => 'ExportResourceType', # values: ExportResourceType | ||
| 42 | Operator => 'CO', # values: CO, EQ | ||
| 43 | Values => [ | ||
| 44 | 'MyFilterValue', ... # min: 1, max: 100 | ||
| 45 | ], # min: 1, max: 1 | ||
| 46 | |||
| 47 | }, | ||
| 48 | ... | ||
| 49 | ], # OPTIONAL | ||
| 50 | MaxResults => 1, # OPTIONAL | ||
| 51 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 52 | SortBy => { | ||
| 53 | Attribute => 'LastUpdatedDateTime', # values: LastUpdatedDateTime | ||
| 54 | Order => 'Ascending', # values: Ascending, Descending | ||
| 55 | |||
| 56 | }, # OPTIONAL | ||
| 57 | ); | ||
| 58 | |||
| 59 | # Results: | ||
| 60 | my $BotId = $ListExportsResponse->BotId; | ||
| 61 | my $BotVersion = $ListExportsResponse->BotVersion; | ||
| 62 | my $ExportSummaries = $ListExportsResponse->ExportSummaries; | ||
| 63 | my $NextToken = $ListExportsResponse->NextToken; | ||
| 64 | |||
| 65 | # Returns a L<Paws::LexModelsV2::ListExportsResponse> object. | ||
| 66 | |||
| 67 | 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. | ||
| 68 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/models-v2-lex/ListExports> | ||
| 69 | |||
| 70 | =head1 ATTRIBUTES | ||
| 71 | |||
| 72 | |||
| 73 | =head2 BotId => Str | ||
| 74 | |||
| 75 | The unique identifier that Amazon Lex assigned to the bot. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 BotVersion => Str | ||
| 80 | |||
| 81 | The version of the bot to list exports for. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head2 Filters => ArrayRef[L<Paws::LexModelsV2::ExportFilter>] | ||
| 86 | |||
| 87 | Provides the specification of a filter used to limit the exports in the | ||
| 88 | response to only those that match the filter specification. You can | ||
| 89 | only specify one filter and one string to filter on. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head2 MaxResults => Int | ||
| 94 | |||
| 95 | The maximum number of exports to return in each page of results. If | ||
| 96 | there are fewer results than the max page size, only the actual number | ||
| 97 | of results are returned. | ||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | =head2 NextToken => Str | ||
| 102 | |||
| 103 | If the response from the C<ListExports> operation contans more results | ||
| 104 | that specified in the C<maxResults> parameter, a token is returned in | ||
| 105 | the response. Use that token in the C<nextToken> parameter to return | ||
| 106 | the next page of results. | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | =head2 SortBy => L<Paws::LexModelsV2::ExportSortBy> | ||
| 111 | |||
| 112 | Determines the field that the list of exports is sorted by. You can | ||
| 113 | sort by the C<LastUpdatedDateTime> field in ascending or descending | ||
| 114 | order. | ||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | =head1 SEE ALSO | ||
| 120 | |||
| 121 | This class forms part of L<Paws>, documenting arguments for method ListExports in L<Paws::LexModelsV2> | ||
| 122 | |||
| 123 | =head1 BUGS and CONTRIBUTIONS | ||
| 124 | |||
| 125 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 126 | |||
| 127 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 128 | |||
| 129 | =cut | ||
| 130 |