You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::NetworkFirewall
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to AWS Network Firewall.
Aws::NetworkFirewall::Client
The Client class provides one-to-one mapping for each API operation.
networkfirewall = Aws::NetworkFirewall::Client.new(region: 'us-east-1')
networkfirewall.operation_names
#=> [:associate_firewall_policy, :associate_subnets, :create_firewall, :create_firewall_policy, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = networkfirewall.associate_firewall_policy(params)
See Client for more information.
Aws::NetworkFirewall::Errors
Errors returned from AWS Network Firewall are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::NetworkFirewall::Errors::ServiceError
# rescues all errors returned by AWS Network Firewall
end
See Errors for more information.