invalidations_for_distribution_tenants
Creates, updates, deletes, gets or lists an invalidations_for_distribution_tenants resource.
Overview
| Name | invalidations_for_distribution_tenants |
| Type | Resource |
| Id | aws.cloudfront.invalidations_for_distribution_tenants |
Fields
The following fields are returned by SELECT queries:
- list_invalidations_for_distribution_tenant
| Name | Datatype | Description |
|---|---|---|
is_truncated | boolean | A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more invalidation batches in the list. |
items | string | A complex type that contains one InvalidationSummary element for each invalidation batch created by the current Amazon Web Services account. |
marker | string | The value that you provided for the Marker request parameter. |
max_items | integer | The value that you provided for the MaxItems request parameter. |
next_marker | string | If IsTruncated is true, this element is present and contains the value that you can use for the Marker request parameter to continue listing your invalidation batches where they left off. |
quantity | integer | The number of invalidation batches that were created by the current Amazon Web Services account. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_invalidations_for_distribution_tenant | select | id, region | Marker, MaxItems | Lists the invalidations for a distribution tenant. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the distribution tenant. |
region | string | AWS region (default: us-east-1) |
Marker | string | Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set Marker to the value of the NextMarker from the current page's response. This value is the same as the ID of the last invalidation batch on that page. |
MaxItems | integer | The maximum number of invalidations to return for the distribution tenant. |
SELECT examples
- list_invalidations_for_distribution_tenant
Lists the invalidations for a distribution tenant.
SELECT
is_truncated,
items,
marker,
max_items,
next_marker,
quantity
FROM aws.cloudfront.invalidations_for_distribution_tenants
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
AND Marker = '{{ Marker }}'
AND MaxItems = '{{ MaxItems }}'
;