Class: Aws::WAFV2::Types::ListManagedRuleSetsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb

Overview

Note:

When making an API call, you may pass ListManagedRuleSetsRequest data as a hash:

{
  scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
  next_marker: "NextMarker",
  limit: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#limitInteger

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.

Returns:

  • (Integer)


5231
5232
5233
5234
5235
5236
5237
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 5231

class ListManagedRuleSetsRequest < Struct.new(
  :scope,
  :next_marker,
  :limit)
  SENSITIVE = []
  include Aws::Structure
end

#next_markerString

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.

Returns:

  • (String)


5231
5232
5233
5234
5235
5236
5237
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 5231

class ListManagedRuleSetsRequest < Struct.new(
  :scope,
  :next_marker,
  :limit)
  SENSITIVE = []
  include Aws::Structure
end

#scopeString

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, or an AppSync GraphQL API.

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.

Returns:

  • (String)


5231
5232
5233
5234
5235
5236
5237
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 5231

class ListManagedRuleSetsRequest < Struct.new(
  :scope,
  :next_marker,
  :limit)
  SENSITIVE = []
  include Aws::Structure
end