DescribeRegistries
Returns details for a public registry.
Request Syntax
{
"maxResults": number,
"nextToken": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- maxResults
-
The maximum number of repository results that's returned by
DescribeRegistriesin paginated output. When this parameter is used,DescribeRegistriesonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeRegistriesrequest with the returnednextTokenvalue. This value can be between 1 and 1000. If this parameter isn't used, thenDescribeRegistriesreturns up to 100 results and anextTokenvalue, if applicable.Type: Integer
Valid Range: Minimum value of 1. Maximum value of 1000.
Required: No
- nextToken
-
The
nextTokenvalue that's returned from a previous paginatedDescribeRegistriesrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. If there are no more results to return, this value isnull.Note
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
Type: String
Required: No
Response Syntax
{
"nextToken": "string",
"registries": [
{
"aliases": [
{
"defaultRegistryAlias": boolean,
"name": "string",
"primaryRegistryAlias": boolean,
"status": "string"
}
],
"registryArn": "string",
"registryId": "string",
"registryUri": "string",
"verified": boolean
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- nextToken
-
The
nextTokenvalue to include in a futureDescribeRepositoriesrequest. If the results of aDescribeRepositoriesrequest exceedmaxResults, you can use this value to retrieve the next page of results. If there are no more results, this value isnull.Type: String
- registries
-
An object that contains the details for a public registry.
Type: Array of Registry objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- InvalidParameterException
-
The specified parameter is invalid. Review the available parameters for the API request.
HTTP Status Code: 400
- ServerException
-
These errors are usually caused by a server-side issue.
HTTP Status Code: 500
- UnsupportedCommandException
-
The action isn't supported in this Region.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: