Skip to content

Get Invalidation

cloudfront_get_invalidation R Documentation

Get the information about an invalidation

Description

Get the information about an invalidation.

Usage

cloudfront_get_invalidation(DistributionId, Id)

Arguments

DistributionId

[required] The distribution's ID.

Id

[required] The identifier for the invalidation request, for example, IDFDVBD632BHDS5.

Value

A list with the following syntax:

list(
  Invalidation = list(
    Id = "string",
    Status = "string",
    CreateTime = as.POSIXct(
      "2015-01-01"
    ),
    InvalidationBatch = list(
      Paths = list(
        Quantity = 123,
        Items = list(
          "string"
        )
      ),
      CallerReference = "string"
    )
  )
)

Request syntax

svc$get_invalidation(
  DistributionId = "string",
  Id = "string"
)