DescribeEntitledImageTags
Returns the image tag details for a premium repository that you're entitled to through an AWS Marketplace purchase.
Request Syntax
{
"maxResults": number,
"nextToken": "string",
"registryAlias": "string",
"repositoryName": "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 results that
DescribeEntitledImageTagsreturns in paginated output. When you use this parameter,DescribeEntitledImageTagsreturns onlymaxResultsresults in a single page along with anextTokenresponse element. To see the remaining results, send anotherDescribeEntitledImageTagsrequest with the returnednextTokenvalue. You can specify a value between 1 and 1000. If you don't use this parameter,DescribeEntitledImageTagsreturns 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 paginatedDescribeEntitledImageTagsrequest where you usedmaxResultsand 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.NoteThis 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
- registryAlias
-
The registry alias of the publisher that owns the premium repository. The alias is the first part of the premium repository URI.
Type: String
Length Constraints: Minimum length of 2. Maximum length of 50.
Pattern:
[a-z][a-z0-9]+(?:[._-][a-z0-9]+)*Required: Yes
- repositoryName
-
The name of the premium repository that contains the image tags to describe.
Type: String
Length Constraints: Minimum length of 2. Maximum length of 205.
Pattern:
[a-z0-9]+((\.|_|__|-+)[a-z0-9]+)*(\/[a-z0-9]+((\.|_|__|-+)[a-z0-9]+)*)*Required: Yes
Response Syntax
{
"imageTagDetails": [
{
"createdAt": number,
"imageDetail": {
"artifactMediaType": "string",
"imageDigest": "string",
"imageManifestMediaType": "string",
"imagePushedAt": number,
"imageSizeInBytes": number,
"imageStatus": "string",
"scheduledDeletionAt": number
},
"imageTag": "string"
}
],
"nextToken": "string",
"registryAlias": "string",
"repositoryName": "string"
}
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.
- imageTagDetails
-
The image tag details for the images in the premium repository.
Type: Array of EntitledImageTagDetail objects
Array Members: Minimum number of 0 items. Maximum number of 1000 items.
- nextToken
-
The
nextTokenvalue to include in a futureDescribeEntitledImageTagsrequest. When the results of aDescribeEntitledImageTagsrequest exceedmaxResults, you can use this value to retrieve the next page of results. If there are no more results to return, this value isnull.Type: String
- registryAlias
-
The registry alias that's associated with the request.
Type: String
Length Constraints: Minimum length of 2. Maximum length of 50.
Pattern:
[a-z][a-z0-9]+(?:[._-][a-z0-9]+)* - repositoryName
-
The name of the premium repository that's associated with the request.
Type: String
Length Constraints: Minimum length of 2. Maximum length of 205.
Pattern:
[a-z0-9]+((\.|_|__|-+)[a-z0-9]+)*(\/[a-z0-9]+((\.|_|__|-+)[a-z0-9]+)*)*
Errors
For information about the errors that are common to all actions, see Common Error Types.
- EntitlementNotFoundException
-
You don't have an active AWS Marketplace entitlement for the specified premium repository, the repository doesn't exist, or the repository isn't available yet. Check the registry alias and repository name, and use
DescribeEntitledRepositoriesto list the premium repositories that you're entitled to.- message
-
The error message associated with the exception.
HTTP Status Code: 400
- InvalidParameterException
-
The specified parameter is invalid. Review the available parameters for the API request.
- message
-
The error message associated with the exception.
HTTP Status Code: 400
- LimitExceededException
-
The operation didn't succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR Public service quotas in the Amazon Elastic Container Registry Public User Guide.
- message
-
The error message associated with the exception.
HTTP Status Code: 400
- ServerException
-
These errors are usually caused by a server-side issue. Retry the request. If it continues to fail, contact AWS Support.
- message
-
The error message associated with the exception.
HTTP Status Code: 500
- UnsupportedCommandException
-
The action isn't supported in this Region. Check that the action is available in the AWS Region that you're using, and try again in a supported Region.
- message
-
The error message associated with the exception.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: