Skip to content

List Managed Rule Sets

wafv2_list_managed_rule_sets R Documentation

Retrieves the managed rule sets that you own

Description

Retrieves the managed rule sets that you own.

This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.

Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are list_managed_rule_sets, get_managed_rule_set, put_managed_rule_set_versions, and update_managed_rule_set_version_expiry_date.

Usage

wafv2_list_managed_rule_sets(Scope, NextMarker, Limit)

Arguments

Scope

[required] Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

NextMarker

When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.

Limit

The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a NextMarker value that you can use in a subsequent call to get the next batch of objects.

Value

A list with the following syntax:

list(
  NextMarker = "string",
  ManagedRuleSets = list(
    list(
      Name = "string",
      Id = "string",
      Description = "string",
      LockToken = "string",
      ARN = "string",
      LabelNamespace = "string"
    )
  )
)

Request syntax

svc$list_managed_rule_sets(
  Scope = "CLOUDFRONT"|"REGIONAL",
  NextMarker = "string",
  Limit = 123
)