Skip to content

Get Distribution Latest Cache Reset

lightsail_get_distribution_latest_cache_reset R Documentation

Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution

Description

Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution.

Usage

lightsail_get_distribution_latest_cache_reset(distributionName)

Arguments

distributionName

The name of the distribution for which to return the timestamp of the last cache reset.

Use the get_distributions action to get a list of distribution names that you can specify.

When omitted, the response includes the latest cache reset timestamp of all your distributions.

Value

A list with the following syntax:

list(
  status = "string",
  createTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$get_distribution_latest_cache_reset(
  distributionName = "string"
)