Class AWS::DirectConnect
In: lib/aws/direct_connect.rb
lib/aws/direct_connect/client.rb
lib/aws/direct_connect/errors.rb
Parent: Object

This class is the starting point for working with AWS Import/Export.

To use AWS Direct Connect you must first [sign up here](aws.amazon.com/directconnect/).

For more information about AWS AWS Direct Connect:

# Credentials

You can setup default credentials for all AWS services via AWS.config:

    AWS.config(
      :access_key_id => 'YOUR_ACCESS_KEY_ID',
      :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')

Or you can set them directly on the AWS::DirectConnect interface:

    dc = AWS::DirectConnect.new(
      :access_key_id => 'YOUR_ACCESS_KEY_ID',
      :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')

# Using the Client

AWS::DirectConnect does not provide higher level abstractions for at this time. You can still access all of the API methods using {AWS::DirectConnect::Client}. Here is how you access the client and make a simple request:

    dc = AWS::DirectConnect.new

    resp = dc.client.describe_connections
    resp[:connections].each do |connection|
      # ...
    end

See {Client} for documentation on all of the supported operations.

@!attribute [r] client

  @return [Client] the low-level DirectConnect client object

Included Modules

Core::ServiceInterface

Classes and Modules

Module AWS::DirectConnect::Errors
Class AWS::DirectConnect::Client

[Validate]