Module: Aws::NetworkFirewall

Defined in:
lib/aws-sdk-networkfirewall/endpoint_parameters.rb,
lib/aws-sdk-networkfirewall/plugins/endpoints.rb,
lib/aws-sdk-networkfirewall/endpoint_provider.rb,
lib/aws-sdk-networkfirewall/client_api.rb,
lib/aws-sdk-networkfirewall/endpoints.rb,
lib/aws-sdk-networkfirewall/resource.rb,
lib/aws-sdk-networkfirewall/errors.rb,
lib/aws-sdk-networkfirewall/client.rb,
lib/aws-sdk-networkfirewall/types.rb,
lib/aws-sdk-networkfirewall.rb

Overview

This module provides support for AWS Network Firewall. This module is available in the ‘aws-sdk-networkfirewall` 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.

network_firewall = Aws::NetworkFirewall::Client.new
resp = network_firewall.associate_firewall_policy(params)

See Client for more information.

# Errors

Errors returned from AWS Network Firewall are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::NetworkFirewall::Errors::ServiceError
  # rescues all AWS Network Firewall 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.54.0'