Skip to content

List Invalidations

cloudfront_list_invalidations R Documentation

Lists invalidation batches

Description

Lists invalidation batches.

Usage

cloudfront_list_invalidations(DistributionId, Marker, MaxItems)

Arguments

DistributionId

[required] The distribution's ID.

Marker

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

The maximum number of invalidation batches that you want in the response body.

Value

A list with the following syntax:

list(
  InvalidationList = list(
    Marker = "string",
    NextMarker = "string",
    MaxItems = 123,
    IsTruncated = TRUE|FALSE,
    Quantity = 123,
    Items = list(
      list(
        Id = "string",
        CreateTime = as.POSIXct(
          "2015-01-01"
        ),
        Status = "string"
      )
    )
  )
)

Request syntax

svc$list_invalidations(
  DistributionId = "string",
  Marker = "string",
  MaxItems = "string"
)