Skip to content

Update Proxy Rule Group Priorities

networkfirewall_update_proxy_rule_group_priorities R Documentation

Updates proxy rule group priorities within a proxy configuration

Description

Updates proxy rule group priorities within a proxy configuration.

Usage

networkfirewall_update_proxy_rule_group_priorities(
  ProxyConfigurationName, ProxyConfigurationArn, RuleGroups, UpdateToken)

Arguments

ProxyConfigurationName

The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

You must specify the ARN or the name, and you can specify both.

ProxyConfigurationArn

The Amazon Resource Name (ARN) of a proxy configuration.

You must specify the ARN or the name, and you can specify both.

RuleGroups

[required] proxy rule group resources to update to new positions.

UpdateToken

[required] A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.

To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

Value

A list with the following syntax:

list(
  ProxyRuleGroups = list(
    list(
      ProxyRuleGroupName = "string",
      Priority = 123
    )
  ),
  UpdateToken = "string"
)

Request syntax

svc$update_proxy_rule_group_priorities(
  ProxyConfigurationName = "string",
  ProxyConfigurationArn = "string",
  RuleGroups = list(
    list(
      ProxyRuleGroupName = "string",
      NewPosition = 123
    )
  ),
  UpdateToken = "string"
)