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

Module: Aws::WAFV2

Defined in:
(unknown)

Overview

This module provides a client for making API requests to AWS WAFV2.

Aws::WAFV2::Client

The Client class provides one-to-one mapping for each API operation.

wafv2 = Aws::WAFV2::Client.new(region: 'us-east-1')
wafv2.operation_names
#=> [:associate_web_acl, :check_capacity, :create_ip_set, :create_regex_pattern_set, ...]

Each API operation method accepts a hash of request parameters and returns a response object.

resp = wafv2.associate_web_acl(params)

See Client for more information.

Aws::WAFV2::Errors

Errors returned from AWS WAFV2 are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::WAFV2::Errors::ServiceError
  # rescues all errors returned by AWS WAFV2
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client