Skip to main content

invalidations_for_distribution_tenants

Creates, updates, deletes, gets or lists an invalidations_for_distribution_tenants resource.

Overview

Nameinvalidations_for_distribution_tenants
TypeResource
Idaws.cloudfront.invalidations_for_distribution_tenants

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
is_truncatedbooleanA 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.
itemsstringA complex type that contains one InvalidationSummary element for each invalidation batch created by the current Amazon Web Services account.
markerstringThe value that you provided for the Marker request parameter.
max_itemsintegerThe value that you provided for the MaxItems request parameter.
next_markerstringIf 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.
quantityintegerThe number of invalidation batches that were created by the current Amazon Web Services account.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_invalidations_for_distribution_tenantselectid, regionMarker, MaxItemsLists 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.

NameDatatypeDescription
idstringThe ID of the distribution tenant.
regionstringAWS region (default: us-east-1)
MarkerstringUse 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.
MaxItemsintegerThe maximum number of invalidations to return for the distribution tenant.

SELECT examples

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 }}'
;