Module: Aws::DirectConnect
- Defined in:
- lib/aws-sdk-directconnect/endpoint_parameters.rb,
lib/aws-sdk-directconnect/plugins/endpoints.rb,
lib/aws-sdk-directconnect/endpoint_provider.rb,
lib/aws-sdk-directconnect/client_api.rb,
lib/aws-sdk-directconnect/endpoints.rb,
lib/aws-sdk-directconnect/resource.rb,
lib/aws-sdk-directconnect/errors.rb,
lib/aws-sdk-directconnect/client.rb,
lib/aws-sdk-directconnect/types.rb,
lib/aws-sdk-directconnect.rb
Overview
This module provides support for AWS Direct Connect. This module is available in the ‘aws-sdk-directconnect` 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.
direct_connect = Aws::DirectConnect::Client.new
resp = direct_connect.accept_direct_connect_gateway_association_proposal(params)
See Client for more information.
# Errors
Errors returned from AWS Direct Connect are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::DirectConnect::Errors::ServiceError
# rescues all AWS Direct Connect 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.83.0'