Module: Aws::WAF
- Defined in:
- lib/aws-sdk-waf/endpoint_parameters.rb,
lib/aws-sdk-waf/plugins/endpoints.rb,
lib/aws-sdk-waf/endpoint_provider.rb,
lib/aws-sdk-waf/client_api.rb,
lib/aws-sdk-waf/endpoints.rb,
lib/aws-sdk-waf/resource.rb,
lib/aws-sdk-waf/errors.rb,
lib/aws-sdk-waf/client.rb,
lib/aws-sdk-waf/types.rb,
lib/aws-sdk-waf.rb
Overview
This module provides support for AWS WAF. This module is available in the ‘aws-sdk-waf` gem.
# Client
The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.
waf = Aws::WAF::Client.new
resp = waf.create_byte_match_set(params)
See Client for more information.
# Errors
Errors returned from AWS WAF are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::WAF::Errors::ServiceError
# rescues all AWS WAF API errors
end
See Errors for more information.
Defined Under Namespace
Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource
service collapse
- GEM_VERSION =
'1.73.0'