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

Class: Aws::WAFRegional::Types::RegexMatchSetUpdate

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

Overview

Note:

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

{
  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
  },
}

In an UpdateRegexMatchSet request, RegexMatchSetUpdate specifies whether to insert or delete a RegexMatchTuple and includes the settings for the RegexMatchTuple.

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

Specifies whether to insert or delete a RegexMatchTuple.

Returns:

  • (String)


3744
3745
3746
3747
3748
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 3744

class RegexMatchSetUpdate < Struct.new(
  :action,
  :regex_match_tuple)
  include Aws::Structure
end

#regex_match_tupleTypes::RegexMatchTuple

Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE for the value of Action, the RegexMatchTuple values must exactly match the values in the RegexMatchTuple that you want to delete from the RegexMatchSet.



3744
3745
3746
3747
3748
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 3744

class RegexMatchSetUpdate < Struct.new(
  :action,
  :regex_match_tuple)
  include Aws::Structure
end