All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.directconnect.DirectConnectAsyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Direct Connect module holds the client classes that are used for communicating with AWS Direct Connect Service

There is a newer version: 2.29.39
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.directconnect;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.services.directconnect.model.AcceptDirectConnectGatewayAssociationProposalRequest;
import software.amazon.awssdk.services.directconnect.model.AcceptDirectConnectGatewayAssociationProposalResponse;
import software.amazon.awssdk.services.directconnect.model.AllocateHostedConnectionRequest;
import software.amazon.awssdk.services.directconnect.model.AllocateHostedConnectionResponse;
import software.amazon.awssdk.services.directconnect.model.AllocatePrivateVirtualInterfaceRequest;
import software.amazon.awssdk.services.directconnect.model.AllocatePrivateVirtualInterfaceResponse;
import software.amazon.awssdk.services.directconnect.model.AllocatePublicVirtualInterfaceRequest;
import software.amazon.awssdk.services.directconnect.model.AllocatePublicVirtualInterfaceResponse;
import software.amazon.awssdk.services.directconnect.model.AllocateTransitVirtualInterfaceRequest;
import software.amazon.awssdk.services.directconnect.model.AllocateTransitVirtualInterfaceResponse;
import software.amazon.awssdk.services.directconnect.model.AssociateConnectionWithLagRequest;
import software.amazon.awssdk.services.directconnect.model.AssociateConnectionWithLagResponse;
import software.amazon.awssdk.services.directconnect.model.AssociateHostedConnectionRequest;
import software.amazon.awssdk.services.directconnect.model.AssociateHostedConnectionResponse;
import software.amazon.awssdk.services.directconnect.model.AssociateMacSecKeyRequest;
import software.amazon.awssdk.services.directconnect.model.AssociateMacSecKeyResponse;
import software.amazon.awssdk.services.directconnect.model.AssociateVirtualInterfaceRequest;
import software.amazon.awssdk.services.directconnect.model.AssociateVirtualInterfaceResponse;
import software.amazon.awssdk.services.directconnect.model.ConfirmConnectionRequest;
import software.amazon.awssdk.services.directconnect.model.ConfirmConnectionResponse;
import software.amazon.awssdk.services.directconnect.model.ConfirmCustomerAgreementRequest;
import software.amazon.awssdk.services.directconnect.model.ConfirmCustomerAgreementResponse;
import software.amazon.awssdk.services.directconnect.model.ConfirmPrivateVirtualInterfaceRequest;
import software.amazon.awssdk.services.directconnect.model.ConfirmPrivateVirtualInterfaceResponse;
import software.amazon.awssdk.services.directconnect.model.ConfirmPublicVirtualInterfaceRequest;
import software.amazon.awssdk.services.directconnect.model.ConfirmPublicVirtualInterfaceResponse;
import software.amazon.awssdk.services.directconnect.model.ConfirmTransitVirtualInterfaceRequest;
import software.amazon.awssdk.services.directconnect.model.ConfirmTransitVirtualInterfaceResponse;
import software.amazon.awssdk.services.directconnect.model.CreateBgpPeerRequest;
import software.amazon.awssdk.services.directconnect.model.CreateBgpPeerResponse;
import software.amazon.awssdk.services.directconnect.model.CreateConnectionRequest;
import software.amazon.awssdk.services.directconnect.model.CreateConnectionResponse;
import software.amazon.awssdk.services.directconnect.model.CreateDirectConnectGatewayAssociationProposalRequest;
import software.amazon.awssdk.services.directconnect.model.CreateDirectConnectGatewayAssociationProposalResponse;
import software.amazon.awssdk.services.directconnect.model.CreateDirectConnectGatewayAssociationRequest;
import software.amazon.awssdk.services.directconnect.model.CreateDirectConnectGatewayAssociationResponse;
import software.amazon.awssdk.services.directconnect.model.CreateDirectConnectGatewayRequest;
import software.amazon.awssdk.services.directconnect.model.CreateDirectConnectGatewayResponse;
import software.amazon.awssdk.services.directconnect.model.CreateInterconnectRequest;
import software.amazon.awssdk.services.directconnect.model.CreateInterconnectResponse;
import software.amazon.awssdk.services.directconnect.model.CreateLagRequest;
import software.amazon.awssdk.services.directconnect.model.CreateLagResponse;
import software.amazon.awssdk.services.directconnect.model.CreatePrivateVirtualInterfaceRequest;
import software.amazon.awssdk.services.directconnect.model.CreatePrivateVirtualInterfaceResponse;
import software.amazon.awssdk.services.directconnect.model.CreatePublicVirtualInterfaceRequest;
import software.amazon.awssdk.services.directconnect.model.CreatePublicVirtualInterfaceResponse;
import software.amazon.awssdk.services.directconnect.model.CreateTransitVirtualInterfaceRequest;
import software.amazon.awssdk.services.directconnect.model.CreateTransitVirtualInterfaceResponse;
import software.amazon.awssdk.services.directconnect.model.DeleteBgpPeerRequest;
import software.amazon.awssdk.services.directconnect.model.DeleteBgpPeerResponse;
import software.amazon.awssdk.services.directconnect.model.DeleteConnectionRequest;
import software.amazon.awssdk.services.directconnect.model.DeleteConnectionResponse;
import software.amazon.awssdk.services.directconnect.model.DeleteDirectConnectGatewayAssociationProposalRequest;
import software.amazon.awssdk.services.directconnect.model.DeleteDirectConnectGatewayAssociationProposalResponse;
import software.amazon.awssdk.services.directconnect.model.DeleteDirectConnectGatewayAssociationRequest;
import software.amazon.awssdk.services.directconnect.model.DeleteDirectConnectGatewayAssociationResponse;
import software.amazon.awssdk.services.directconnect.model.DeleteDirectConnectGatewayRequest;
import software.amazon.awssdk.services.directconnect.model.DeleteDirectConnectGatewayResponse;
import software.amazon.awssdk.services.directconnect.model.DeleteInterconnectRequest;
import software.amazon.awssdk.services.directconnect.model.DeleteInterconnectResponse;
import software.amazon.awssdk.services.directconnect.model.DeleteLagRequest;
import software.amazon.awssdk.services.directconnect.model.DeleteLagResponse;
import software.amazon.awssdk.services.directconnect.model.DeleteVirtualInterfaceRequest;
import software.amazon.awssdk.services.directconnect.model.DeleteVirtualInterfaceResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeConnectionsRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeConnectionsResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeCustomerMetadataRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeCustomerMetadataResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeDirectConnectGatewayAssociationProposalsRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeDirectConnectGatewayAssociationProposalsResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeDirectConnectGatewayAssociationsRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeDirectConnectGatewayAssociationsResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeDirectConnectGatewayAttachmentsRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeDirectConnectGatewayAttachmentsResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeDirectConnectGatewaysRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeDirectConnectGatewaysResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeHostedConnectionsRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeHostedConnectionsResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeInterconnectsRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeInterconnectsResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeLagsRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeLagsResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeLoaRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeLoaResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeLocationsRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeLocationsResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeRouterConfigurationRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeRouterConfigurationResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeTagsRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeTagsResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeVirtualGatewaysRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeVirtualGatewaysResponse;
import software.amazon.awssdk.services.directconnect.model.DescribeVirtualInterfacesRequest;
import software.amazon.awssdk.services.directconnect.model.DescribeVirtualInterfacesResponse;
import software.amazon.awssdk.services.directconnect.model.DisassociateConnectionFromLagRequest;
import software.amazon.awssdk.services.directconnect.model.DisassociateConnectionFromLagResponse;
import software.amazon.awssdk.services.directconnect.model.DisassociateMacSecKeyRequest;
import software.amazon.awssdk.services.directconnect.model.DisassociateMacSecKeyResponse;
import software.amazon.awssdk.services.directconnect.model.ListVirtualInterfaceTestHistoryRequest;
import software.amazon.awssdk.services.directconnect.model.ListVirtualInterfaceTestHistoryResponse;
import software.amazon.awssdk.services.directconnect.model.StartBgpFailoverTestRequest;
import software.amazon.awssdk.services.directconnect.model.StartBgpFailoverTestResponse;
import software.amazon.awssdk.services.directconnect.model.StopBgpFailoverTestRequest;
import software.amazon.awssdk.services.directconnect.model.StopBgpFailoverTestResponse;
import software.amazon.awssdk.services.directconnect.model.TagResourceRequest;
import software.amazon.awssdk.services.directconnect.model.TagResourceResponse;
import software.amazon.awssdk.services.directconnect.model.UntagResourceRequest;
import software.amazon.awssdk.services.directconnect.model.UntagResourceResponse;
import software.amazon.awssdk.services.directconnect.model.UpdateConnectionRequest;
import software.amazon.awssdk.services.directconnect.model.UpdateConnectionResponse;
import software.amazon.awssdk.services.directconnect.model.UpdateDirectConnectGatewayAssociationRequest;
import software.amazon.awssdk.services.directconnect.model.UpdateDirectConnectGatewayAssociationResponse;
import software.amazon.awssdk.services.directconnect.model.UpdateDirectConnectGatewayRequest;
import software.amazon.awssdk.services.directconnect.model.UpdateDirectConnectGatewayResponse;
import software.amazon.awssdk.services.directconnect.model.UpdateLagRequest;
import software.amazon.awssdk.services.directconnect.model.UpdateLagResponse;
import software.amazon.awssdk.services.directconnect.model.UpdateVirtualInterfaceAttributesRequest;
import software.amazon.awssdk.services.directconnect.model.UpdateVirtualInterfaceAttributesResponse;

/**
 * Service client for accessing AWS Direct Connect asynchronously. This can be created using the static
 * {@link #builder()} method.
 *
 * 

* Direct Connect links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable. * One end of the cable is connected to your router, the other to an Direct Connect router. With this connection in * place, you can create virtual interfaces directly to the Amazon Web Services Cloud (for example, to Amazon EC2 and * Amazon S3) and to Amazon VPC, bypassing Internet service providers in your network path. A connection provides access * to all Amazon Web Services Regions except the China (Beijing) and (China) Ningxia Regions. Amazon Web Services * resources in the China Regions can only be accessed through locations associated with those Regions. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface DirectConnectAsyncClient extends SdkClient { String SERVICE_NAME = "directconnect"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "directconnect"; /** * Create a {@link DirectConnectAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static DirectConnectAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link DirectConnectAsyncClient}. */ static DirectConnectAsyncClientBuilder builder() { return new DefaultDirectConnectAsyncClientBuilder(); } /** *

* Accepts a proposal request to attach a virtual private gateway or transit gateway to a Direct Connect gateway. *

* * @param acceptDirectConnectGatewayAssociationProposalRequest * @return A Java Future containing the result of the AcceptDirectConnectGatewayAssociationProposal operation * returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AcceptDirectConnectGatewayAssociationProposal * @see AWS API Documentation */ default CompletableFuture acceptDirectConnectGatewayAssociationProposal( AcceptDirectConnectGatewayAssociationProposalRequest acceptDirectConnectGatewayAssociationProposalRequest) { throw new UnsupportedOperationException(); } /** *

* Accepts a proposal request to attach a virtual private gateway or transit gateway to a Direct Connect gateway. *

*
*

* This is a convenience which creates an instance of the * {@link AcceptDirectConnectGatewayAssociationProposalRequest.Builder} avoiding the need to create one manually via * {@link AcceptDirectConnectGatewayAssociationProposalRequest#builder()} *

* * @param acceptDirectConnectGatewayAssociationProposalRequest * A {@link Consumer} that will call methods on * {@link AcceptDirectConnectGatewayAssociationProposalRequest.Builder} to create a request. * @return A Java Future containing the result of the AcceptDirectConnectGatewayAssociationProposal operation * returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AcceptDirectConnectGatewayAssociationProposal * @see AWS API Documentation */ default CompletableFuture acceptDirectConnectGatewayAssociationProposal( Consumer acceptDirectConnectGatewayAssociationProposalRequest) { return acceptDirectConnectGatewayAssociationProposal(AcceptDirectConnectGatewayAssociationProposalRequest.builder() .applyMutation(acceptDirectConnectGatewayAssociationProposalRequest).build()); } /** *

* Creates a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects. *

*

* Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connection on the * specified interconnect or LAG of interconnects. Amazon Web Services polices the hosted connection for the * specified capacity and the Direct Connect Partner must also police the hosted connection for the specified * capacity. *

* *

* Intended for use by Direct Connect Partners only. *

*
* * @param allocateHostedConnectionRequest * @return A Java Future containing the result of the AllocateHostedConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AllocateHostedConnection * @see AWS API Documentation */ default CompletableFuture allocateHostedConnection( AllocateHostedConnectionRequest allocateHostedConnectionRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects. *

*

* Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connection on the * specified interconnect or LAG of interconnects. Amazon Web Services polices the hosted connection for the * specified capacity and the Direct Connect Partner must also police the hosted connection for the specified * capacity. *

* *

* Intended for use by Direct Connect Partners only. *

*

*

* This is a convenience which creates an instance of the {@link AllocateHostedConnectionRequest.Builder} avoiding * the need to create one manually via {@link AllocateHostedConnectionRequest#builder()} *

* * @param allocateHostedConnectionRequest * A {@link Consumer} that will call methods on {@link AllocateHostedConnectionRequest.Builder} to create a * request. * @return A Java Future containing the result of the AllocateHostedConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AllocateHostedConnection * @see AWS API Documentation */ default CompletableFuture allocateHostedConnection( Consumer allocateHostedConnectionRequest) { return allocateHostedConnection(AllocateHostedConnectionRequest.builder().applyMutation(allocateHostedConnectionRequest) .build()); } /** *

* Provisions a private virtual interface to be owned by the specified Amazon Web Services account. *

*

* Virtual interfaces created using this action must be confirmed by the owner using * ConfirmPrivateVirtualInterface. Until then, the virtual interface is in the Confirming state * and is not available to handle traffic. *

* * @param allocatePrivateVirtualInterfaceRequest * @return A Java Future containing the result of the AllocatePrivateVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AllocatePrivateVirtualInterface * @see AWS API Documentation */ default CompletableFuture allocatePrivateVirtualInterface( AllocatePrivateVirtualInterfaceRequest allocatePrivateVirtualInterfaceRequest) { throw new UnsupportedOperationException(); } /** *

* Provisions a private virtual interface to be owned by the specified Amazon Web Services account. *

*

* Virtual interfaces created using this action must be confirmed by the owner using * ConfirmPrivateVirtualInterface. Until then, the virtual interface is in the Confirming state * and is not available to handle traffic. *

*
*

* This is a convenience which creates an instance of the {@link AllocatePrivateVirtualInterfaceRequest.Builder} * avoiding the need to create one manually via {@link AllocatePrivateVirtualInterfaceRequest#builder()} *

* * @param allocatePrivateVirtualInterfaceRequest * A {@link Consumer} that will call methods on {@link AllocatePrivateVirtualInterfaceRequest.Builder} to * create a request. * @return A Java Future containing the result of the AllocatePrivateVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AllocatePrivateVirtualInterface * @see AWS API Documentation */ default CompletableFuture allocatePrivateVirtualInterface( Consumer allocatePrivateVirtualInterfaceRequest) { return allocatePrivateVirtualInterface(AllocatePrivateVirtualInterfaceRequest.builder() .applyMutation(allocatePrivateVirtualInterfaceRequest).build()); } /** *

* Provisions a public virtual interface to be owned by the specified Amazon Web Services account. *

*

* The owner of a connection calls this function to provision a public virtual interface to be owned by the * specified Amazon Web Services account. *

*

* Virtual interfaces created using this function must be confirmed by the owner using * ConfirmPublicVirtualInterface. Until this step has been completed, the virtual interface is in the * confirming state and is not available to handle traffic. *

*

* When creating an IPv6 public virtual interface, omit the Amazon address and customer address. IPv6 addresses are * automatically assigned from the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses. *

* * @param allocatePublicVirtualInterfaceRequest * @return A Java Future containing the result of the AllocatePublicVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AllocatePublicVirtualInterface * @see AWS API Documentation */ default CompletableFuture allocatePublicVirtualInterface( AllocatePublicVirtualInterfaceRequest allocatePublicVirtualInterfaceRequest) { throw new UnsupportedOperationException(); } /** *

* Provisions a public virtual interface to be owned by the specified Amazon Web Services account. *

*

* The owner of a connection calls this function to provision a public virtual interface to be owned by the * specified Amazon Web Services account. *

*

* Virtual interfaces created using this function must be confirmed by the owner using * ConfirmPublicVirtualInterface. Until this step has been completed, the virtual interface is in the * confirming state and is not available to handle traffic. *

*

* When creating an IPv6 public virtual interface, omit the Amazon address and customer address. IPv6 addresses are * automatically assigned from the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses. *

*
*

* This is a convenience which creates an instance of the {@link AllocatePublicVirtualInterfaceRequest.Builder} * avoiding the need to create one manually via {@link AllocatePublicVirtualInterfaceRequest#builder()} *

* * @param allocatePublicVirtualInterfaceRequest * A {@link Consumer} that will call methods on {@link AllocatePublicVirtualInterfaceRequest.Builder} to * create a request. * @return A Java Future containing the result of the AllocatePublicVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AllocatePublicVirtualInterface * @see AWS API Documentation */ default CompletableFuture allocatePublicVirtualInterface( Consumer allocatePublicVirtualInterfaceRequest) { return allocatePublicVirtualInterface(AllocatePublicVirtualInterfaceRequest.builder() .applyMutation(allocatePublicVirtualInterfaceRequest).build()); } /** *

* Provisions a transit virtual interface to be owned by the specified Amazon Web Services account. Use this type of * interface to connect a transit gateway to your Direct Connect gateway. *

*

* The owner of a connection provisions a transit virtual interface to be owned by the specified Amazon Web Services * account. *

*

* After you create a transit virtual interface, it must be confirmed by the owner using * ConfirmTransitVirtualInterface. Until this step has been completed, the transit virtual interface is in * the requested state and is not available to handle traffic. *

* * @param allocateTransitVirtualInterfaceRequest * @return A Java Future containing the result of the AllocateTransitVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AllocateTransitVirtualInterface * @see AWS API Documentation */ default CompletableFuture allocateTransitVirtualInterface( AllocateTransitVirtualInterfaceRequest allocateTransitVirtualInterfaceRequest) { throw new UnsupportedOperationException(); } /** *

* Provisions a transit virtual interface to be owned by the specified Amazon Web Services account. Use this type of * interface to connect a transit gateway to your Direct Connect gateway. *

*

* The owner of a connection provisions a transit virtual interface to be owned by the specified Amazon Web Services * account. *

*

* After you create a transit virtual interface, it must be confirmed by the owner using * ConfirmTransitVirtualInterface. Until this step has been completed, the transit virtual interface is in * the requested state and is not available to handle traffic. *

*
*

* This is a convenience which creates an instance of the {@link AllocateTransitVirtualInterfaceRequest.Builder} * avoiding the need to create one manually via {@link AllocateTransitVirtualInterfaceRequest#builder()} *

* * @param allocateTransitVirtualInterfaceRequest * A {@link Consumer} that will call methods on {@link AllocateTransitVirtualInterfaceRequest.Builder} to * create a request. * @return A Java Future containing the result of the AllocateTransitVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AllocateTransitVirtualInterface * @see AWS API Documentation */ default CompletableFuture allocateTransitVirtualInterface( Consumer allocateTransitVirtualInterfaceRequest) { return allocateTransitVirtualInterface(AllocateTransitVirtualInterfaceRequest.builder() .applyMutation(allocateTransitVirtualInterfaceRequest).build()); } /** *

* Associates an existing connection with a link aggregation group (LAG). The connection is interrupted and * re-established as a member of the LAG (connectivity to Amazon Web Services is interrupted). The connection must * be hosted on the same Direct Connect endpoint as the LAG, and its bandwidth must match the bandwidth for the LAG. * You can re-associate a connection that's currently associated with a different LAG; however, if removing the * connection would cause the original LAG to fall below its setting for minimum number of operational connections, * the request fails. *

*

* Any virtual interfaces that are directly associated with the connection are automatically re-associated with the * LAG. If the connection was originally associated with a different LAG, the virtual interfaces remain associated * with the original LAG. *

*

* For interconnects, any hosted connections are automatically re-associated with the LAG. If the interconnect was * originally associated with a different LAG, the hosted connections remain associated with the original LAG. *

* * @param associateConnectionWithLagRequest * @return A Java Future containing the result of the AssociateConnectionWithLag operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AssociateConnectionWithLag * @see AWS API Documentation */ default CompletableFuture associateConnectionWithLag( AssociateConnectionWithLagRequest associateConnectionWithLagRequest) { throw new UnsupportedOperationException(); } /** *

* Associates an existing connection with a link aggregation group (LAG). The connection is interrupted and * re-established as a member of the LAG (connectivity to Amazon Web Services is interrupted). The connection must * be hosted on the same Direct Connect endpoint as the LAG, and its bandwidth must match the bandwidth for the LAG. * You can re-associate a connection that's currently associated with a different LAG; however, if removing the * connection would cause the original LAG to fall below its setting for minimum number of operational connections, * the request fails. *

*

* Any virtual interfaces that are directly associated with the connection are automatically re-associated with the * LAG. If the connection was originally associated with a different LAG, the virtual interfaces remain associated * with the original LAG. *

*

* For interconnects, any hosted connections are automatically re-associated with the LAG. If the interconnect was * originally associated with a different LAG, the hosted connections remain associated with the original LAG. *

*
*

* This is a convenience which creates an instance of the {@link AssociateConnectionWithLagRequest.Builder} avoiding * the need to create one manually via {@link AssociateConnectionWithLagRequest#builder()} *

* * @param associateConnectionWithLagRequest * A {@link Consumer} that will call methods on {@link AssociateConnectionWithLagRequest.Builder} to create a * request. * @return A Java Future containing the result of the AssociateConnectionWithLag operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AssociateConnectionWithLag * @see AWS API Documentation */ default CompletableFuture associateConnectionWithLag( Consumer associateConnectionWithLagRequest) { return associateConnectionWithLag(AssociateConnectionWithLagRequest.builder() .applyMutation(associateConnectionWithLagRequest).build()); } /** *

* Associates a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect. If * the target interconnect or LAG has an existing hosted connection with a conflicting VLAN number or IP address, * the operation fails. This action temporarily interrupts the hosted connection's connectivity to Amazon Web * Services as it is being migrated. *

* *

* Intended for use by Direct Connect Partners only. *

*
* * @param associateHostedConnectionRequest * @return A Java Future containing the result of the AssociateHostedConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AssociateHostedConnection * @see AWS API Documentation */ default CompletableFuture associateHostedConnection( AssociateHostedConnectionRequest associateHostedConnectionRequest) { throw new UnsupportedOperationException(); } /** *

* Associates a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect. If * the target interconnect or LAG has an existing hosted connection with a conflicting VLAN number or IP address, * the operation fails. This action temporarily interrupts the hosted connection's connectivity to Amazon Web * Services as it is being migrated. *

* *

* Intended for use by Direct Connect Partners only. *

*

*

* This is a convenience which creates an instance of the {@link AssociateHostedConnectionRequest.Builder} avoiding * the need to create one manually via {@link AssociateHostedConnectionRequest#builder()} *

* * @param associateHostedConnectionRequest * A {@link Consumer} that will call methods on {@link AssociateHostedConnectionRequest.Builder} to create a * request. * @return A Java Future containing the result of the AssociateHostedConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AssociateHostedConnection * @see AWS API Documentation */ default CompletableFuture associateHostedConnection( Consumer associateHostedConnectionRequest) { return associateHostedConnection(AssociateHostedConnectionRequest.builder() .applyMutation(associateHostedConnectionRequest).build()); } /** *

* Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with an * Direct Connect dedicated connection. *

*

* You must supply either the secretARN, or the CKN/CAK (ckn and cak) pair in * the request. *

*

* For information about MAC Security (MACsec) key considerations, see MACsec pre-shared CKN/CAK key considerations in the Direct Connect User Guide. *

* * @param associateMacSecKeyRequest * @return A Java Future containing the result of the AssociateMacSecKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AssociateMacSecKey * @see AWS API Documentation */ default CompletableFuture associateMacSecKey(AssociateMacSecKeyRequest associateMacSecKeyRequest) { throw new UnsupportedOperationException(); } /** *

* Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with an * Direct Connect dedicated connection. *

*

* You must supply either the secretARN, or the CKN/CAK (ckn and cak) pair in * the request. *

*

* For information about MAC Security (MACsec) key considerations, see MACsec pre-shared CKN/CAK key considerations in the Direct Connect User Guide. *

*
*

* This is a convenience which creates an instance of the {@link AssociateMacSecKeyRequest.Builder} avoiding the * need to create one manually via {@link AssociateMacSecKeyRequest#builder()} *

* * @param associateMacSecKeyRequest * A {@link Consumer} that will call methods on {@link AssociateMacSecKeyRequest.Builder} to create a * request. * @return A Java Future containing the result of the AssociateMacSecKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AssociateMacSecKey * @see AWS API Documentation */ default CompletableFuture associateMacSecKey( Consumer associateMacSecKeyRequest) { return associateMacSecKey(AssociateMacSecKeyRequest.builder().applyMutation(associateMacSecKeyRequest).build()); } /** *

* Associates a virtual interface with a specified link aggregation group (LAG) or connection. Connectivity to * Amazon Web Services is temporarily interrupted as the virtual interface is being migrated. If the target * connection or LAG has an associated virtual interface with a conflicting VLAN number or a conflicting IP address, * the operation fails. *

*

* Virtual interfaces associated with a hosted connection cannot be associated with a LAG; hosted connections must * be migrated along with their virtual interfaces using AssociateHostedConnection. *

*

* To reassociate a virtual interface to a new connection or LAG, the requester must own either the virtual * interface itself or the connection to which the virtual interface is currently associated. Additionally, the * requester must own the connection or LAG for the association. *

* * @param associateVirtualInterfaceRequest * @return A Java Future containing the result of the AssociateVirtualInterface operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AssociateVirtualInterface * @see AWS API Documentation */ default CompletableFuture associateVirtualInterface( AssociateVirtualInterfaceRequest associateVirtualInterfaceRequest) { throw new UnsupportedOperationException(); } /** *

* Associates a virtual interface with a specified link aggregation group (LAG) or connection. Connectivity to * Amazon Web Services is temporarily interrupted as the virtual interface is being migrated. If the target * connection or LAG has an associated virtual interface with a conflicting VLAN number or a conflicting IP address, * the operation fails. *

*

* Virtual interfaces associated with a hosted connection cannot be associated with a LAG; hosted connections must * be migrated along with their virtual interfaces using AssociateHostedConnection. *

*

* To reassociate a virtual interface to a new connection or LAG, the requester must own either the virtual * interface itself or the connection to which the virtual interface is currently associated. Additionally, the * requester must own the connection or LAG for the association. *

*
*

* This is a convenience which creates an instance of the {@link AssociateVirtualInterfaceRequest.Builder} avoiding * the need to create one manually via {@link AssociateVirtualInterfaceRequest#builder()} *

* * @param associateVirtualInterfaceRequest * A {@link Consumer} that will call methods on {@link AssociateVirtualInterfaceRequest.Builder} to create a * request. * @return A Java Future containing the result of the AssociateVirtualInterface operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.AssociateVirtualInterface * @see AWS API Documentation */ default CompletableFuture associateVirtualInterface( Consumer associateVirtualInterfaceRequest) { return associateVirtualInterface(AssociateVirtualInterfaceRequest.builder() .applyMutation(associateVirtualInterfaceRequest).build()); } /** *

* 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. *

* * @param confirmConnectionRequest * @return A Java Future containing the result of the ConfirmConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.ConfirmConnection * @see AWS API Documentation */ default CompletableFuture confirmConnection(ConfirmConnectionRequest confirmConnectionRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ConfirmConnectionRequest.Builder} avoiding the need * to create one manually via {@link ConfirmConnectionRequest#builder()} *

* * @param confirmConnectionRequest * A {@link Consumer} that will call methods on {@link ConfirmConnectionRequest.Builder} to create a request. * @return A Java Future containing the result of the ConfirmConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.ConfirmConnection * @see AWS API Documentation */ default CompletableFuture confirmConnection( Consumer confirmConnectionRequest) { return confirmConnection(ConfirmConnectionRequest.builder().applyMutation(confirmConnectionRequest).build()); } /** *

* The confirmation of the terms of agreement when creating the connection/link aggregation group (LAG). *

* * @param confirmCustomerAgreementRequest * @return A Java Future containing the result of the ConfirmCustomerAgreement operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.ConfirmCustomerAgreement * @see AWS API Documentation */ default CompletableFuture confirmCustomerAgreement( ConfirmCustomerAgreementRequest confirmCustomerAgreementRequest) { throw new UnsupportedOperationException(); } /** *

* The confirmation of the terms of agreement when creating the connection/link aggregation group (LAG). *

*
*

* This is a convenience which creates an instance of the {@link ConfirmCustomerAgreementRequest.Builder} avoiding * the need to create one manually via {@link ConfirmCustomerAgreementRequest#builder()} *

* * @param confirmCustomerAgreementRequest * A {@link Consumer} that will call methods on {@link ConfirmCustomerAgreementRequest.Builder} to create a * request. * @return A Java Future containing the result of the ConfirmCustomerAgreement operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.ConfirmCustomerAgreement * @see AWS API Documentation */ default CompletableFuture confirmCustomerAgreement( Consumer confirmCustomerAgreementRequest) { return confirmCustomerAgreement(ConfirmCustomerAgreementRequest.builder().applyMutation(confirmCustomerAgreementRequest) .build()); } /** *

* Accepts ownership of a private virtual interface created by another Amazon Web Services account. *

*

* After the virtual interface owner makes this call, the virtual interface is created and attached to the specified * virtual private gateway or Direct Connect gateway, and is made available to handle traffic. *

* * @param confirmPrivateVirtualInterfaceRequest * @return A Java Future containing the result of the ConfirmPrivateVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.ConfirmPrivateVirtualInterface * @see AWS API Documentation */ default CompletableFuture confirmPrivateVirtualInterface( ConfirmPrivateVirtualInterfaceRequest confirmPrivateVirtualInterfaceRequest) { throw new UnsupportedOperationException(); } /** *

* Accepts ownership of a private virtual interface created by another Amazon Web Services account. *

*

* After the virtual interface owner makes this call, the virtual interface is created and attached to the specified * virtual private gateway or Direct Connect gateway, and is made available to handle traffic. *

*
*

* This is a convenience which creates an instance of the {@link ConfirmPrivateVirtualInterfaceRequest.Builder} * avoiding the need to create one manually via {@link ConfirmPrivateVirtualInterfaceRequest#builder()} *

* * @param confirmPrivateVirtualInterfaceRequest * A {@link Consumer} that will call methods on {@link ConfirmPrivateVirtualInterfaceRequest.Builder} to * create a request. * @return A Java Future containing the result of the ConfirmPrivateVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.ConfirmPrivateVirtualInterface * @see AWS API Documentation */ default CompletableFuture confirmPrivateVirtualInterface( Consumer confirmPrivateVirtualInterfaceRequest) { return confirmPrivateVirtualInterface(ConfirmPrivateVirtualInterfaceRequest.builder() .applyMutation(confirmPrivateVirtualInterfaceRequest).build()); } /** *

* Accepts ownership of a public virtual interface created by another Amazon Web Services account. *

*

* After the virtual interface owner makes this call, the specified virtual interface is created and made available * to handle traffic. *

* * @param confirmPublicVirtualInterfaceRequest * @return A Java Future containing the result of the ConfirmPublicVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.ConfirmPublicVirtualInterface * @see AWS API Documentation */ default CompletableFuture confirmPublicVirtualInterface( ConfirmPublicVirtualInterfaceRequest confirmPublicVirtualInterfaceRequest) { throw new UnsupportedOperationException(); } /** *

* Accepts ownership of a public virtual interface created by another Amazon Web Services account. *

*

* After the virtual interface owner makes this call, the specified virtual interface is created and made available * to handle traffic. *

*
*

* This is a convenience which creates an instance of the {@link ConfirmPublicVirtualInterfaceRequest.Builder} * avoiding the need to create one manually via {@link ConfirmPublicVirtualInterfaceRequest#builder()} *

* * @param confirmPublicVirtualInterfaceRequest * A {@link Consumer} that will call methods on {@link ConfirmPublicVirtualInterfaceRequest.Builder} to * create a request. * @return A Java Future containing the result of the ConfirmPublicVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.ConfirmPublicVirtualInterface * @see AWS API Documentation */ default CompletableFuture confirmPublicVirtualInterface( Consumer confirmPublicVirtualInterfaceRequest) { return confirmPublicVirtualInterface(ConfirmPublicVirtualInterfaceRequest.builder() .applyMutation(confirmPublicVirtualInterfaceRequest).build()); } /** *

* Accepts ownership of a transit virtual interface created by another Amazon Web Services account. *

*

* After the owner of the transit virtual interface makes this call, the specified transit virtual interface is * created and made available to handle traffic. *

* * @param confirmTransitVirtualInterfaceRequest * @return A Java Future containing the result of the ConfirmTransitVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.ConfirmTransitVirtualInterface * @see AWS API Documentation */ default CompletableFuture confirmTransitVirtualInterface( ConfirmTransitVirtualInterfaceRequest confirmTransitVirtualInterfaceRequest) { throw new UnsupportedOperationException(); } /** *

* Accepts ownership of a transit virtual interface created by another Amazon Web Services account. *

*

* After the owner of the transit virtual interface makes this call, the specified transit virtual interface is * created and made available to handle traffic. *

*
*

* This is a convenience which creates an instance of the {@link ConfirmTransitVirtualInterfaceRequest.Builder} * avoiding the need to create one manually via {@link ConfirmTransitVirtualInterfaceRequest#builder()} *

* * @param confirmTransitVirtualInterfaceRequest * A {@link Consumer} that will call methods on {@link ConfirmTransitVirtualInterfaceRequest.Builder} to * create a request. * @return A Java Future containing the result of the ConfirmTransitVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.ConfirmTransitVirtualInterface * @see AWS API Documentation */ default CompletableFuture confirmTransitVirtualInterface( Consumer confirmTransitVirtualInterfaceRequest) { return confirmTransitVirtualInterface(ConfirmTransitVirtualInterfaceRequest.builder() .applyMutation(confirmTransitVirtualInterfaceRequest).build()); } /** *

* Creates a BGP peer on the specified virtual interface. *

*

* You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access Amazon Web * Services resources that also use that address family. *

*

* If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot be in the * same address family as an existing BGP peer on the virtual interface. *

*

* When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically * assigned from the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses. *

*

* For a public virtual interface, the Autonomous System Number (ASN) must be private or already on the allow list * for the virtual interface. *

* * @param createBgpPeerRequest * @return A Java Future containing the result of the CreateBGPPeer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateBGPPeer * @see AWS * API Documentation */ default CompletableFuture createBGPPeer(CreateBgpPeerRequest createBgpPeerRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a BGP peer on the specified virtual interface. *

*

* You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access Amazon Web * Services resources that also use that address family. *

*

* If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot be in the * same address family as an existing BGP peer on the virtual interface. *

*

* When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically * assigned from the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses. *

*

* For a public virtual interface, the Autonomous System Number (ASN) must be private or already on the allow list * for the virtual interface. *

*
*

* This is a convenience which creates an instance of the {@link CreateBgpPeerRequest.Builder} avoiding the need to * create one manually via {@link CreateBgpPeerRequest#builder()} *

* * @param createBgpPeerRequest * A {@link Consumer} that will call methods on {@link CreateBGPPeerRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateBGPPeer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateBGPPeer * @see AWS * API Documentation */ default CompletableFuture createBGPPeer(Consumer createBgpPeerRequest) { return createBGPPeer(CreateBgpPeerRequest.builder().applyMutation(createBgpPeerRequest).build()); } /** *

* Creates a connection between a customer network and a specific Direct Connect location. *

*

* A connection links your internal network to an Direct Connect location over a standard Ethernet fiber-optic * cable. One end of the cable is connected to your router, the other to an Direct Connect router. *

*

* To find the locations for your Region, use DescribeLocations. *

*

* You can automatically add the new connection to a link aggregation group (LAG) by specifying a LAG ID in the * request. This ensures that the new connection is allocated on the same Direct Connect endpoint that hosts the * specified LAG. If there are no available ports on the endpoint, the request fails and no connection is created. *

* * @param createConnectionRequest * @return A Java Future containing the result of the CreateConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateConnection * @see AWS API Documentation */ default CompletableFuture createConnection(CreateConnectionRequest createConnectionRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a connection between a customer network and a specific Direct Connect location. *

*

* A connection links your internal network to an Direct Connect location over a standard Ethernet fiber-optic * cable. One end of the cable is connected to your router, the other to an Direct Connect router. *

*

* To find the locations for your Region, use DescribeLocations. *

*

* You can automatically add the new connection to a link aggregation group (LAG) by specifying a LAG ID in the * request. This ensures that the new connection is allocated on the same Direct Connect endpoint that hosts the * specified LAG. If there are no available ports on the endpoint, the request fails and no connection is created. *

*
*

* This is a convenience which creates an instance of the {@link CreateConnectionRequest.Builder} avoiding the need * to create one manually via {@link CreateConnectionRequest#builder()} *

* * @param createConnectionRequest * A {@link Consumer} that will call methods on {@link CreateConnectionRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateConnection * @see AWS API Documentation */ default CompletableFuture createConnection( Consumer createConnectionRequest) { return createConnection(CreateConnectionRequest.builder().applyMutation(createConnectionRequest).build()); } /** *

* Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set of virtual * interfaces and virtual private gateways. A Direct Connect gateway is global and visible in any Amazon Web * Services Region after it is created. The virtual interfaces and virtual private gateways that are connected * through a Direct Connect gateway can be in different Amazon Web Services Regions. This enables you to connect to * a VPC in any Region, regardless of the Region in which the virtual interfaces are located, and pass traffic * between them. *

* * @param createDirectConnectGatewayRequest * @return A Java Future containing the result of the CreateDirectConnectGateway operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateDirectConnectGateway * @see AWS API Documentation */ default CompletableFuture createDirectConnectGateway( CreateDirectConnectGatewayRequest createDirectConnectGatewayRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set of virtual * interfaces and virtual private gateways. A Direct Connect gateway is global and visible in any Amazon Web * Services Region after it is created. The virtual interfaces and virtual private gateways that are connected * through a Direct Connect gateway can be in different Amazon Web Services Regions. This enables you to connect to * a VPC in any Region, regardless of the Region in which the virtual interfaces are located, and pass traffic * between them. *

*
*

* This is a convenience which creates an instance of the {@link CreateDirectConnectGatewayRequest.Builder} avoiding * the need to create one manually via {@link CreateDirectConnectGatewayRequest#builder()} *

* * @param createDirectConnectGatewayRequest * A {@link Consumer} that will call methods on {@link CreateDirectConnectGatewayRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateDirectConnectGateway operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateDirectConnectGateway * @see AWS API Documentation */ default CompletableFuture createDirectConnectGateway( Consumer createDirectConnectGatewayRequest) { return createDirectConnectGateway(CreateDirectConnectGatewayRequest.builder() .applyMutation(createDirectConnectGatewayRequest).build()); } /** *

* Creates an association between a Direct Connect gateway and a virtual private gateway. The virtual private * gateway must be attached to a VPC and must not be associated with another Direct Connect gateway. *

* * @param createDirectConnectGatewayAssociationRequest * @return A Java Future containing the result of the CreateDirectConnectGatewayAssociation operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateDirectConnectGatewayAssociation * @see AWS API Documentation */ default CompletableFuture createDirectConnectGatewayAssociation( CreateDirectConnectGatewayAssociationRequest createDirectConnectGatewayAssociationRequest) { throw new UnsupportedOperationException(); } /** *

* Creates an association between a Direct Connect gateway and a virtual private gateway. The virtual private * gateway must be attached to a VPC and must not be associated with another Direct Connect gateway. *

*
*

* This is a convenience which creates an instance of the * {@link CreateDirectConnectGatewayAssociationRequest.Builder} avoiding the need to create one manually via * {@link CreateDirectConnectGatewayAssociationRequest#builder()} *

* * @param createDirectConnectGatewayAssociationRequest * A {@link Consumer} that will call methods on {@link CreateDirectConnectGatewayAssociationRequest.Builder} * to create a request. * @return A Java Future containing the result of the CreateDirectConnectGatewayAssociation operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateDirectConnectGatewayAssociation * @see AWS API Documentation */ default CompletableFuture createDirectConnectGatewayAssociation( Consumer createDirectConnectGatewayAssociationRequest) { return createDirectConnectGatewayAssociation(CreateDirectConnectGatewayAssociationRequest.builder() .applyMutation(createDirectConnectGatewayAssociationRequest).build()); } /** *

* Creates a proposal to associate the specified virtual private gateway or transit gateway with the specified * Direct Connect gateway. *

*

* You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is owned by any * Amazon Web Services account. *

* * @param createDirectConnectGatewayAssociationProposalRequest * @return A Java Future containing the result of the CreateDirectConnectGatewayAssociationProposal operation * returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateDirectConnectGatewayAssociationProposal * @see AWS API Documentation */ default CompletableFuture createDirectConnectGatewayAssociationProposal( CreateDirectConnectGatewayAssociationProposalRequest createDirectConnectGatewayAssociationProposalRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a proposal to associate the specified virtual private gateway or transit gateway with the specified * Direct Connect gateway. *

*

* You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is owned by any * Amazon Web Services account. *

*
*

* This is a convenience which creates an instance of the * {@link CreateDirectConnectGatewayAssociationProposalRequest.Builder} avoiding the need to create one manually via * {@link CreateDirectConnectGatewayAssociationProposalRequest#builder()} *

* * @param createDirectConnectGatewayAssociationProposalRequest * A {@link Consumer} that will call methods on * {@link CreateDirectConnectGatewayAssociationProposalRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateDirectConnectGatewayAssociationProposal operation * returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateDirectConnectGatewayAssociationProposal * @see AWS API Documentation */ default CompletableFuture createDirectConnectGatewayAssociationProposal( Consumer createDirectConnectGatewayAssociationProposalRequest) { return createDirectConnectGatewayAssociationProposal(CreateDirectConnectGatewayAssociationProposalRequest.builder() .applyMutation(createDirectConnectGatewayAssociationProposalRequest).build()); } /** *

* Creates an interconnect between an Direct Connect Partner's network and a specific Direct Connect location. *

*

* An interconnect is a connection that is capable of hosting other connections. The Direct Connect Partner can use * an interconnect to provide Direct Connect hosted connections to customers through their own network services. * Like a standard connection, an interconnect links the partner's network to an Direct Connect location over a * standard Ethernet fiber-optic cable. One end is connected to the partner's router, the other to an Direct Connect * router. *

*

* You can automatically add the new interconnect to a link aggregation group (LAG) by specifying a LAG ID in the * request. This ensures that the new interconnect is allocated on the same Direct Connect endpoint that hosts the * specified LAG. If there are no available ports on the endpoint, the request fails and no interconnect is created. *

*

* For each end customer, the Direct Connect Partner provisions a connection on their interconnect by calling * AllocateHostedConnection. The end customer can then connect to Amazon Web Services resources by creating a * virtual interface on their connection, using the VLAN assigned to them by the Direct Connect Partner. *

* *

* Intended for use by Direct Connect Partners only. *

*
* * @param createInterconnectRequest * @return A Java Future containing the result of the CreateInterconnect operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateInterconnect * @see AWS API Documentation */ default CompletableFuture createInterconnect(CreateInterconnectRequest createInterconnectRequest) { throw new UnsupportedOperationException(); } /** *

* Creates an interconnect between an Direct Connect Partner's network and a specific Direct Connect location. *

*

* An interconnect is a connection that is capable of hosting other connections. The Direct Connect Partner can use * an interconnect to provide Direct Connect hosted connections to customers through their own network services. * Like a standard connection, an interconnect links the partner's network to an Direct Connect location over a * standard Ethernet fiber-optic cable. One end is connected to the partner's router, the other to an Direct Connect * router. *

*

* You can automatically add the new interconnect to a link aggregation group (LAG) by specifying a LAG ID in the * request. This ensures that the new interconnect is allocated on the same Direct Connect endpoint that hosts the * specified LAG. If there are no available ports on the endpoint, the request fails and no interconnect is created. *

*

* For each end customer, the Direct Connect Partner provisions a connection on their interconnect by calling * AllocateHostedConnection. The end customer can then connect to Amazon Web Services resources by creating a * virtual interface on their connection, using the VLAN assigned to them by the Direct Connect Partner. *

* *

* Intended for use by Direct Connect Partners only. *

*

*

* This is a convenience which creates an instance of the {@link CreateInterconnectRequest.Builder} avoiding the * need to create one manually via {@link CreateInterconnectRequest#builder()} *

* * @param createInterconnectRequest * A {@link Consumer} that will call methods on {@link CreateInterconnectRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateInterconnect operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateInterconnect * @see AWS API Documentation */ default CompletableFuture createInterconnect( Consumer createInterconnectRequest) { return createInterconnect(CreateInterconnectRequest.builder().applyMutation(createInterconnectRequest).build()); } /** *

* Creates a link aggregation group (LAG) with the specified number of bundled physical dedicated connections * between the customer network and a specific Direct Connect location. A LAG is a logical interface that uses the * Link Aggregation Control Protocol (LACP) to aggregate multiple interfaces, enabling you to treat them as a single * interface. *

*

* All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same * Direct Connect endpoint. *

*

* You can have up to 10 dedicated connections per LAG. Regardless of this limit, if you request more connections * for the LAG than Direct Connect can allocate on a single endpoint, no LAG is created. *

*

* You can specify an existing physical dedicated connection or interconnect to include in the LAG (which counts * towards the total number of connections). Doing so interrupts the current physical dedicated connection, and * re-establishes them as a member of the LAG. The LAG will be created on the same Direct Connect endpoint to which * the dedicated connection terminates. Any virtual interfaces associated with the dedicated connection are * automatically disassociated and re-associated with the LAG. The connection ID does not change. *

*

* If the Amazon Web Services account used to create a LAG is a registered Direct Connect Partner, the LAG is * automatically enabled to host sub-connections. For a LAG owned by a partner, any associated virtual interfaces * cannot be directly configured. *

* * @param createLagRequest * @return A Java Future containing the result of the CreateLag operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateLag * @see AWS API * Documentation */ default CompletableFuture createLag(CreateLagRequest createLagRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a link aggregation group (LAG) with the specified number of bundled physical dedicated connections * between the customer network and a specific Direct Connect location. A LAG is a logical interface that uses the * Link Aggregation Control Protocol (LACP) to aggregate multiple interfaces, enabling you to treat them as a single * interface. *

*

* All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same * Direct Connect endpoint. *

*

* You can have up to 10 dedicated connections per LAG. Regardless of this limit, if you request more connections * for the LAG than Direct Connect can allocate on a single endpoint, no LAG is created. *

*

* You can specify an existing physical dedicated connection or interconnect to include in the LAG (which counts * towards the total number of connections). Doing so interrupts the current physical dedicated connection, and * re-establishes them as a member of the LAG. The LAG will be created on the same Direct Connect endpoint to which * the dedicated connection terminates. Any virtual interfaces associated with the dedicated connection are * automatically disassociated and re-associated with the LAG. The connection ID does not change. *

*

* If the Amazon Web Services account used to create a LAG is a registered Direct Connect Partner, the LAG is * automatically enabled to host sub-connections. For a LAG owned by a partner, any associated virtual interfaces * cannot be directly configured. *

*
*

* This is a convenience which creates an instance of the {@link CreateLagRequest.Builder} avoiding the need to * create one manually via {@link CreateLagRequest#builder()} *

* * @param createLagRequest * A {@link Consumer} that will call methods on {@link CreateLagRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateLag operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateLag * @see AWS API * Documentation */ default CompletableFuture createLag(Consumer createLagRequest) { return createLag(CreateLagRequest.builder().applyMutation(createLagRequest).build()); } /** *

* Creates a private virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. A * private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW). * Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to * multiple VPCs, including VPCs in different Amazon Web Services Regions. Connecting the private virtual interface * to a VGW only provides access to a single VPC within the same Region. *

*

* Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to the underlying physical * connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity * for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection * supports jumbo frames, call DescribeConnections. To check whether your virtual interface supports jumbo * frames, call DescribeVirtualInterfaces. *

* * @param createPrivateVirtualInterfaceRequest * @return A Java Future containing the result of the CreatePrivateVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreatePrivateVirtualInterface * @see AWS API Documentation */ default CompletableFuture createPrivateVirtualInterface( CreatePrivateVirtualInterfaceRequest createPrivateVirtualInterfaceRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a private virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. A * private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW). * Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to * multiple VPCs, including VPCs in different Amazon Web Services Regions. Connecting the private virtual interface * to a VGW only provides access to a single VPC within the same Region. *

*

* Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to the underlying physical * connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity * for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection * supports jumbo frames, call DescribeConnections. To check whether your virtual interface supports jumbo * frames, call DescribeVirtualInterfaces. *

*
*

* This is a convenience which creates an instance of the {@link CreatePrivateVirtualInterfaceRequest.Builder} * avoiding the need to create one manually via {@link CreatePrivateVirtualInterfaceRequest#builder()} *

* * @param createPrivateVirtualInterfaceRequest * A {@link Consumer} that will call methods on {@link CreatePrivateVirtualInterfaceRequest.Builder} to * create a request. * @return A Java Future containing the result of the CreatePrivateVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreatePrivateVirtualInterface * @see AWS API Documentation */ default CompletableFuture createPrivateVirtualInterface( Consumer createPrivateVirtualInterfaceRequest) { return createPrivateVirtualInterface(CreatePrivateVirtualInterfaceRequest.builder() .applyMutation(createPrivateVirtualInterfaceRequest).build()); } /** *

* Creates a public virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. A * public virtual interface supports sending traffic to public services of Amazon Web Services such as Amazon S3. *

*

* When creating an IPv6 public virtual interface (addressFamily is ipv6), leave the * customer and amazon address fields blank to use auto-assigned IPv6 space. Custom IPv6 * addresses are not supported. *

* * @param createPublicVirtualInterfaceRequest * @return A Java Future containing the result of the CreatePublicVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreatePublicVirtualInterface * @see AWS API Documentation */ default CompletableFuture createPublicVirtualInterface( CreatePublicVirtualInterfaceRequest createPublicVirtualInterfaceRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a public virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. A * public virtual interface supports sending traffic to public services of Amazon Web Services such as Amazon S3. *

*

* When creating an IPv6 public virtual interface (addressFamily is ipv6), leave the * customer and amazon address fields blank to use auto-assigned IPv6 space. Custom IPv6 * addresses are not supported. *

*
*

* This is a convenience which creates an instance of the {@link CreatePublicVirtualInterfaceRequest.Builder} * avoiding the need to create one manually via {@link CreatePublicVirtualInterfaceRequest#builder()} *

* * @param createPublicVirtualInterfaceRequest * A {@link Consumer} that will call methods on {@link CreatePublicVirtualInterfaceRequest.Builder} to create * a request. * @return A Java Future containing the result of the CreatePublicVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreatePublicVirtualInterface * @see AWS API Documentation */ default CompletableFuture createPublicVirtualInterface( Consumer createPublicVirtualInterfaceRequest) { return createPublicVirtualInterface(CreatePublicVirtualInterfaceRequest.builder() .applyMutation(createPublicVirtualInterfaceRequest).build()); } /** *

* Creates a transit virtual interface. A transit virtual interface should be used to access one or more transit * gateways associated with Direct Connect gateways. A transit virtual interface enables the connection of multiple * VPCs attached to a transit gateway to a Direct Connect gateway. *

* *

* If you associate your transit gateway with one or more Direct Connect gateways, the Autonomous System Number * (ASN) used by the transit gateway and the Direct Connect gateway must be different. For example, if you use the * default ASN 64512 for both your the transit gateway and Direct Connect gateway, the association request fails. *

*
*

* Setting the MTU of a virtual interface to 8500 (jumbo frames) can cause an update to the underlying physical * connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity * for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection * supports jumbo frames, call DescribeConnections. To check whether your virtual interface supports jumbo * frames, call DescribeVirtualInterfaces. *

* * @param createTransitVirtualInterfaceRequest * @return A Java Future containing the result of the CreateTransitVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateTransitVirtualInterface * @see AWS API Documentation */ default CompletableFuture createTransitVirtualInterface( CreateTransitVirtualInterfaceRequest createTransitVirtualInterfaceRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a transit virtual interface. A transit virtual interface should be used to access one or more transit * gateways associated with Direct Connect gateways. A transit virtual interface enables the connection of multiple * VPCs attached to a transit gateway to a Direct Connect gateway. *

* *

* If you associate your transit gateway with one or more Direct Connect gateways, the Autonomous System Number * (ASN) used by the transit gateway and the Direct Connect gateway must be different. For example, if you use the * default ASN 64512 for both your the transit gateway and Direct Connect gateway, the association request fails. *

*
*

* Setting the MTU of a virtual interface to 8500 (jumbo frames) can cause an update to the underlying physical * connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity * for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection * supports jumbo frames, call DescribeConnections. To check whether your virtual interface supports jumbo * frames, call DescribeVirtualInterfaces. *

*
*

* This is a convenience which creates an instance of the {@link CreateTransitVirtualInterfaceRequest.Builder} * avoiding the need to create one manually via {@link CreateTransitVirtualInterfaceRequest#builder()} *

* * @param createTransitVirtualInterfaceRequest * A {@link Consumer} that will call methods on {@link CreateTransitVirtualInterfaceRequest.Builder} to * create a request. * @return A Java Future containing the result of the CreateTransitVirtualInterface operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.CreateTransitVirtualInterface * @see AWS API Documentation */ default CompletableFuture createTransitVirtualInterface( Consumer createTransitVirtualInterfaceRequest) { return createTransitVirtualInterface(CreateTransitVirtualInterfaceRequest.builder() .applyMutation(createTransitVirtualInterfaceRequest).build()); } /** *

* Deletes the specified BGP peer on the specified virtual interface with the specified customer address and ASN. *

*

* You cannot delete the last BGP peer from a virtual interface. *

* * @param deleteBgpPeerRequest * @return A Java Future containing the result of the DeleteBGPPeer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteBGPPeer * @see AWS * API Documentation */ default CompletableFuture deleteBGPPeer(DeleteBgpPeerRequest deleteBgpPeerRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified BGP peer on the specified virtual interface with the specified customer address and ASN. *

*

* You cannot delete the last BGP peer from a virtual interface. *

*
*

* This is a convenience which creates an instance of the {@link DeleteBgpPeerRequest.Builder} avoiding the need to * create one manually via {@link DeleteBgpPeerRequest#builder()} *

* * @param deleteBgpPeerRequest * A {@link Consumer} that will call methods on {@link DeleteBGPPeerRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteBGPPeer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteBGPPeer * @see AWS * API Documentation */ default CompletableFuture deleteBGPPeer(Consumer deleteBgpPeerRequest) { return deleteBGPPeer(DeleteBgpPeerRequest.builder().applyMutation(deleteBgpPeerRequest).build()); } /** *

* Deletes the specified connection. *

*

* Deleting a connection only stops the Direct Connect port hour and data transfer charges. If you are partnering * with any third parties to connect with the Direct Connect location, you must cancel your service with them * separately. *

* * @param deleteConnectionRequest * @return A Java Future containing the result of the DeleteConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteConnection * @see AWS API Documentation */ default CompletableFuture deleteConnection(DeleteConnectionRequest deleteConnectionRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified connection. *

*

* Deleting a connection only stops the Direct Connect port hour and data transfer charges. If you are partnering * with any third parties to connect with the Direct Connect location, you must cancel your service with them * separately. *

*
*

* This is a convenience which creates an instance of the {@link DeleteConnectionRequest.Builder} avoiding the need * to create one manually via {@link DeleteConnectionRequest#builder()} *

* * @param deleteConnectionRequest * A {@link Consumer} that will call methods on {@link DeleteConnectionRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteConnection * @see AWS API Documentation */ default CompletableFuture deleteConnection( Consumer deleteConnectionRequest) { return deleteConnection(DeleteConnectionRequest.builder().applyMutation(deleteConnectionRequest).build()); } /** *

* Deletes the specified Direct Connect gateway. You must first delete all virtual interfaces that are attached to * the Direct Connect gateway and disassociate all virtual private gateways associated with the Direct Connect * gateway. *

* * @param deleteDirectConnectGatewayRequest * @return A Java Future containing the result of the DeleteDirectConnectGateway operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteDirectConnectGateway * @see AWS API Documentation */ default CompletableFuture deleteDirectConnectGateway( DeleteDirectConnectGatewayRequest deleteDirectConnectGatewayRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified Direct Connect gateway. You must first delete all virtual interfaces that are attached to * the Direct Connect gateway and disassociate all virtual private gateways associated with the Direct Connect * gateway. *

*
*

* This is a convenience which creates an instance of the {@link DeleteDirectConnectGatewayRequest.Builder} avoiding * the need to create one manually via {@link DeleteDirectConnectGatewayRequest#builder()} *

* * @param deleteDirectConnectGatewayRequest * A {@link Consumer} that will call methods on {@link DeleteDirectConnectGatewayRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteDirectConnectGateway operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteDirectConnectGateway * @see AWS API Documentation */ default CompletableFuture deleteDirectConnectGateway( Consumer deleteDirectConnectGatewayRequest) { return deleteDirectConnectGateway(DeleteDirectConnectGatewayRequest.builder() .applyMutation(deleteDirectConnectGatewayRequest).build()); } /** *

* Deletes the association between the specified Direct Connect gateway and virtual private gateway. *

*

* We recommend that you specify the associationID to delete the association. Alternatively, if you own * virtual gateway and a Direct Connect gateway association, you can specify the virtualGatewayId and * directConnectGatewayId to delete an association. *

* * @param deleteDirectConnectGatewayAssociationRequest * @return A Java Future containing the result of the DeleteDirectConnectGatewayAssociation operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteDirectConnectGatewayAssociation * @see AWS API Documentation */ default CompletableFuture deleteDirectConnectGatewayAssociation( DeleteDirectConnectGatewayAssociationRequest deleteDirectConnectGatewayAssociationRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the association between the specified Direct Connect gateway and virtual private gateway. *

*

* We recommend that you specify the associationID to delete the association. Alternatively, if you own * virtual gateway and a Direct Connect gateway association, you can specify the virtualGatewayId and * directConnectGatewayId to delete an association. *

*
*

* This is a convenience which creates an instance of the * {@link DeleteDirectConnectGatewayAssociationRequest.Builder} avoiding the need to create one manually via * {@link DeleteDirectConnectGatewayAssociationRequest#builder()} *

* * @param deleteDirectConnectGatewayAssociationRequest * A {@link Consumer} that will call methods on {@link DeleteDirectConnectGatewayAssociationRequest.Builder} * to create a request. * @return A Java Future containing the result of the DeleteDirectConnectGatewayAssociation operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteDirectConnectGatewayAssociation * @see AWS API Documentation */ default CompletableFuture deleteDirectConnectGatewayAssociation( Consumer deleteDirectConnectGatewayAssociationRequest) { return deleteDirectConnectGatewayAssociation(DeleteDirectConnectGatewayAssociationRequest.builder() .applyMutation(deleteDirectConnectGatewayAssociationRequest).build()); } /** *

* Deletes the association proposal request between the specified Direct Connect gateway and virtual private gateway * or transit gateway. *

* * @param deleteDirectConnectGatewayAssociationProposalRequest * @return A Java Future containing the result of the DeleteDirectConnectGatewayAssociationProposal operation * returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteDirectConnectGatewayAssociationProposal * @see AWS API Documentation */ default CompletableFuture deleteDirectConnectGatewayAssociationProposal( DeleteDirectConnectGatewayAssociationProposalRequest deleteDirectConnectGatewayAssociationProposalRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the association proposal request between the specified Direct Connect gateway and virtual private gateway * or transit gateway. *

*
*

* This is a convenience which creates an instance of the * {@link DeleteDirectConnectGatewayAssociationProposalRequest.Builder} avoiding the need to create one manually via * {@link DeleteDirectConnectGatewayAssociationProposalRequest#builder()} *

* * @param deleteDirectConnectGatewayAssociationProposalRequest * A {@link Consumer} that will call methods on * {@link DeleteDirectConnectGatewayAssociationProposalRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteDirectConnectGatewayAssociationProposal operation * returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteDirectConnectGatewayAssociationProposal * @see AWS API Documentation */ default CompletableFuture deleteDirectConnectGatewayAssociationProposal( Consumer deleteDirectConnectGatewayAssociationProposalRequest) { return deleteDirectConnectGatewayAssociationProposal(DeleteDirectConnectGatewayAssociationProposalRequest.builder() .applyMutation(deleteDirectConnectGatewayAssociationProposalRequest).build()); } /** *

* Deletes the specified interconnect. *

* *

* Intended for use by Direct Connect Partners only. *

*
* * @param deleteInterconnectRequest * @return A Java Future containing the result of the DeleteInterconnect operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteInterconnect * @see AWS API Documentation */ default CompletableFuture deleteInterconnect(DeleteInterconnectRequest deleteInterconnectRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified interconnect. *

* *

* Intended for use by Direct Connect Partners only. *

*

*

* This is a convenience which creates an instance of the {@link DeleteInterconnectRequest.Builder} avoiding the * need to create one manually via {@link DeleteInterconnectRequest#builder()} *

* * @param deleteInterconnectRequest * A {@link Consumer} that will call methods on {@link DeleteInterconnectRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteInterconnect operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteInterconnect * @see AWS API Documentation */ default CompletableFuture deleteInterconnect( Consumer deleteInterconnectRequest) { return deleteInterconnect(DeleteInterconnectRequest.builder().applyMutation(deleteInterconnectRequest).build()); } /** *

* Deletes the specified link aggregation group (LAG). You cannot delete a LAG if it has active virtual interfaces * or hosted connections. *

* * @param deleteLagRequest * @return A Java Future containing the result of the DeleteLag operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteLag * @see AWS API * Documentation */ default CompletableFuture deleteLag(DeleteLagRequest deleteLagRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified link aggregation group (LAG). You cannot delete a LAG if it has active virtual interfaces * or hosted connections. *

*
*

* This is a convenience which creates an instance of the {@link DeleteLagRequest.Builder} avoiding the need to * create one manually via {@link DeleteLagRequest#builder()} *

* * @param deleteLagRequest * A {@link Consumer} that will call methods on {@link DeleteLagRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteLag operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteLag * @see AWS API * Documentation */ default CompletableFuture deleteLag(Consumer deleteLagRequest) { return deleteLag(DeleteLagRequest.builder().applyMutation(deleteLagRequest).build()); } /** *

* Deletes a virtual interface. *

* * @param deleteVirtualInterfaceRequest * @return A Java Future containing the result of the DeleteVirtualInterface operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteVirtualInterface * @see AWS API Documentation */ default CompletableFuture deleteVirtualInterface( DeleteVirtualInterfaceRequest deleteVirtualInterfaceRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a virtual interface. *

*
*

* This is a convenience which creates an instance of the {@link DeleteVirtualInterfaceRequest.Builder} avoiding the * need to create one manually via {@link DeleteVirtualInterfaceRequest#builder()} *

* * @param deleteVirtualInterfaceRequest * A {@link Consumer} that will call methods on {@link DeleteVirtualInterfaceRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteVirtualInterface operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DeleteVirtualInterface * @see AWS API Documentation */ default CompletableFuture deleteVirtualInterface( Consumer deleteVirtualInterfaceRequest) { return deleteVirtualInterface(DeleteVirtualInterfaceRequest.builder().applyMutation(deleteVirtualInterfaceRequest) .build()); } /** *

* Displays the specified connection or all connections in this Region. *

* * @param describeConnectionsRequest * @return A Java Future containing the result of the DescribeConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeConnections * @see AWS API Documentation */ default CompletableFuture describeConnections( DescribeConnectionsRequest describeConnectionsRequest) { throw new UnsupportedOperationException(); } /** *

* Displays the specified connection or all connections in this Region. *

*
*

* This is a convenience which creates an instance of the {@link DescribeConnectionsRequest.Builder} avoiding the * need to create one manually via {@link DescribeConnectionsRequest#builder()} *

* * @param describeConnectionsRequest * A {@link Consumer} that will call methods on {@link DescribeConnectionsRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeConnections * @see AWS API Documentation */ default CompletableFuture describeConnections( Consumer describeConnectionsRequest) { return describeConnections(DescribeConnectionsRequest.builder().applyMutation(describeConnectionsRequest).build()); } /** *

* Displays the specified connection or all connections in this Region. *

* * @return A Java Future containing the result of the DescribeConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeConnections * @see AWS API Documentation */ default CompletableFuture describeConnections() { return describeConnections(DescribeConnectionsRequest.builder().build()); } /** *

* Get and view a list of customer agreements, along with their signed status and whether the customer is an * NNIPartner, NNIPartnerV2, or a nonPartner. *

* * @param describeCustomerMetadataRequest * @return A Java Future containing the result of the DescribeCustomerMetadata operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeCustomerMetadata * @see AWS API Documentation */ default CompletableFuture describeCustomerMetadata( DescribeCustomerMetadataRequest describeCustomerMetadataRequest) { throw new UnsupportedOperationException(); } /** *

* Get and view a list of customer agreements, along with their signed status and whether the customer is an * NNIPartner, NNIPartnerV2, or a nonPartner. *

*
*

* This is a convenience which creates an instance of the {@link DescribeCustomerMetadataRequest.Builder} avoiding * the need to create one manually via {@link DescribeCustomerMetadataRequest#builder()} *

* * @param describeCustomerMetadataRequest * A {@link Consumer} that will call methods on {@link DescribeCustomerMetadataRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeCustomerMetadata operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeCustomerMetadata * @see AWS API Documentation */ default CompletableFuture describeCustomerMetadata( Consumer describeCustomerMetadataRequest) { return describeCustomerMetadata(DescribeCustomerMetadataRequest.builder().applyMutation(describeCustomerMetadataRequest) .build()); } /** *

* Describes one or more association proposals for connection between a virtual private gateway or transit gateway * and a Direct Connect gateway. *

* * @param describeDirectConnectGatewayAssociationProposalsRequest * @return A Java Future containing the result of the DescribeDirectConnectGatewayAssociationProposals operation * returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeDirectConnectGatewayAssociationProposals * @see AWS API Documentation */ default CompletableFuture describeDirectConnectGatewayAssociationProposals( DescribeDirectConnectGatewayAssociationProposalsRequest describeDirectConnectGatewayAssociationProposalsRequest) { throw new UnsupportedOperationException(); } /** *

* Describes one or more association proposals for connection between a virtual private gateway or transit gateway * and a Direct Connect gateway. *

*
*

* This is a convenience which creates an instance of the * {@link DescribeDirectConnectGatewayAssociationProposalsRequest.Builder} avoiding the need to create one manually * via {@link DescribeDirectConnectGatewayAssociationProposalsRequest#builder()} *

* * @param describeDirectConnectGatewayAssociationProposalsRequest * A {@link Consumer} that will call methods on * {@link DescribeDirectConnectGatewayAssociationProposalsRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeDirectConnectGatewayAssociationProposals operation * returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeDirectConnectGatewayAssociationProposals * @see AWS API Documentation */ default CompletableFuture describeDirectConnectGatewayAssociationProposals( Consumer describeDirectConnectGatewayAssociationProposalsRequest) { return describeDirectConnectGatewayAssociationProposals(DescribeDirectConnectGatewayAssociationProposalsRequest.builder() .applyMutation(describeDirectConnectGatewayAssociationProposalsRequest).build()); } /** *

* Lists the associations between your Direct Connect gateways and virtual private gateways and transit gateways. * You must specify one of the following: *

*
    *
  • *

    * A Direct Connect gateway *

    *

    * The response contains all virtual private gateways and transit gateways associated with the Direct Connect * gateway. *

    *
  • *
  • *

    * A virtual private gateway *

    *

    * The response contains the Direct Connect gateway. *

    *
  • *
  • *

    * A transit gateway *

    *

    * The response contains the Direct Connect gateway. *

    *
  • *
  • *

    * A Direct Connect gateway and a virtual private gateway *

    *

    * The response contains the association between the Direct Connect gateway and virtual private gateway. *

    *
  • *
  • *

    * A Direct Connect gateway and a transit gateway *

    *

    * The response contains the association between the Direct Connect gateway and transit gateway. *

    *
  • *
* * @param describeDirectConnectGatewayAssociationsRequest * @return A Java Future containing the result of the DescribeDirectConnectGatewayAssociations operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeDirectConnectGatewayAssociations * @see AWS API Documentation */ default CompletableFuture describeDirectConnectGatewayAssociations( DescribeDirectConnectGatewayAssociationsRequest describeDirectConnectGatewayAssociationsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the associations between your Direct Connect gateways and virtual private gateways and transit gateways. * You must specify one of the following: *

*
    *
  • *

    * A Direct Connect gateway *

    *

    * The response contains all virtual private gateways and transit gateways associated with the Direct Connect * gateway. *

    *
  • *
  • *

    * A virtual private gateway *

    *

    * The response contains the Direct Connect gateway. *

    *
  • *
  • *

    * A transit gateway *

    *

    * The response contains the Direct Connect gateway. *

    *
  • *
  • *

    * A Direct Connect gateway and a virtual private gateway *

    *

    * The response contains the association between the Direct Connect gateway and virtual private gateway. *

    *
  • *
  • *

    * A Direct Connect gateway and a transit gateway *

    *

    * The response contains the association between the Direct Connect gateway and transit gateway. *

    *
  • *
*
*

* This is a convenience which creates an instance of the * {@link DescribeDirectConnectGatewayAssociationsRequest.Builder} avoiding the need to create one manually via * {@link DescribeDirectConnectGatewayAssociationsRequest#builder()} *

* * @param describeDirectConnectGatewayAssociationsRequest * A {@link Consumer} that will call methods on * {@link DescribeDirectConnectGatewayAssociationsRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeDirectConnectGatewayAssociations operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeDirectConnectGatewayAssociations * @see AWS API Documentation */ default CompletableFuture describeDirectConnectGatewayAssociations( Consumer describeDirectConnectGatewayAssociationsRequest) { return describeDirectConnectGatewayAssociations(DescribeDirectConnectGatewayAssociationsRequest.builder() .applyMutation(describeDirectConnectGatewayAssociationsRequest).build()); } /** *

* Lists the attachments between your Direct Connect gateways and virtual interfaces. You must specify a Direct * Connect gateway, a virtual interface, or both. If you specify a Direct Connect gateway, the response contains all * virtual interfaces attached to the Direct Connect gateway. If you specify a virtual interface, the response * contains all Direct Connect gateways attached to the virtual interface. If you specify both, the response * contains the attachment between the Direct Connect gateway and the virtual interface. *

* * @param describeDirectConnectGatewayAttachmentsRequest * @return A Java Future containing the result of the DescribeDirectConnectGatewayAttachments operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeDirectConnectGatewayAttachments * @see AWS API Documentation */ default CompletableFuture describeDirectConnectGatewayAttachments( DescribeDirectConnectGatewayAttachmentsRequest describeDirectConnectGatewayAttachmentsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the attachments between your Direct Connect gateways and virtual interfaces. You must specify a Direct * Connect gateway, a virtual interface, or both. If you specify a Direct Connect gateway, the response contains all * virtual interfaces attached to the Direct Connect gateway. If you specify a virtual interface, the response * contains all Direct Connect gateways attached to the virtual interface. If you specify both, the response * contains the attachment between the Direct Connect gateway and the virtual interface. *

*
*

* This is a convenience which creates an instance of the * {@link DescribeDirectConnectGatewayAttachmentsRequest.Builder} avoiding the need to create one manually via * {@link DescribeDirectConnectGatewayAttachmentsRequest#builder()} *

* * @param describeDirectConnectGatewayAttachmentsRequest * A {@link Consumer} that will call methods on * {@link DescribeDirectConnectGatewayAttachmentsRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeDirectConnectGatewayAttachments operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeDirectConnectGatewayAttachments * @see AWS API Documentation */ default CompletableFuture describeDirectConnectGatewayAttachments( Consumer describeDirectConnectGatewayAttachmentsRequest) { return describeDirectConnectGatewayAttachments(DescribeDirectConnectGatewayAttachmentsRequest.builder() .applyMutation(describeDirectConnectGatewayAttachmentsRequest).build()); } /** *

* Lists all your Direct Connect gateways or only the specified Direct Connect gateway. Deleted Direct Connect * gateways are not returned. *

* * @param describeDirectConnectGatewaysRequest * @return A Java Future containing the result of the DescribeDirectConnectGateways operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeDirectConnectGateways * @see AWS API Documentation */ default CompletableFuture describeDirectConnectGateways( DescribeDirectConnectGatewaysRequest describeDirectConnectGatewaysRequest) { throw new UnsupportedOperationException(); } /** *

* Lists all your Direct Connect gateways or only the specified Direct Connect gateway. Deleted Direct Connect * gateways are not returned. *

*
*

* This is a convenience which creates an instance of the {@link DescribeDirectConnectGatewaysRequest.Builder} * avoiding the need to create one manually via {@link DescribeDirectConnectGatewaysRequest#builder()} *

* * @param describeDirectConnectGatewaysRequest * A {@link Consumer} that will call methods on {@link DescribeDirectConnectGatewaysRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeDirectConnectGateways operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeDirectConnectGateways * @see AWS API Documentation */ default CompletableFuture describeDirectConnectGateways( Consumer describeDirectConnectGatewaysRequest) { return describeDirectConnectGateways(DescribeDirectConnectGatewaysRequest.builder() .applyMutation(describeDirectConnectGatewaysRequest).build()); } /** *

* Lists all your Direct Connect gateways or only the specified Direct Connect gateway. Deleted Direct Connect * gateways are not returned. *

* * @return A Java Future containing the result of the DescribeDirectConnectGateways operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeDirectConnectGateways * @see AWS API Documentation */ default CompletableFuture describeDirectConnectGateways() { return describeDirectConnectGateways(DescribeDirectConnectGatewaysRequest.builder().build()); } /** *

* Lists the hosted connections that have been provisioned on the specified interconnect or link aggregation group * (LAG). *

* *

* Intended for use by Direct Connect Partners only. *

*
* * @param describeHostedConnectionsRequest * @return A Java Future containing the result of the DescribeHostedConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeHostedConnections * @see AWS API Documentation */ default CompletableFuture describeHostedConnections( DescribeHostedConnectionsRequest describeHostedConnectionsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the hosted connections that have been provisioned on the specified interconnect or link aggregation group * (LAG). *

* *

* Intended for use by Direct Connect Partners only. *

*

*

* This is a convenience which creates an instance of the {@link DescribeHostedConnectionsRequest.Builder} avoiding * the need to create one manually via {@link DescribeHostedConnectionsRequest#builder()} *

* * @param describeHostedConnectionsRequest * A {@link Consumer} that will call methods on {@link DescribeHostedConnectionsRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeHostedConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeHostedConnections * @see AWS API Documentation */ default CompletableFuture describeHostedConnections( Consumer describeHostedConnectionsRequest) { return describeHostedConnections(DescribeHostedConnectionsRequest.builder() .applyMutation(describeHostedConnectionsRequest).build()); } /** *

* Lists the interconnects owned by the Amazon Web Services account or only the specified interconnect. *

* * @param describeInterconnectsRequest * @return A Java Future containing the result of the DescribeInterconnects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeInterconnects * @see AWS API Documentation */ default CompletableFuture describeInterconnects( DescribeInterconnectsRequest describeInterconnectsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the interconnects owned by the Amazon Web Services account or only the specified interconnect. *

*
*

* This is a convenience which creates an instance of the {@link DescribeInterconnectsRequest.Builder} avoiding the * need to create one manually via {@link DescribeInterconnectsRequest#builder()} *

* * @param describeInterconnectsRequest * A {@link Consumer} that will call methods on {@link DescribeInterconnectsRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeInterconnects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeInterconnects * @see AWS API Documentation */ default CompletableFuture describeInterconnects( Consumer describeInterconnectsRequest) { return describeInterconnects(DescribeInterconnectsRequest.builder().applyMutation(describeInterconnectsRequest).build()); } /** *

* Lists the interconnects owned by the Amazon Web Services account or only the specified interconnect. *

* * @return A Java Future containing the result of the DescribeInterconnects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeInterconnects * @see AWS API Documentation */ default CompletableFuture describeInterconnects() { return describeInterconnects(DescribeInterconnectsRequest.builder().build()); } /** *

* Describes all your link aggregation groups (LAG) or the specified LAG. *

* * @param describeLagsRequest * @return A Java Future containing the result of the DescribeLags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeLags * @see AWS * API Documentation */ default CompletableFuture describeLags(DescribeLagsRequest describeLagsRequest) { throw new UnsupportedOperationException(); } /** *

* Describes all your link aggregation groups (LAG) or the specified LAG. *

*
*

* This is a convenience which creates an instance of the {@link DescribeLagsRequest.Builder} avoiding the need to * create one manually via {@link DescribeLagsRequest#builder()} *

* * @param describeLagsRequest * A {@link Consumer} that will call methods on {@link DescribeLagsRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeLags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeLags * @see AWS * API Documentation */ default CompletableFuture describeLags(Consumer describeLagsRequest) { return describeLags(DescribeLagsRequest.builder().applyMutation(describeLagsRequest).build()); } /** *

* Describes all your link aggregation groups (LAG) or the specified LAG. *

* * @return A Java Future containing the result of the DescribeLags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeLags * @see AWS * API Documentation */ default CompletableFuture describeLags() { return describeLags(DescribeLagsRequest.builder().build()); } /** *

* Gets the LOA-CFA for a connection, interconnect, or link aggregation group (LAG). *

*

* The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when * establishing your cross connect to Amazon Web Services at the colocation facility. For more information, see Requesting Cross Connects at * Direct Connect Locations in the Direct Connect User Guide. *

* * @param describeLoaRequest * @return A Java Future containing the result of the DescribeLoa operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeLoa * @see AWS API * Documentation */ default CompletableFuture describeLoa(DescribeLoaRequest describeLoaRequest) { throw new UnsupportedOperationException(); } /** *

* Gets the LOA-CFA for a connection, interconnect, or link aggregation group (LAG). *

*

* The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when * establishing your cross connect to Amazon Web Services at the colocation facility. For more information, see Requesting Cross Connects at * Direct Connect Locations in the Direct Connect User Guide. *

*
*

* This is a convenience which creates an instance of the {@link DescribeLoaRequest.Builder} avoiding the need to * create one manually via {@link DescribeLoaRequest#builder()} *

* * @param describeLoaRequest * A {@link Consumer} that will call methods on {@link DescribeLoaRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeLoa operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeLoa * @see AWS API * Documentation */ default CompletableFuture describeLoa(Consumer describeLoaRequest) { return describeLoa(DescribeLoaRequest.builder().applyMutation(describeLoaRequest).build()); } /** *

* Lists the Direct Connect locations in the current Amazon Web Services Region. These are the locations that can be * selected when calling CreateConnection or CreateInterconnect. *

* * @param describeLocationsRequest * @return A Java Future containing the result of the DescribeLocations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeLocations * @see AWS API Documentation */ default CompletableFuture describeLocations(DescribeLocationsRequest describeLocationsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the Direct Connect locations in the current Amazon Web Services Region. These are the locations that can be * selected when calling CreateConnection or CreateInterconnect. *

*
*

* This is a convenience which creates an instance of the {@link DescribeLocationsRequest.Builder} avoiding the need * to create one manually via {@link DescribeLocationsRequest#builder()} *

* * @param describeLocationsRequest * A {@link Consumer} that will call methods on {@link DescribeLocationsRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeLocations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeLocations * @see AWS API Documentation */ default CompletableFuture describeLocations( Consumer describeLocationsRequest) { return describeLocations(DescribeLocationsRequest.builder().applyMutation(describeLocationsRequest).build()); } /** *

* Lists the Direct Connect locations in the current Amazon Web Services Region. These are the locations that can be * selected when calling CreateConnection or CreateInterconnect. *

* * @return A Java Future containing the result of the DescribeLocations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeLocations * @see AWS API Documentation */ default CompletableFuture describeLocations() { return describeLocations(DescribeLocationsRequest.builder().build()); } /** *

* Details about the router. *

* * @param describeRouterConfigurationRequest * Provides the details about a virtual interface's router. * @return A Java Future containing the result of the DescribeRouterConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeRouterConfiguration * @see AWS API Documentation */ default CompletableFuture describeRouterConfiguration( DescribeRouterConfigurationRequest describeRouterConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Details about the router. *

*
*

* This is a convenience which creates an instance of the {@link DescribeRouterConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DescribeRouterConfigurationRequest#builder()} *

* * @param describeRouterConfigurationRequest * A {@link Consumer} that will call methods on {@link DescribeRouterConfigurationRequest.Builder} to create * a request. Provides the details about a virtual interface's router. * @return A Java Future containing the result of the DescribeRouterConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeRouterConfiguration * @see AWS API Documentation */ default CompletableFuture describeRouterConfiguration( Consumer describeRouterConfigurationRequest) { return describeRouterConfiguration(DescribeRouterConfigurationRequest.builder() .applyMutation(describeRouterConfigurationRequest).build()); } /** *

* Describes the tags associated with the specified Direct Connect resources. *

* * @param describeTagsRequest * @return A Java Future containing the result of the DescribeTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeTags * @see AWS * API Documentation */ default CompletableFuture describeTags(DescribeTagsRequest describeTagsRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the tags associated with the specified Direct Connect resources. *

*
*

* This is a convenience which creates an instance of the {@link DescribeTagsRequest.Builder} avoiding the need to * create one manually via {@link DescribeTagsRequest#builder()} *

* * @param describeTagsRequest * A {@link Consumer} that will call methods on {@link DescribeTagsRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeTags operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeTags * @see AWS * API Documentation */ default CompletableFuture describeTags(Consumer describeTagsRequest) { return describeTags(DescribeTagsRequest.builder().applyMutation(describeTagsRequest).build()); } /** *

* Lists the virtual private gateways owned by the Amazon Web Services account. *

*

* You can create one or more Direct Connect private virtual interfaces linked to a virtual private gateway. *

* * @param describeVirtualGatewaysRequest * @return A Java Future containing the result of the DescribeVirtualGateways operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeVirtualGateways * @see AWS API Documentation */ default CompletableFuture describeVirtualGateways( DescribeVirtualGatewaysRequest describeVirtualGatewaysRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the virtual private gateways owned by the Amazon Web Services account. *

*

* You can create one or more Direct Connect private virtual interfaces linked to a virtual private gateway. *

*
*

* This is a convenience which creates an instance of the {@link DescribeVirtualGatewaysRequest.Builder} avoiding * the need to create one manually via {@link DescribeVirtualGatewaysRequest#builder()} *

* * @param describeVirtualGatewaysRequest * A {@link Consumer} that will call methods on {@link DescribeVirtualGatewaysRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeVirtualGateways operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeVirtualGateways * @see AWS API Documentation */ default CompletableFuture describeVirtualGateways( Consumer describeVirtualGatewaysRequest) { return describeVirtualGateways(DescribeVirtualGatewaysRequest.builder().applyMutation(describeVirtualGatewaysRequest) .build()); } /** *

* Lists the virtual private gateways owned by the Amazon Web Services account. *

*

* You can create one or more Direct Connect private virtual interfaces linked to a virtual private gateway. *

* * @return A Java Future containing the result of the DescribeVirtualGateways operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeVirtualGateways * @see AWS API Documentation */ default CompletableFuture describeVirtualGateways() { return describeVirtualGateways(DescribeVirtualGatewaysRequest.builder().build()); } /** *

* Displays all virtual interfaces for an Amazon Web Services account. Virtual interfaces deleted fewer than 15 * minutes before you make the request are also returned. If you specify a connection ID, only the virtual * interfaces associated with the connection are returned. If you specify a virtual interface ID, then only a single * virtual interface is returned. *

*

* A virtual interface (VLAN) transmits the traffic between the Direct Connect location and the customer network. *

* * @param describeVirtualInterfacesRequest * @return A Java Future containing the result of the DescribeVirtualInterfaces operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeVirtualInterfaces * @see AWS API Documentation */ default CompletableFuture describeVirtualInterfaces( DescribeVirtualInterfacesRequest describeVirtualInterfacesRequest) { throw new UnsupportedOperationException(); } /** *

* Displays all virtual interfaces for an Amazon Web Services account. Virtual interfaces deleted fewer than 15 * minutes before you make the request are also returned. If you specify a connection ID, only the virtual * interfaces associated with the connection are returned. If you specify a virtual interface ID, then only a single * virtual interface is returned. *

*

* A virtual interface (VLAN) transmits the traffic between the Direct Connect location and the customer network. *

*
*

* This is a convenience which creates an instance of the {@link DescribeVirtualInterfacesRequest.Builder} avoiding * the need to create one manually via {@link DescribeVirtualInterfacesRequest#builder()} *

* * @param describeVirtualInterfacesRequest * A {@link Consumer} that will call methods on {@link DescribeVirtualInterfacesRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeVirtualInterfaces operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeVirtualInterfaces * @see AWS API Documentation */ default CompletableFuture describeVirtualInterfaces( Consumer describeVirtualInterfacesRequest) { return describeVirtualInterfaces(DescribeVirtualInterfacesRequest.builder() .applyMutation(describeVirtualInterfacesRequest).build()); } /** *

* Displays all virtual interfaces for an Amazon Web Services account. Virtual interfaces deleted fewer than 15 * minutes before you make the request are also returned. If you specify a connection ID, only the virtual * interfaces associated with the connection are returned. If you specify a virtual interface ID, then only a single * virtual interface is returned. *

*

* A virtual interface (VLAN) transmits the traffic between the Direct Connect location and the customer network. *

* * @return A Java Future containing the result of the DescribeVirtualInterfaces operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DescribeVirtualInterfaces * @see AWS API Documentation */ default CompletableFuture describeVirtualInterfaces() { return describeVirtualInterfaces(DescribeVirtualInterfacesRequest.builder().build()); } /** *

* Disassociates a connection from a link aggregation group (LAG). The connection is interrupted and re-established * as a standalone connection (the connection is not deleted; to delete the connection, use the * DeleteConnection request). If the LAG has associated virtual interfaces or hosted connections, they remain * associated with the LAG. A disassociated connection owned by an Direct Connect Partner is automatically converted * to an interconnect. *

*

* If disassociating the connection would cause the LAG to fall below its setting for minimum number of operational * connections, the request fails, except when it's the last member of the LAG. If all connections are * disassociated, the LAG continues to exist as an empty LAG with no physical connections. *

* * @param disassociateConnectionFromLagRequest * @return A Java Future containing the result of the DisassociateConnectionFromLag operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DisassociateConnectionFromLag * @see AWS API Documentation */ default CompletableFuture disassociateConnectionFromLag( DisassociateConnectionFromLagRequest disassociateConnectionFromLagRequest) { throw new UnsupportedOperationException(); } /** *

* Disassociates a connection from a link aggregation group (LAG). The connection is interrupted and re-established * as a standalone connection (the connection is not deleted; to delete the connection, use the * DeleteConnection request). If the LAG has associated virtual interfaces or hosted connections, they remain * associated with the LAG. A disassociated connection owned by an Direct Connect Partner is automatically converted * to an interconnect. *

*

* If disassociating the connection would cause the LAG to fall below its setting for minimum number of operational * connections, the request fails, except when it's the last member of the LAG. If all connections are * disassociated, the LAG continues to exist as an empty LAG with no physical connections. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateConnectionFromLagRequest.Builder} * avoiding the need to create one manually via {@link DisassociateConnectionFromLagRequest#builder()} *

* * @param disassociateConnectionFromLagRequest * A {@link Consumer} that will call methods on {@link DisassociateConnectionFromLagRequest.Builder} to * create a request. * @return A Java Future containing the result of the DisassociateConnectionFromLag operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DisassociateConnectionFromLag * @see AWS API Documentation */ default CompletableFuture disassociateConnectionFromLag( Consumer disassociateConnectionFromLagRequest) { return disassociateConnectionFromLag(DisassociateConnectionFromLagRequest.builder() .applyMutation(disassociateConnectionFromLagRequest).build()); } /** *

* Removes the association between a MAC Security (MACsec) security key and an Direct Connect dedicated connection. *

* * @param disassociateMacSecKeyRequest * @return A Java Future containing the result of the DisassociateMacSecKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DisassociateMacSecKey * @see AWS API Documentation */ default CompletableFuture disassociateMacSecKey( DisassociateMacSecKeyRequest disassociateMacSecKeyRequest) { throw new UnsupportedOperationException(); } /** *

* Removes the association between a MAC Security (MACsec) security key and an Direct Connect dedicated connection. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateMacSecKeyRequest.Builder} avoiding the * need to create one manually via {@link DisassociateMacSecKeyRequest#builder()} *

* * @param disassociateMacSecKeyRequest * A {@link Consumer} that will call methods on {@link DisassociateMacSecKeyRequest.Builder} to create a * request. * @return A Java Future containing the result of the DisassociateMacSecKey operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.DisassociateMacSecKey * @see AWS API Documentation */ default CompletableFuture disassociateMacSecKey( Consumer disassociateMacSecKeyRequest) { return disassociateMacSecKey(DisassociateMacSecKeyRequest.builder().applyMutation(disassociateMacSecKeyRequest).build()); } /** *

* Lists the virtual interface failover test history. *

* * @param listVirtualInterfaceTestHistoryRequest * @return A Java Future containing the result of the ListVirtualInterfaceTestHistory operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.ListVirtualInterfaceTestHistory * @see AWS API Documentation */ default CompletableFuture listVirtualInterfaceTestHistory( ListVirtualInterfaceTestHistoryRequest listVirtualInterfaceTestHistoryRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the virtual interface failover test history. *

*
*

* This is a convenience which creates an instance of the {@link ListVirtualInterfaceTestHistoryRequest.Builder} * avoiding the need to create one manually via {@link ListVirtualInterfaceTestHistoryRequest#builder()} *

* * @param listVirtualInterfaceTestHistoryRequest * A {@link Consumer} that will call methods on {@link ListVirtualInterfaceTestHistoryRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListVirtualInterfaceTestHistory operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.ListVirtualInterfaceTestHistory * @see AWS API Documentation */ default CompletableFuture listVirtualInterfaceTestHistory( Consumer listVirtualInterfaceTestHistoryRequest) { return listVirtualInterfaceTestHistory(ListVirtualInterfaceTestHistoryRequest.builder() .applyMutation(listVirtualInterfaceTestHistoryRequest).build()); } /** *

* Starts the virtual interface failover test that verifies your configuration meets your resiliency requirements by * placing the BGP peering session in the DOWN state. You can then send traffic to verify that there are no outages. *

*

* You can run the test on public, private, transit, and hosted virtual interfaces. *

*

* You can use ListVirtualInterfaceTestHistory to view the virtual interface test history. *

*

* If you need to stop the test before the test interval completes, use StopBgpFailoverTest. *

* * @param startBgpFailoverTestRequest * @return A Java Future containing the result of the StartBgpFailoverTest operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.StartBgpFailoverTest * @see AWS API Documentation */ default CompletableFuture startBgpFailoverTest( StartBgpFailoverTestRequest startBgpFailoverTestRequest) { throw new UnsupportedOperationException(); } /** *

* Starts the virtual interface failover test that verifies your configuration meets your resiliency requirements by * placing the BGP peering session in the DOWN state. You can then send traffic to verify that there are no outages. *

*

* You can run the test on public, private, transit, and hosted virtual interfaces. *

*

* You can use ListVirtualInterfaceTestHistory to view the virtual interface test history. *

*

* If you need to stop the test before the test interval completes, use StopBgpFailoverTest. *

*
*

* This is a convenience which creates an instance of the {@link StartBgpFailoverTestRequest.Builder} avoiding the * need to create one manually via {@link StartBgpFailoverTestRequest#builder()} *

* * @param startBgpFailoverTestRequest * A {@link Consumer} that will call methods on {@link StartBgpFailoverTestRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartBgpFailoverTest operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.StartBgpFailoverTest * @see AWS API Documentation */ default CompletableFuture startBgpFailoverTest( Consumer startBgpFailoverTestRequest) { return startBgpFailoverTest(StartBgpFailoverTestRequest.builder().applyMutation(startBgpFailoverTestRequest).build()); } /** *

* Stops the virtual interface failover test. *

* * @param stopBgpFailoverTestRequest * @return A Java Future containing the result of the StopBgpFailoverTest operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.StopBgpFailoverTest * @see AWS API Documentation */ default CompletableFuture stopBgpFailoverTest( StopBgpFailoverTestRequest stopBgpFailoverTestRequest) { throw new UnsupportedOperationException(); } /** *

* Stops the virtual interface failover test. *

*
*

* This is a convenience which creates an instance of the {@link StopBgpFailoverTestRequest.Builder} avoiding the * need to create one manually via {@link StopBgpFailoverTestRequest#builder()} *

* * @param stopBgpFailoverTestRequest * A {@link Consumer} that will call methods on {@link StopBgpFailoverTestRequest.Builder} to create a * request. * @return A Java Future containing the result of the StopBgpFailoverTest operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.StopBgpFailoverTest * @see AWS API Documentation */ default CompletableFuture stopBgpFailoverTest( Consumer stopBgpFailoverTestRequest) { return stopBgpFailoverTest(StopBgpFailoverTestRequest.builder().applyMutation(stopBgpFailoverTestRequest).build()); } /** *

* Adds the specified tags to the specified Direct Connect resource. Each resource can have a maximum of 50 tags. *

*

* Each tag consists of a key and an optional value. If a tag with the same key is already associated with the * resource, this action updates its value. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.TagResource * @see AWS API * Documentation */ default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Adds the specified tags to the specified Direct Connect resource. Each resource can have a maximum of 50 tags. *

*

* Each tag consists of a key and an optional value. If a tag with the same key is already associated with the * resource, this action updates its value. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on {@link TagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DuplicateTagKeysException A tag key was specified more than once.
  • *
  • TooManyTagsException You have reached the limit on the number of tags that can be assigned.
  • *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.TagResource * @see AWS API * Documentation */ default CompletableFuture tagResource(Consumer tagResourceRequest) { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Removes one or more tags from the specified Direct Connect resource. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.UntagResource * @see AWS * API Documentation */ default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Removes one or more tags from the specified Direct Connect resource. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on {@link UntagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.UntagResource * @see AWS * API Documentation */ default CompletableFuture untagResource(Consumer untagResourceRequest) { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Updates the Direct Connect dedicated connection configuration. *

*

* You can update the following parameters for a connection: *

*
    *
  • *

    * The connection name *

    *
  • *
  • *

    * The connection's MAC Security (MACsec) encryption mode. *

    *
  • *
* * @param updateConnectionRequest * @return A Java Future containing the result of the UpdateConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.UpdateConnection * @see AWS API Documentation */ default CompletableFuture updateConnection(UpdateConnectionRequest updateConnectionRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the Direct Connect dedicated connection configuration. *

*

* You can update the following parameters for a connection: *

*
    *
  • *

    * The connection name *

    *
  • *
  • *

    * The connection's MAC Security (MACsec) encryption mode. *

    *
  • *
*
*

* This is a convenience which creates an instance of the {@link UpdateConnectionRequest.Builder} avoiding the need * to create one manually via {@link UpdateConnectionRequest#builder()} *

* * @param updateConnectionRequest * A {@link Consumer} that will call methods on {@link UpdateConnectionRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.UpdateConnection * @see AWS API Documentation */ default CompletableFuture updateConnection( Consumer updateConnectionRequest) { return updateConnection(UpdateConnectionRequest.builder().applyMutation(updateConnectionRequest).build()); } /** *

* Updates the name of a current Direct Connect gateway. *

* * @param updateDirectConnectGatewayRequest * @return A Java Future containing the result of the UpdateDirectConnectGateway operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.UpdateDirectConnectGateway * @see AWS API Documentation */ default CompletableFuture updateDirectConnectGateway( UpdateDirectConnectGatewayRequest updateDirectConnectGatewayRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the name of a current Direct Connect gateway. *

*
*

* This is a convenience which creates an instance of the {@link UpdateDirectConnectGatewayRequest.Builder} avoiding * the need to create one manually via {@link UpdateDirectConnectGatewayRequest#builder()} *

* * @param updateDirectConnectGatewayRequest * A {@link Consumer} that will call methods on {@link UpdateDirectConnectGatewayRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateDirectConnectGateway operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.UpdateDirectConnectGateway * @see AWS API Documentation */ default CompletableFuture updateDirectConnectGateway( Consumer updateDirectConnectGatewayRequest) { return updateDirectConnectGateway(UpdateDirectConnectGatewayRequest.builder() .applyMutation(updateDirectConnectGatewayRequest).build()); } /** *

* Updates the specified attributes of the Direct Connect gateway association. *

*

* Add or remove prefixes from the association. *

* * @param updateDirectConnectGatewayAssociationRequest * @return A Java Future containing the result of the UpdateDirectConnectGatewayAssociation operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.UpdateDirectConnectGatewayAssociation * @see AWS API Documentation */ default CompletableFuture updateDirectConnectGatewayAssociation( UpdateDirectConnectGatewayAssociationRequest updateDirectConnectGatewayAssociationRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the specified attributes of the Direct Connect gateway association. *

*

* Add or remove prefixes from the association. *

*
*

* This is a convenience which creates an instance of the * {@link UpdateDirectConnectGatewayAssociationRequest.Builder} avoiding the need to create one manually via * {@link UpdateDirectConnectGatewayAssociationRequest#builder()} *

* * @param updateDirectConnectGatewayAssociationRequest * A {@link Consumer} that will call methods on {@link UpdateDirectConnectGatewayAssociationRequest.Builder} * to create a request. * @return A Java Future containing the result of the UpdateDirectConnectGatewayAssociation operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.UpdateDirectConnectGatewayAssociation * @see AWS API Documentation */ default CompletableFuture updateDirectConnectGatewayAssociation( Consumer updateDirectConnectGatewayAssociationRequest) { return updateDirectConnectGatewayAssociation(UpdateDirectConnectGatewayAssociationRequest.builder() .applyMutation(updateDirectConnectGatewayAssociationRequest).build()); } /** *

* Updates the attributes of the specified link aggregation group (LAG). *

*

* You can update the following LAG attributes: *

*
    *
  • *

    * The name of the LAG. *

    *
  • *
  • *

    * The value for the minimum number of connections that must be operational for the LAG itself to be operational. *

    *
  • *
  • *

    * The LAG's MACsec encryption mode. *

    *

    * Amazon Web Services assigns this value to each connection which is part of the LAG. *

    *
  • *
  • *

    * The tags *

    *
  • *
* *

* If you adjust the threshold value for the minimum number of operational connections, ensure that the new value * does not cause the LAG to fall below the threshold and become non-operational. *

*
* * @param updateLagRequest * @return A Java Future containing the result of the UpdateLag operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.UpdateLag * @see AWS API * Documentation */ default CompletableFuture updateLag(UpdateLagRequest updateLagRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the attributes of the specified link aggregation group (LAG). *

*

* You can update the following LAG attributes: *

*
    *
  • *

    * The name of the LAG. *

    *
  • *
  • *

    * The value for the minimum number of connections that must be operational for the LAG itself to be operational. *

    *
  • *
  • *

    * The LAG's MACsec encryption mode. *

    *

    * Amazon Web Services assigns this value to each connection which is part of the LAG. *

    *
  • *
  • *

    * The tags *

    *
  • *
* *

* If you adjust the threshold value for the minimum number of operational connections, ensure that the new value * does not cause the LAG to fall below the threshold and become non-operational. *

*

*

* This is a convenience which creates an instance of the {@link UpdateLagRequest.Builder} avoiding the need to * create one manually via {@link UpdateLagRequest#builder()} *

* * @param updateLagRequest * A {@link Consumer} that will call methods on {@link UpdateLagRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateLag operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.UpdateLag * @see AWS API * Documentation */ default CompletableFuture updateLag(Consumer updateLagRequest) { return updateLag(UpdateLagRequest.builder().applyMutation(updateLagRequest).build()); } /** *

* Updates the specified attributes of the specified virtual private interface. *

*

* Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to the underlying physical * connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity * for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection * supports jumbo frames, call DescribeConnections. To check whether your virtual q interface supports jumbo * frames, call DescribeVirtualInterfaces. *

* * @param updateVirtualInterfaceAttributesRequest * @return A Java Future containing the result of the UpdateVirtualInterfaceAttributes operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.UpdateVirtualInterfaceAttributes * @see AWS API Documentation */ default CompletableFuture updateVirtualInterfaceAttributes( UpdateVirtualInterfaceAttributesRequest updateVirtualInterfaceAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the specified attributes of the specified virtual private interface. *

*

* Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to the underlying physical * connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity * for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection * supports jumbo frames, call DescribeConnections. To check whether your virtual q interface supports jumbo * frames, call DescribeVirtualInterfaces. *

*
*

* This is a convenience which creates an instance of the {@link UpdateVirtualInterfaceAttributesRequest.Builder} * avoiding the need to create one manually via {@link UpdateVirtualInterfaceAttributesRequest#builder()} *

* * @param updateVirtualInterfaceAttributesRequest * A {@link Consumer} that will call methods on {@link UpdateVirtualInterfaceAttributesRequest.Builder} to * create a request. * @return A Java Future containing the result of the UpdateVirtualInterfaceAttributes operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • DirectConnectServerException A server-side error occurred.
  • *
  • DirectConnectClientException One or more parameters are not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DirectConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DirectConnectAsyncClient.UpdateVirtualInterfaceAttributes * @see AWS API Documentation */ default CompletableFuture updateVirtualInterfaceAttributes( Consumer updateVirtualInterfaceAttributesRequest) { return updateVirtualInterfaceAttributes(UpdateVirtualInterfaceAttributesRequest.builder() .applyMutation(updateVirtualInterfaceAttributesRequest).build()); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy