Amazon ECR · Schema
GetLifecyclePolicyPreviewRequest
Amazon Web ServicesContainer ImagesContainer RegistryContainersDockerECROCI
Properties
| Name | Type | Description |
|---|---|---|
| registryId | string | The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed. |
| repositoryName | string | The name of the repository. |
| imageIds | array | The list of imageIDs to be included. |
| nextToken | string | The nextToken value returned from a previous paginated GetLifecyclePolicyPreviewRequest request where maxResults was used and the results exceeded the value of that parameter. Pagination continues fro |
| maxResults | integer | The maximum number of repository results returned by GetLifecyclePolicyPreviewRequest in paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest only returns maxResults results |
| filter | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-ecr/json-schema/amazon-ecr-get-lifecycle-policy-preview-request-schema.json",
"title": "GetLifecyclePolicyPreviewRequest",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-ecr-operations-api-openapi.yml#/components/schemas/GetLifecyclePolicyPreviewRequest",
"type": "object",
"properties": {
"registryId": {
"type": "string",
"description": "The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed."
},
"repositoryName": {
"type": "string",
"description": "The name of the repository."
},
"imageIds": {
"type": "array",
"items": {
"$ref": "#/$defs/ImageIdentifier"
},
"description": "The list of imageIDs to be included."
},
"nextToken": {
"type": "string",
"description": "The nextToken value returned from a previous paginated GetLifecyclePolicyPreviewRequest request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This option cannot be used when you specify images with imageIds."
},
"maxResults": {
"type": "integer",
"description": "The maximum number of repository results returned by GetLifecyclePolicyPreviewRequest in paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another GetLifecyclePolicyPreviewRequest request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then GetLifecyclePolicyPreviewRequest returns up to 100 results and a nextToken value, if applicable. This option cannot "
},
"filter": {
"$ref": "#/$defs/LifecyclePolicyPreviewFilter"
}
},
"required": [
"repositoryName"
],
"$defs": {
"ImageIdentifier": {
"type": "object",
"properties": {
"imageDigest": {
"type": "string",
"description": "The sha256 digest of the image manifest."
},
"imageTag": {
"type": "string",
"description": "The tag used for the image."
}
}
},
"LifecyclePolicyPreviewFilter": {
"type": "object",
"properties": {
"tagStatus": {
"type": "string",
"enum": [
"TAGGED",
"UNTAGGED",
"ANY"
],
"description": "The tag status of the image."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-ecr-get-lifecycle-policy-preview-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.