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

Class: Aws::WAFRegional::Types::UpdateSqlInjectionMatchSetRequest

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 UpdateSqlInjectionMatchSetRequest data as a hash:

{
  sql_injection_match_set_id: "ResourceId", # required
  change_token: "ChangeToken", # required
  updates: [ # required
    {
      action: "INSERT", # required, accepts INSERT, DELETE
      sql_injection_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
      },
    },
  ],
}

A request to update a SqlInjectionMatchSet.

Instance Attribute Summary collapse

Instance Attribute Details

#change_tokenString

The value returned by the most recent call to GetChangeToken.

Returns:

  • (String)


5291
5292
5293
5294
5295
5296
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 5291

class UpdateSqlInjectionMatchSetRequest < Struct.new(
  :sql_injection_match_set_id,
  :change_token,
  :updates)
  include Aws::Structure
end

#sql_injection_match_set_idString

The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to update. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

Returns:

  • (String)


5291
5292
5293
5294
5295
5296
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 5291

class UpdateSqlInjectionMatchSetRequest < Struct.new(
  :sql_injection_match_set_id,
  :change_token,
  :updates)
  include Aws::Structure
end

#updatesArray<Types::SqlInjectionMatchSetUpdate>

An array of SqlInjectionMatchSetUpdate objects that you want to insert into or delete from a SqlInjectionMatchSet. For more information, see the applicable data types:

  • SqlInjectionMatchSetUpdate: Contains Action and SqlInjectionMatchTuple

  • SqlInjectionMatchTuple: Contains FieldToMatch and TextTransformation

  • FieldToMatch: Contains Data and Type



5291
5292
5293
5294
5295
5296
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 5291

class UpdateSqlInjectionMatchSetRequest < Struct.new(
  :sql_injection_match_set_id,
  :change_token,
  :updates)
  include Aws::Structure
end