« blib/lib/Paws/ECR/DescribeRegistryResponse.pm
↑ Summary
blib/lib/Paws/ECR/DescribeRepositoriesResponse.pm »
| 1 | |||
| 2 | package Paws::ECR::DescribeRepositories; | ||
| 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 | has RegistryId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'registryId' ); | ||
| 7 | has RepositoryNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'repositoryNames' ); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeRepositories'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECR::DescribeRepositoriesResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::ECR::DescribeRepositories - Arguments for method DescribeRepositories on L<Paws::ECR> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method DescribeRepositories on the | ||
| 25 | L<Amazon EC2 Container Registry|Paws::ECR> service. Use the attributes of this class | ||
| 26 | as arguments to method DescribeRepositories. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeRepositories. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $api.ecr = Paws->service('ECR'); | ||
| 33 | # To describe all repositories in the current account | ||
| 34 | # The following example obtains a list and description of all repositories in | ||
| 35 | # the default registry to which the current user has access. | ||
| 36 | my $DescribeRepositoriesResponse = $api . ecr->DescribeRepositories(); | ||
| 37 | |||
| 38 | # Results: | ||
| 39 | my $repositories = $DescribeRepositoriesResponse->repositories; | ||
| 40 | |||
| 41 | # Returns a L<Paws::ECR::DescribeRepositoriesResponse> 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/api.ecr/DescribeRepositories> | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 MaxResults => Int | ||
| 50 | |||
| 51 | The maximum number of repository results returned by | ||
| 52 | C<DescribeRepositories> in paginated output. When this parameter is | ||
| 53 | used, C<DescribeRepositories> only returns C<maxResults> results in a | ||
| 54 | single page along with a C<nextToken> response element. The remaining | ||
| 55 | results of the initial request can be seen by sending another | ||
| 56 | C<DescribeRepositories> request with the returned C<nextToken> value. | ||
| 57 | This value can be between 1 and 1000. If this parameter is not used, | ||
| 58 | then C<DescribeRepositories> returns up to 100 results and a | ||
| 59 | C<nextToken> value, if applicable. This option cannot be used when you | ||
| 60 | specify repositories with C<repositoryNames>. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 NextToken => Str | ||
| 65 | |||
| 66 | The C<nextToken> value returned from a previous paginated | ||
| 67 | C<DescribeRepositories> request where C<maxResults> was used and the | ||
| 68 | results exceeded the value of that parameter. Pagination continues from | ||
| 69 | the end of the previous results that returned the C<nextToken> value. | ||
| 70 | This value is C<null> when there are no more results to return. This | ||
| 71 | option cannot be used when you specify repositories with | ||
| 72 | C<repositoryNames>. | ||
| 73 | |||
| 74 | This token should be treated as an opaque identifier that is only used | ||
| 75 | to retrieve the next items in a list and not for other programmatic | ||
| 76 | purposes. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 RegistryId => Str | ||
| 81 | |||
| 82 | The AWS account ID associated with the registry that contains the | ||
| 83 | repositories to be described. If you do not specify a registry, the | ||
| 84 | default registry is assumed. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head2 RepositoryNames => ArrayRef[Str|Undef] | ||
| 89 | |||
| 90 | A list of repositories to describe. If this parameter is omitted, then | ||
| 91 | all repositories in a registry are described. | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head1 SEE ALSO | ||
| 97 | |||
| 98 | This class forms part of L<Paws>, documenting arguments for method DescribeRepositories in L<Paws::ECR> | ||
| 99 | |||
| 100 | =head1 BUGS and CONTRIBUTIONS | ||
| 101 | |||
| 102 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 103 | |||
| 104 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 105 | |||
| 106 | =cut | ||
| 107 |