Skip to content

List Distributions By Owned Resource

cloudfront_list_distributions_by_owned_resource R Documentation

Lists the CloudFront distributions that are associated with the specified resource that you own

Description

Lists the CloudFront distributions that are associated with the specified resource that you own.

Usage

cloudfront_list_distributions_by_owned_resource(ResourceArn, Marker,
  MaxItems)

Arguments

ResourceArn

[required] The ARN of the CloudFront resource that you've shared with other Amazon Web Services accounts.

Marker

Use this field when paginating results to indicate where to begin in your list of distributions. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

MaxItems

The maximum number of distributions to return.

Value

A list with the following syntax:

list(
  DistributionList = list(
    Marker = "string",
    NextMarker = "string",
    MaxItems = 123,
    IsTruncated = TRUE|FALSE,
    Quantity = 123,
    Items = list(
      list(
        DistributionId = "string",
        OwnerAccountId = "string"
      )
    )
  )
)

Request syntax

svc$list_distributions_by_owned_resource(
  ResourceArn = "string",
  Marker = "string",
  MaxItems = "string"
)