/// <summary> /// <para>Creates a new connection between the customer network and a specific AWS Direct Connect location.</para> <para>A connection links your /// internal network to an AWS Direct Connect location over a standard 1 gigabit or 10 gigabit Ethernet fiber-optic cable. One end of the cable /// is connected to your router, the other to an AWS Direct Connect router. A Direct Connect location provides access to Amazon Web Services in /// the region it is associated with. You can establish connections with AWS Direct Connect locations in multiple regions, but a connection in /// one region does not provide connectivity to other regions.</para> /// </summary> /// /// <param name="createConnectionRequest">Container for the necessary parameters to execute the CreateConnection service method on /// AmazonDirectConnect.</param> /// /// <returns>The response from the CreateConnection service method, as returned by AmazonDirectConnect.</returns> /// /// <exception cref="T:Amazon.DirectConnect.Model.DirectConnectServerException" /> /// <exception cref="T:Amazon.DirectConnect.Model.DirectConnectClientException" /> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public Task <CreateConnectionResponse> CreateConnectionAsync(CreateConnectionRequest createConnectionRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new CreateConnectionRequestMarshaller(); var unmarshaller = CreateConnectionResponseUnmarshaller.GetInstance(); return(Invoke <IRequest, CreateConnectionRequest, CreateConnectionResponse>(createConnectionRequest, marshaller, unmarshaller, signer, cancellationToken)); }
public override CreateConnectionResponse GetResponse(UnmarshallerContext unmarshallerContext) { return(CreateConnectionResponseUnmarshaller.Unmarshall(unmarshallerContext)); }