Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . directconnect ]

confirm-connection

Description

Confirms the creation of the specified hosted connection on an interconnect.

Upon creation, the hosted connection is initially in the Ordering state, and remains in this state until the owner confirms creation of the hosted connection.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  confirm-connection
--connection-id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--connection-id (string)

The ID of the hosted connection.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Examples

To confirm the creation of a hosted connection on an interconnect

The following confirm-connection command confirms the creation of a hosted connection on an interconnect:

aws directconnect confirm-connection --connection-id dxcon-fg2wi7hy

Output:

{
    "connectionState": "pending"
}

Output

connectionState -> (string)

The state of the connection. The following are the possible values:

  • ordering : The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.
  • requested : The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • pending : The connection has been approved and is being initialized.
  • available : The network link is up and the connection is ready for use.
  • down : The network link is down.
  • deleting : The connection is being deleted.
  • deleted : The connection has been deleted.
  • rejected : A hosted connection in the ordering state enters the rejected state if it is deleted by the customer.