You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::WAF::Types::UpdateRegexMatchSetRequest

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

Overview

Note:

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

{
  regex_match_set_id: "ResourceId", # required
  updates: [ # required
    {
      action: "INSERT", # required, accepts INSERT, DELETE
      regex_match_tuple: { # required
        field_to_match: { # required
          type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY
          data: "MatchFieldData",
        },
        text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
        regex_pattern_set_id: "ResourceId", # required
      },
    },
  ],
  change_token: "ChangeToken", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#change_tokenString

The value returned by the most recent call to GetChangeToken.

Returns:

  • (String)


4861
4862
4863
4864
4865
4866
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 4861

class UpdateRegexMatchSetRequest < Struct.new(
  :regex_match_set_id,
  :updates,
  :change_token)
  include Aws::Structure
end

#regex_match_set_idString

The RegexMatchSetId of the RegexMatchSet that you want to update. RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

Returns:

  • (String)


4861
4862
4863
4864
4865
4866
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 4861

class UpdateRegexMatchSetRequest < Struct.new(
  :regex_match_set_id,
  :updates,
  :change_token)
  include Aws::Structure
end

#updatesArray<Types::RegexMatchSetUpdate>

An array of RegexMatchSetUpdate objects that you want to insert into or delete from a RegexMatchSet. For more information, see RegexMatchTuple.

Returns:



4861
4862
4863
4864
4865
4866
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 4861

class UpdateRegexMatchSetRequest < Struct.new(
  :regex_match_set_id,
  :updates,
  :change_token)
  include Aws::Structure
end