Module: Aws::NetworkMonitor

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

Overview

This module provides support for Amazon CloudWatch Network Monitor. This module is available in the ‘aws-sdk-networkmonitor` 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_monitor = Aws::NetworkMonitor::Client.new
resp = network_monitor.create_monitor(params)

See Client for more information.

# Errors

Errors returned from Amazon CloudWatch Network Monitor are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::NetworkMonitor::Errors::ServiceError
  # rescues all Amazon CloudWatch Network Monitor API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types, Waiters Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.15.0'