« blib/lib/Paws/Robomaker/ListWorldGenerationJobsResponse.pm
↑ Summary
blib/lib/Paws/Robomaker/ListWorldTemplatesResponse.pm »
| 1 | |||
| 2 | package Paws::Robomaker::ListWorldTemplates; | ||
| 3 | use Moose; | ||
| 4 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults'); | ||
| 5 | has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken'); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListWorldTemplates'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/listWorldTemplates'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Robomaker::ListWorldTemplatesResponse'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Robomaker::ListWorldTemplates - Arguments for method ListWorldTemplates on L<Paws::Robomaker> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method ListWorldTemplates on the | ||
| 24 | L<AWS RoboMaker|Paws::Robomaker> service. Use the attributes of this class | ||
| 25 | as arguments to method ListWorldTemplates. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListWorldTemplates. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $robomaker = Paws->service('Robomaker'); | ||
| 32 | my $ListWorldTemplatesResponse = $robomaker->ListWorldTemplates( | ||
| 33 | MaxResults => 1, # OPTIONAL | ||
| 34 | NextToken => 'MyPaginationToken', # OPTIONAL | ||
| 35 | ); | ||
| 36 | |||
| 37 | # Results: | ||
| 38 | my $NextToken = $ListWorldTemplatesResponse->NextToken; | ||
| 39 | my $TemplateSummaries = $ListWorldTemplatesResponse->TemplateSummaries; | ||
| 40 | |||
| 41 | # Returns a L<Paws::Robomaker::ListWorldTemplatesResponse> object. | ||
| 42 | |||
| 43 | 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. | ||
| 44 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/robomaker/ListWorldTemplates> | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 MaxResults => Int | ||
| 50 | |||
| 51 | When this parameter is used, C<ListWorldTemplates> only returns | ||
| 52 | C<maxResults> results in a single page along with a C<nextToken> | ||
| 53 | response element. The remaining results of the initial request can be | ||
| 54 | seen by sending another C<ListWorldTemplates> request with the returned | ||
| 55 | C<nextToken> value. This value can be between 1 and 100. If this | ||
| 56 | parameter is not used, then C<ListWorldTemplates> returns up to 100 | ||
| 57 | results and a C<nextToken> value if applicable. | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head2 NextToken => Str | ||
| 62 | |||
| 63 | If the previous paginated request did not return all of the remaining | ||
| 64 | results, the response object's C<nextToken> parameter value is set to a | ||
| 65 | token. To retrieve the next set of results, call C<ListWorldTemplates> | ||
| 66 | again and assign that token to the request object's C<nextToken> | ||
| 67 | parameter. If there are no remaining results, the previous response | ||
| 68 | object's NextToken parameter is set to null. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head1 SEE ALSO | ||
| 74 | |||
| 75 | This class forms part of L<Paws>, documenting arguments for method ListWorldTemplates in L<Paws::Robomaker> | ||
| 76 | |||
| 77 | =head1 BUGS and CONTRIBUTIONS | ||
| 78 | |||
| 79 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 80 | |||
| 81 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 82 | |||
| 83 | =cut | ||
| 84 |