Skip to content

Restore Managed Prefix List Version

ec2_restore_managed_prefix_list_version R Documentation

Restores the entries from a previous version of a managed prefix list to a new version of the prefix list

Description

Restores the entries from a previous version of a managed prefix list to a new version of the prefix list.

Usage

ec2_restore_managed_prefix_list_version(DryRun, PrefixListId,
  PreviousVersion, CurrentVersion)

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.

PrefixListId

[required] The ID of the prefix list.

PreviousVersion

[required] The version to restore.

CurrentVersion

[required] The current version number for the prefix list.

Value

A list with the following syntax:

list(
  PrefixList = 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$restore_managed_prefix_list_version(
  DryRun = TRUE|FALSE,
  PrefixListId = "string",
  PreviousVersion = 123,
  CurrentVersion = 123
)