Skip to content

Describe Managed Prefix Lists

ec2_describe_managed_prefix_lists R Documentation

Describes your managed prefix lists and any Amazon Web Services-managed prefix lists

Description

Describes your managed prefix lists and any Amazon Web Services-managed prefix lists.

To view the entries for your prefix list, use get_managed_prefix_list_entries.

Usage

ec2_describe_managed_prefix_lists(DryRun, Filters, MaxResults,
  NextToken, PrefixListIds)

Arguments

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Filters

One or more filters.

  • owner-id - The ID of the prefix list owner.

  • prefix-list-id - The ID of the prefix list.

  • prefix-list-name - The name of the prefix list.

MaxResults

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

NextToken

The token for the next page of results.

PrefixListIds

One or more prefix list IDs.

Value

A list with the following syntax:

list(
  NextToken = "string",
  PrefixLists = list(
    list(
      PrefixListId = "string",
      AddressFamily = "string",
      State = "create-in-progress"|"create-complete"|"create-failed"|"modify-in-progress"|"modify-complete"|"modify-failed"|"restore-in-progress"|"restore-complete"|"restore-failed"|"delete-in-progress"|"delete-complete"|"delete-failed",
      StateMessage = "string",
      PrefixListArn = "string",
      PrefixListName = "string",
      MaxEntries = 123,
      Version = 123,
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      OwnerId = "string"
    )
  )
)

Request syntax

svc$describe_managed_prefix_lists(
  DryRun = TRUE|FALSE,
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  MaxResults = 123,
  NextToken = "string",
  PrefixListIds = list(
    "string"
  )
)