software.amazon.awssdk.services.directconnect.DirectConnectClient Maven / Gradle / Ivy
Show all versions of directconnect Show documentation
/*
* 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.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
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.DirectConnectClientException;
import software.amazon.awssdk.services.directconnect.model.DirectConnectException;
import software.amazon.awssdk.services.directconnect.model.DirectConnectServerException;
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.DuplicateTagKeysException;
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.TooManyTagsException;
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. 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 DirectConnectClient extends AwsClient {
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";
/**
*
* Accepts a proposal request to attach a virtual private gateway or transit gateway to a Direct Connect gateway.
*
*
* @param acceptDirectConnectGatewayAssociationProposalRequest
* @return Result of the AcceptDirectConnectGatewayAssociationProposal operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AcceptDirectConnectGatewayAssociationProposal
* @see AWS API Documentation
*/
default AcceptDirectConnectGatewayAssociationProposalResponse acceptDirectConnectGatewayAssociationProposal(
AcceptDirectConnectGatewayAssociationProposalRequest acceptDirectConnectGatewayAssociationProposalRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.AcceptDirectConnectGatewayAssociationProposalRequest.Builder}
* to create a request.
* @return Result of the AcceptDirectConnectGatewayAssociationProposal operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AcceptDirectConnectGatewayAssociationProposal
* @see AWS API Documentation
*/
default AcceptDirectConnectGatewayAssociationProposalResponse acceptDirectConnectGatewayAssociationProposal(
Consumer acceptDirectConnectGatewayAssociationProposalRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the AllocateHostedConnection operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AllocateHostedConnection
* @see AWS API Documentation
*/
default AllocateHostedConnectionResponse allocateHostedConnection(
AllocateHostedConnectionRequest allocateHostedConnectionRequest) throws DuplicateTagKeysException,
TooManyTagsException, DirectConnectServerException, DirectConnectClientException, AwsServiceException,
SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.AllocateHostedConnectionRequest.Builder} to
* create a request.
* @return Result of the AllocateHostedConnection operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AllocateHostedConnection
* @see AWS API Documentation
*/
default AllocateHostedConnectionResponse allocateHostedConnection(
Consumer allocateHostedConnectionRequest) throws DuplicateTagKeysException,
TooManyTagsException, DirectConnectServerException, DirectConnectClientException, AwsServiceException,
SdkClientException, DirectConnectException {
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 Result of the AllocatePrivateVirtualInterface operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AllocatePrivateVirtualInterface
* @see AWS API Documentation
*/
default AllocatePrivateVirtualInterfaceResponse allocatePrivateVirtualInterface(
AllocatePrivateVirtualInterfaceRequest allocatePrivateVirtualInterfaceRequest) throws DuplicateTagKeysException,
TooManyTagsException, DirectConnectServerException, DirectConnectClientException, AwsServiceException,
SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.AllocatePrivateVirtualInterfaceRequest.Builder}
* to create a request.
* @return Result of the AllocatePrivateVirtualInterface operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AllocatePrivateVirtualInterface
* @see AWS API Documentation
*/
default AllocatePrivateVirtualInterfaceResponse allocatePrivateVirtualInterface(
Consumer allocatePrivateVirtualInterfaceRequest)
throws DuplicateTagKeysException, TooManyTagsException, DirectConnectServerException, DirectConnectClientException,
AwsServiceException, SdkClientException, DirectConnectException {
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 Result of the AllocatePublicVirtualInterface operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AllocatePublicVirtualInterface
* @see AWS API Documentation
*/
default AllocatePublicVirtualInterfaceResponse allocatePublicVirtualInterface(
AllocatePublicVirtualInterfaceRequest allocatePublicVirtualInterfaceRequest) throws DuplicateTagKeysException,
TooManyTagsException, DirectConnectServerException, DirectConnectClientException, AwsServiceException,
SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.AllocatePublicVirtualInterfaceRequest.Builder}
* to create a request.
* @return Result of the AllocatePublicVirtualInterface operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AllocatePublicVirtualInterface
* @see AWS API Documentation
*/
default AllocatePublicVirtualInterfaceResponse allocatePublicVirtualInterface(
Consumer allocatePublicVirtualInterfaceRequest)
throws DuplicateTagKeysException, TooManyTagsException, DirectConnectServerException, DirectConnectClientException,
AwsServiceException, SdkClientException, DirectConnectException {
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 Result of the AllocateTransitVirtualInterface operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AllocateTransitVirtualInterface
* @see AWS API Documentation
*/
default AllocateTransitVirtualInterfaceResponse allocateTransitVirtualInterface(
AllocateTransitVirtualInterfaceRequest allocateTransitVirtualInterfaceRequest) throws DuplicateTagKeysException,
TooManyTagsException, DirectConnectServerException, DirectConnectClientException, AwsServiceException,
SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.AllocateTransitVirtualInterfaceRequest.Builder}
* to create a request.
* @return Result of the AllocateTransitVirtualInterface operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AllocateTransitVirtualInterface
* @see AWS API Documentation
*/
default AllocateTransitVirtualInterfaceResponse allocateTransitVirtualInterface(
Consumer allocateTransitVirtualInterfaceRequest)
throws DuplicateTagKeysException, TooManyTagsException, DirectConnectServerException, DirectConnectClientException,
AwsServiceException, SdkClientException, DirectConnectException {
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 Result of the AssociateConnectionWithLag operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AssociateConnectionWithLag
* @see AWS API Documentation
*/
default AssociateConnectionWithLagResponse associateConnectionWithLag(
AssociateConnectionWithLagRequest associateConnectionWithLagRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.AssociateConnectionWithLagRequest.Builder} to
* create a request.
* @return Result of the AssociateConnectionWithLag operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AssociateConnectionWithLag
* @see AWS API Documentation
*/
default AssociateConnectionWithLagResponse associateConnectionWithLag(
Consumer associateConnectionWithLagRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the AssociateHostedConnection operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AssociateHostedConnection
* @see AWS API Documentation
*/
default AssociateHostedConnectionResponse associateHostedConnection(
AssociateHostedConnectionRequest associateHostedConnectionRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.AssociateHostedConnectionRequest.Builder} to
* create a request.
* @return Result of the AssociateHostedConnection operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AssociateHostedConnection
* @see AWS API Documentation
*/
default AssociateHostedConnectionResponse associateHostedConnection(
Consumer associateHostedConnectionRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the AssociateMacSecKey operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AssociateMacSecKey
* @see AWS API Documentation
*/
default AssociateMacSecKeyResponse associateMacSecKey(AssociateMacSecKeyRequest associateMacSecKeyRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.AssociateMacSecKeyRequest.Builder} to create a
* request.
* @return Result of the AssociateMacSecKey operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AssociateMacSecKey
* @see AWS API Documentation
*/
default AssociateMacSecKeyResponse associateMacSecKey(Consumer associateMacSecKeyRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the AssociateVirtualInterface operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AssociateVirtualInterface
* @see AWS API Documentation
*/
default AssociateVirtualInterfaceResponse associateVirtualInterface(
AssociateVirtualInterfaceRequest associateVirtualInterfaceRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.AssociateVirtualInterfaceRequest.Builder} to
* create a request.
* @return Result of the AssociateVirtualInterface operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.AssociateVirtualInterface
* @see AWS API Documentation
*/
default AssociateVirtualInterfaceResponse associateVirtualInterface(
Consumer associateVirtualInterfaceRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the ConfirmConnection operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.ConfirmConnection
* @see AWS API Documentation
*/
default ConfirmConnectionResponse confirmConnection(ConfirmConnectionRequest confirmConnectionRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.ConfirmConnectionRequest.Builder} to create a
* request.
* @return Result of the ConfirmConnection operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.ConfirmConnection
* @see AWS API Documentation
*/
default ConfirmConnectionResponse confirmConnection(Consumer confirmConnectionRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the ConfirmCustomerAgreement operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.ConfirmCustomerAgreement
* @see AWS API Documentation
*/
default ConfirmCustomerAgreementResponse confirmCustomerAgreement(
ConfirmCustomerAgreementRequest confirmCustomerAgreementRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.ConfirmCustomerAgreementRequest.Builder} to
* create a request.
* @return Result of the ConfirmCustomerAgreement operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.ConfirmCustomerAgreement
* @see AWS API Documentation
*/
default ConfirmCustomerAgreementResponse confirmCustomerAgreement(
Consumer confirmCustomerAgreementRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the ConfirmPrivateVirtualInterface operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.ConfirmPrivateVirtualInterface
* @see AWS API Documentation
*/
default ConfirmPrivateVirtualInterfaceResponse confirmPrivateVirtualInterface(
ConfirmPrivateVirtualInterfaceRequest confirmPrivateVirtualInterfaceRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.ConfirmPrivateVirtualInterfaceRequest.Builder}
* to create a request.
* @return Result of the ConfirmPrivateVirtualInterface operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.ConfirmPrivateVirtualInterface
* @see AWS API Documentation
*/
default ConfirmPrivateVirtualInterfaceResponse confirmPrivateVirtualInterface(
Consumer confirmPrivateVirtualInterfaceRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the ConfirmPublicVirtualInterface operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.ConfirmPublicVirtualInterface
* @see AWS API Documentation
*/
default ConfirmPublicVirtualInterfaceResponse confirmPublicVirtualInterface(
ConfirmPublicVirtualInterfaceRequest confirmPublicVirtualInterfaceRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.ConfirmPublicVirtualInterfaceRequest.Builder}
* to create a request.
* @return Result of the ConfirmPublicVirtualInterface operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.ConfirmPublicVirtualInterface
* @see AWS API Documentation
*/
default ConfirmPublicVirtualInterfaceResponse confirmPublicVirtualInterface(
Consumer confirmPublicVirtualInterfaceRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the ConfirmTransitVirtualInterface operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.ConfirmTransitVirtualInterface
* @see AWS API Documentation
*/
default ConfirmTransitVirtualInterfaceResponse confirmTransitVirtualInterface(
ConfirmTransitVirtualInterfaceRequest confirmTransitVirtualInterfaceRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.ConfirmTransitVirtualInterfaceRequest.Builder}
* to create a request.
* @return Result of the ConfirmTransitVirtualInterface operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.ConfirmTransitVirtualInterface
* @see AWS API Documentation
*/
default ConfirmTransitVirtualInterfaceResponse confirmTransitVirtualInterface(
Consumer confirmTransitVirtualInterfaceRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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.
*
*
*
* If you let Amazon Web Services auto-assign IPv4 addresses, a /30 CIDR will be allocated from 169.254.0.0/16.
* Amazon Web Services does not recommend this option if you intend to use the customer router peer IP address as
* the source and destination for traffic. Instead you should use RFC 1918 or other addressing, and specify the
* address yourself. For more information about RFC 1918 see Address Allocation for Private Internets.
*
*
*
* 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 Result of the CreateBGPPeer operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateBGPPeer
* @see AWS
* API Documentation
*/
default CreateBgpPeerResponse createBGPPeer(CreateBgpPeerRequest createBgpPeerRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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.
*
*
*
* If you let Amazon Web Services auto-assign IPv4 addresses, a /30 CIDR will be allocated from 169.254.0.0/16.
* Amazon Web Services does not recommend this option if you intend to use the customer router peer IP address as
* the source and destination for traffic. Instead you should use RFC 1918 or other addressing, and specify the
* address yourself. For more information about RFC 1918 see Address Allocation for Private Internets.
*
*
*
* 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 software.amazon.awssdk.services.directconnect.model.CreateBgpPeerRequest.Builder} to create a
* request.
* @return Result of the CreateBGPPeer operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateBGPPeer
* @see AWS
* API Documentation
*/
default CreateBgpPeerResponse createBGPPeer(Consumer createBgpPeerRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the CreateConnection operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateConnection
* @see AWS API Documentation
*/
default CreateConnectionResponse createConnection(CreateConnectionRequest createConnectionRequest)
throws DuplicateTagKeysException, TooManyTagsException, DirectConnectServerException, DirectConnectClientException,
AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.CreateConnectionRequest.Builder} to create a
* request.
* @return Result of the CreateConnection operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateConnection
* @see AWS API Documentation
*/
default CreateConnectionResponse createConnection(Consumer createConnectionRequest)
throws DuplicateTagKeysException, TooManyTagsException, DirectConnectServerException, DirectConnectClientException,
AwsServiceException, SdkClientException, DirectConnectException {
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 Result of the CreateDirectConnectGateway operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateDirectConnectGateway
* @see AWS API Documentation
*/
default CreateDirectConnectGatewayResponse createDirectConnectGateway(
CreateDirectConnectGatewayRequest createDirectConnectGatewayRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.CreateDirectConnectGatewayRequest.Builder} to
* create a request.
* @return Result of the CreateDirectConnectGateway operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateDirectConnectGateway
* @see AWS API Documentation
*/
default CreateDirectConnectGatewayResponse createDirectConnectGateway(
Consumer createDirectConnectGatewayRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the CreateDirectConnectGatewayAssociation operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateDirectConnectGatewayAssociation
* @see AWS API Documentation
*/
default CreateDirectConnectGatewayAssociationResponse createDirectConnectGatewayAssociation(
CreateDirectConnectGatewayAssociationRequest createDirectConnectGatewayAssociationRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.CreateDirectConnectGatewayAssociationRequest.Builder}
* to create a request.
* @return Result of the CreateDirectConnectGatewayAssociation operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateDirectConnectGatewayAssociation
* @see AWS API Documentation
*/
default CreateDirectConnectGatewayAssociationResponse createDirectConnectGatewayAssociation(
Consumer createDirectConnectGatewayAssociationRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the CreateDirectConnectGatewayAssociationProposal operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateDirectConnectGatewayAssociationProposal
* @see AWS API Documentation
*/
default CreateDirectConnectGatewayAssociationProposalResponse createDirectConnectGatewayAssociationProposal(
CreateDirectConnectGatewayAssociationProposalRequest createDirectConnectGatewayAssociationProposalRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.CreateDirectConnectGatewayAssociationProposalRequest.Builder}
* to create a request.
* @return Result of the CreateDirectConnectGatewayAssociationProposal operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateDirectConnectGatewayAssociationProposal
* @see AWS API Documentation
*/
default CreateDirectConnectGatewayAssociationProposalResponse createDirectConnectGatewayAssociationProposal(
Consumer createDirectConnectGatewayAssociationProposalRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the CreateInterconnect operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateInterconnect
* @see AWS API Documentation
*/
default CreateInterconnectResponse createInterconnect(CreateInterconnectRequest createInterconnectRequest)
throws DuplicateTagKeysException, TooManyTagsException, DirectConnectServerException, DirectConnectClientException,
AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.CreateInterconnectRequest.Builder} to create a
* request.
* @return Result of the CreateInterconnect operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateInterconnect
* @see AWS API Documentation
*/
default CreateInterconnectResponse createInterconnect(Consumer createInterconnectRequest)
throws DuplicateTagKeysException, TooManyTagsException, DirectConnectServerException, DirectConnectClientException,
AwsServiceException, SdkClientException, DirectConnectException {
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, 10Gbps, 100Gbps, or 400Gbps) and must
* terminate at the same Direct Connect endpoint.
*
*
* You can have up to 10 dedicated connections per location. 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 Result of the CreateLag operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateLag
* @see AWS API
* Documentation
*/
default CreateLagResponse createLag(CreateLagRequest createLagRequest) throws DuplicateTagKeysException,
TooManyTagsException, DirectConnectServerException, DirectConnectClientException, AwsServiceException,
SdkClientException, DirectConnectException {
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, 10Gbps, 100Gbps, or 400Gbps) and must
* terminate at the same Direct Connect endpoint.
*
*
* You can have up to 10 dedicated connections per location. 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 software.amazon.awssdk.services.directconnect.model.CreateLagRequest.Builder} to create a request.
* @return Result of the CreateLag operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateLag
* @see AWS API
* Documentation
*/
default CreateLagResponse createLag(Consumer createLagRequest) throws DuplicateTagKeysException,
TooManyTagsException, DirectConnectServerException, DirectConnectClientException, AwsServiceException,
SdkClientException, DirectConnectException {
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 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 createPrivateVirtualInterfaceRequest
* @return Result of the CreatePrivateVirtualInterface operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreatePrivateVirtualInterface
* @see AWS API Documentation
*/
default CreatePrivateVirtualInterfaceResponse createPrivateVirtualInterface(
CreatePrivateVirtualInterfaceRequest createPrivateVirtualInterfaceRequest) throws DuplicateTagKeysException,
TooManyTagsException, DirectConnectServerException, DirectConnectClientException, AwsServiceException,
SdkClientException, DirectConnectException {
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 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 CreatePrivateVirtualInterfaceRequest.Builder}
* avoiding the need to create one manually via {@link CreatePrivateVirtualInterfaceRequest#builder()}
*
*
* @param createPrivateVirtualInterfaceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.directconnect.model.CreatePrivateVirtualInterfaceRequest.Builder}
* to create a request.
* @return Result of the CreatePrivateVirtualInterface operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreatePrivateVirtualInterface
* @see AWS API Documentation
*/
default CreatePrivateVirtualInterfaceResponse createPrivateVirtualInterface(
Consumer createPrivateVirtualInterfaceRequest)
throws DuplicateTagKeysException, TooManyTagsException, DirectConnectServerException, DirectConnectClientException,
AwsServiceException, SdkClientException, DirectConnectException {
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 Result of the CreatePublicVirtualInterface operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreatePublicVirtualInterface
* @see AWS API Documentation
*/
default CreatePublicVirtualInterfaceResponse createPublicVirtualInterface(
CreatePublicVirtualInterfaceRequest createPublicVirtualInterfaceRequest) throws DuplicateTagKeysException,
TooManyTagsException, DirectConnectServerException, DirectConnectClientException, AwsServiceException,
SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.CreatePublicVirtualInterfaceRequest.Builder} to
* create a request.
* @return Result of the CreatePublicVirtualInterface operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreatePublicVirtualInterface
* @see AWS API Documentation
*/
default CreatePublicVirtualInterfaceResponse createPublicVirtualInterface(
Consumer createPublicVirtualInterfaceRequest)
throws DuplicateTagKeysException, TooManyTagsException, DirectConnectServerException, DirectConnectClientException,
AwsServiceException, SdkClientException, DirectConnectException {
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.
*
*
*
* A jumbo MTU value must be either 1500 or 8500. No other values will be accepted. 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 Result of the CreateTransitVirtualInterface operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateTransitVirtualInterface
* @see AWS API Documentation
*/
default CreateTransitVirtualInterfaceResponse createTransitVirtualInterface(
CreateTransitVirtualInterfaceRequest createTransitVirtualInterfaceRequest) throws DuplicateTagKeysException,
TooManyTagsException, DirectConnectServerException, DirectConnectClientException, AwsServiceException,
SdkClientException, DirectConnectException {
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.
*
*
*
* A jumbo MTU value must be either 1500 or 8500. No other values will be accepted. 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 software.amazon.awssdk.services.directconnect.model.CreateTransitVirtualInterfaceRequest.Builder}
* to create a request.
* @return Result of the CreateTransitVirtualInterface operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.CreateTransitVirtualInterface
* @see AWS API Documentation
*/
default CreateTransitVirtualInterfaceResponse createTransitVirtualInterface(
Consumer createTransitVirtualInterfaceRequest)
throws DuplicateTagKeysException, TooManyTagsException, DirectConnectServerException, DirectConnectClientException,
AwsServiceException, SdkClientException, DirectConnectException {
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 Result of the DeleteBGPPeer operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteBGPPeer
* @see AWS
* API Documentation
*/
default DeleteBgpPeerResponse deleteBGPPeer(DeleteBgpPeerRequest deleteBgpPeerRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DeleteBgpPeerRequest.Builder} to create a
* request.
* @return Result of the DeleteBGPPeer operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteBGPPeer
* @see AWS
* API Documentation
*/
default DeleteBgpPeerResponse deleteBGPPeer(Consumer deleteBgpPeerRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DeleteConnection operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteConnection
* @see AWS API Documentation
*/
default DeleteConnectionResponse deleteConnection(DeleteConnectionRequest deleteConnectionRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DeleteConnectionRequest.Builder} to create a
* request.
* @return Result of the DeleteConnection operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteConnection
* @see AWS API Documentation
*/
default DeleteConnectionResponse deleteConnection(Consumer deleteConnectionRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DeleteDirectConnectGateway operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteDirectConnectGateway
* @see AWS API Documentation
*/
default DeleteDirectConnectGatewayResponse deleteDirectConnectGateway(
DeleteDirectConnectGatewayRequest deleteDirectConnectGatewayRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DeleteDirectConnectGatewayRequest.Builder} to
* create a request.
* @return Result of the DeleteDirectConnectGateway operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteDirectConnectGateway
* @see AWS API Documentation
*/
default DeleteDirectConnectGatewayResponse deleteDirectConnectGateway(
Consumer deleteDirectConnectGatewayRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DeleteDirectConnectGatewayAssociation operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteDirectConnectGatewayAssociation
* @see AWS API Documentation
*/
default DeleteDirectConnectGatewayAssociationResponse deleteDirectConnectGatewayAssociation(
DeleteDirectConnectGatewayAssociationRequest deleteDirectConnectGatewayAssociationRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DeleteDirectConnectGatewayAssociationRequest.Builder}
* to create a request.
* @return Result of the DeleteDirectConnectGatewayAssociation operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteDirectConnectGatewayAssociation
* @see AWS API Documentation
*/
default DeleteDirectConnectGatewayAssociationResponse deleteDirectConnectGatewayAssociation(
Consumer deleteDirectConnectGatewayAssociationRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DeleteDirectConnectGatewayAssociationProposal operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteDirectConnectGatewayAssociationProposal
* @see AWS API Documentation
*/
default DeleteDirectConnectGatewayAssociationProposalResponse deleteDirectConnectGatewayAssociationProposal(
DeleteDirectConnectGatewayAssociationProposalRequest deleteDirectConnectGatewayAssociationProposalRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DeleteDirectConnectGatewayAssociationProposalRequest.Builder}
* to create a request.
* @return Result of the DeleteDirectConnectGatewayAssociationProposal operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteDirectConnectGatewayAssociationProposal
* @see AWS API Documentation
*/
default DeleteDirectConnectGatewayAssociationProposalResponse deleteDirectConnectGatewayAssociationProposal(
Consumer deleteDirectConnectGatewayAssociationProposalRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
return deleteDirectConnectGatewayAssociationProposal(DeleteDirectConnectGatewayAssociationProposalRequest.builder()
.applyMutation(deleteDirectConnectGatewayAssociationProposalRequest).build());
}
/**
*
* Deletes the specified interconnect.
*
*
*
* Intended for use by Direct Connect Partners only.
*
*
*
* @param deleteInterconnectRequest
* @return Result of the DeleteInterconnect operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteInterconnect
* @see AWS API Documentation
*/
default DeleteInterconnectResponse deleteInterconnect(DeleteInterconnectRequest deleteInterconnectRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DeleteInterconnectRequest.Builder} to create a
* request.
* @return Result of the DeleteInterconnect operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteInterconnect
* @see AWS API Documentation
*/
default DeleteInterconnectResponse deleteInterconnect(Consumer deleteInterconnectRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DeleteLag operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteLag
* @see AWS API
* Documentation
*/
default DeleteLagResponse deleteLag(DeleteLagRequest deleteLagRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DeleteLagRequest.Builder} to create a request.
* @return Result of the DeleteLag operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteLag
* @see AWS API
* Documentation
*/
default DeleteLagResponse deleteLag(Consumer deleteLagRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
return deleteLag(DeleteLagRequest.builder().applyMutation(deleteLagRequest).build());
}
/**
*
* Deletes a virtual interface.
*
*
* @param deleteVirtualInterfaceRequest
* @return Result of the DeleteVirtualInterface operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteVirtualInterface
* @see AWS API Documentation
*/
default DeleteVirtualInterfaceResponse deleteVirtualInterface(DeleteVirtualInterfaceRequest deleteVirtualInterfaceRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DeleteVirtualInterfaceRequest.Builder} to
* create a request.
* @return Result of the DeleteVirtualInterface operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DeleteVirtualInterface
* @see AWS API Documentation
*/
default DeleteVirtualInterfaceResponse deleteVirtualInterface(
Consumer deleteVirtualInterfaceRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
return deleteVirtualInterface(DeleteVirtualInterfaceRequest.builder().applyMutation(deleteVirtualInterfaceRequest)
.build());
}
/**
*
* Displays the specified connection or all connections in this Region.
*
*
* @param describeConnectionsRequest
* @return Result of the DescribeConnections operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeConnections
* @see AWS API Documentation
*/
default DescribeConnectionsResponse describeConnections(DescribeConnectionsRequest describeConnectionsRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DescribeConnectionsRequest.Builder} to create a
* request.
* @return Result of the DescribeConnections operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeConnections
* @see AWS API Documentation
*/
default DescribeConnectionsResponse describeConnections(
Consumer describeConnectionsRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
return describeConnections(DescribeConnectionsRequest.builder().applyMutation(describeConnectionsRequest).build());
}
/**
*
* Displays the specified connection or all connections in this Region.
*
*
* @return Result of the DescribeConnections operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeConnections
* @see #describeConnections(DescribeConnectionsRequest)
* @see AWS API Documentation
*/
default DescribeConnectionsResponse describeConnections() throws DirectConnectServerException, DirectConnectClientException,
AwsServiceException, SdkClientException, DirectConnectException {
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 Result of the DescribeCustomerMetadata operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeCustomerMetadata
* @see AWS API Documentation
*/
default DescribeCustomerMetadataResponse describeCustomerMetadata(
DescribeCustomerMetadataRequest describeCustomerMetadataRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DescribeCustomerMetadataRequest.Builder} to
* create a request.
* @return Result of the DescribeCustomerMetadata operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeCustomerMetadata
* @see AWS API Documentation
*/
default DescribeCustomerMetadataResponse describeCustomerMetadata(
Consumer describeCustomerMetadataRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DescribeDirectConnectGatewayAssociationProposals operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeDirectConnectGatewayAssociationProposals
* @see AWS API Documentation
*/
default DescribeDirectConnectGatewayAssociationProposalsResponse describeDirectConnectGatewayAssociationProposals(
DescribeDirectConnectGatewayAssociationProposalsRequest describeDirectConnectGatewayAssociationProposalsRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DescribeDirectConnectGatewayAssociationProposalsRequest.Builder}
* to create a request.
* @return Result of the DescribeDirectConnectGatewayAssociationProposals operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeDirectConnectGatewayAssociationProposals
* @see AWS API Documentation
*/
default DescribeDirectConnectGatewayAssociationProposalsResponse describeDirectConnectGatewayAssociationProposals(
Consumer describeDirectConnectGatewayAssociationProposalsRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DescribeDirectConnectGatewayAssociations operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeDirectConnectGatewayAssociations
* @see AWS API Documentation
*/
default DescribeDirectConnectGatewayAssociationsResponse describeDirectConnectGatewayAssociations(
DescribeDirectConnectGatewayAssociationsRequest describeDirectConnectGatewayAssociationsRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DescribeDirectConnectGatewayAssociationsRequest.Builder}
* to create a request.
* @return Result of the DescribeDirectConnectGatewayAssociations operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeDirectConnectGatewayAssociations
* @see AWS API Documentation
*/
default DescribeDirectConnectGatewayAssociationsResponse describeDirectConnectGatewayAssociations(
Consumer describeDirectConnectGatewayAssociationsRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DescribeDirectConnectGatewayAttachments operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeDirectConnectGatewayAttachments
* @see AWS API Documentation
*/
default DescribeDirectConnectGatewayAttachmentsResponse describeDirectConnectGatewayAttachments(
DescribeDirectConnectGatewayAttachmentsRequest describeDirectConnectGatewayAttachmentsRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DescribeDirectConnectGatewayAttachmentsRequest.Builder}
* to create a request.
* @return Result of the DescribeDirectConnectGatewayAttachments operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeDirectConnectGatewayAttachments
* @see AWS API Documentation
*/
default DescribeDirectConnectGatewayAttachmentsResponse describeDirectConnectGatewayAttachments(
Consumer describeDirectConnectGatewayAttachmentsRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DescribeDirectConnectGateways operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeDirectConnectGateways
* @see AWS API Documentation
*/
default DescribeDirectConnectGatewaysResponse describeDirectConnectGateways(
DescribeDirectConnectGatewaysRequest describeDirectConnectGatewaysRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DescribeDirectConnectGatewaysRequest.Builder}
* to create a request.
* @return Result of the DescribeDirectConnectGateways operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeDirectConnectGateways
* @see AWS API Documentation
*/
default DescribeDirectConnectGatewaysResponse describeDirectConnectGateways(
Consumer describeDirectConnectGatewaysRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DescribeDirectConnectGateways operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeDirectConnectGateways
* @see #describeDirectConnectGateways(DescribeDirectConnectGatewaysRequest)
* @see AWS API Documentation
*/
default DescribeDirectConnectGatewaysResponse describeDirectConnectGateways() throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 Result of the DescribeHostedConnections operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeHostedConnections
* @see AWS API Documentation
*/
default DescribeHostedConnectionsResponse describeHostedConnections(
DescribeHostedConnectionsRequest describeHostedConnectionsRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DescribeHostedConnectionsRequest.Builder} to
* create a request.
* @return Result of the DescribeHostedConnections operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeHostedConnections
* @see AWS API Documentation
*/
default DescribeHostedConnectionsResponse describeHostedConnections(
Consumer describeHostedConnectionsRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DescribeInterconnects operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeInterconnects
* @see AWS API Documentation
*/
default DescribeInterconnectsResponse describeInterconnects(DescribeInterconnectsRequest describeInterconnectsRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DescribeInterconnectsRequest.Builder} to create
* a request.
* @return Result of the DescribeInterconnects operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeInterconnects
* @see AWS API Documentation
*/
default DescribeInterconnectsResponse describeInterconnects(
Consumer describeInterconnectsRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
return describeInterconnects(DescribeInterconnectsRequest.builder().applyMutation(describeInterconnectsRequest).build());
}
/**
*
* Lists the interconnects owned by the Amazon Web Services account or only the specified interconnect.
*
*
* @return Result of the DescribeInterconnects operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeInterconnects
* @see #describeInterconnects(DescribeInterconnectsRequest)
* @see AWS API Documentation
*/
default DescribeInterconnectsResponse describeInterconnects() throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
return describeInterconnects(DescribeInterconnectsRequest.builder().build());
}
/**
*
* Describes all your link aggregation groups (LAG) or the specified LAG.
*
*
* @param describeLagsRequest
* @return Result of the DescribeLags operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeLags
* @see AWS
* API Documentation
*/
default DescribeLagsResponse describeLags(DescribeLagsRequest describeLagsRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DescribeLagsRequest.Builder} to create a
* request.
* @return Result of the DescribeLags operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeLags
* @see AWS
* API Documentation
*/
default DescribeLagsResponse describeLags(Consumer describeLagsRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
return describeLags(DescribeLagsRequest.builder().applyMutation(describeLagsRequest).build());
}
/**
*
* Describes all your link aggregation groups (LAG) or the specified LAG.
*
*
* @return Result of the DescribeLags operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeLags
* @see #describeLags(DescribeLagsRequest)
* @see AWS
* API Documentation
*/
default DescribeLagsResponse describeLags() throws DirectConnectServerException, DirectConnectClientException,
AwsServiceException, SdkClientException, DirectConnectException {
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 Result of the DescribeLoa operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeLoa
* @see AWS API
* Documentation
*/
default DescribeLoaResponse describeLoa(DescribeLoaRequest describeLoaRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DescribeLoaRequest.Builder} to create a
* request.
* @return Result of the DescribeLoa operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeLoa
* @see AWS API
* Documentation
*/
default DescribeLoaResponse describeLoa(Consumer describeLoaRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DescribeLocations operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeLocations
* @see AWS API Documentation
*/
default DescribeLocationsResponse describeLocations(DescribeLocationsRequest describeLocationsRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DescribeLocationsRequest.Builder} to create a
* request.
* @return Result of the DescribeLocations operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeLocations
* @see AWS API Documentation
*/
default DescribeLocationsResponse describeLocations(Consumer describeLocationsRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DescribeLocations operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeLocations
* @see #describeLocations(DescribeLocationsRequest)
* @see AWS API Documentation
*/
default DescribeLocationsResponse describeLocations() throws DirectConnectServerException, DirectConnectClientException,
AwsServiceException, SdkClientException, DirectConnectException {
return describeLocations(DescribeLocationsRequest.builder().build());
}
/**
*
* Details about the router.
*
*
* @param describeRouterConfigurationRequest
* Provides the details about a virtual interface's router.
* @return Result of the DescribeRouterConfiguration operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeRouterConfiguration
* @see AWS API Documentation
*/
default DescribeRouterConfigurationResponse describeRouterConfiguration(
DescribeRouterConfigurationRequest describeRouterConfigurationRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DescribeRouterConfigurationRequest.Builder} to
* create a request. Provides the details about a virtual interface's router.
* @return Result of the DescribeRouterConfiguration operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeRouterConfiguration
* @see AWS API Documentation
*/
default DescribeRouterConfigurationResponse describeRouterConfiguration(
Consumer describeRouterConfigurationRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
return describeRouterConfiguration(DescribeRouterConfigurationRequest.builder()
.applyMutation(describeRouterConfigurationRequest).build());
}
/**
*
* Describes the tags associated with the specified Direct Connect resources.
*
*
* @param describeTagsRequest
* @return Result of the DescribeTags operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeTags
* @see AWS
* API Documentation
*/
default DescribeTagsResponse describeTags(DescribeTagsRequest describeTagsRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DescribeTagsRequest.Builder} to create a
* request.
* @return Result of the DescribeTags operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeTags
* @see AWS
* API Documentation
*/
default DescribeTagsResponse describeTags(Consumer describeTagsRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
return describeTags(DescribeTagsRequest.builder().applyMutation(describeTagsRequest).build());
}
/**
*
*
* Deprecated. Use DescribeVpnGateways
instead. See DescribeVPNGateways in the Amazon Elastic Compute Cloud API Reference.
*
*
*
* 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 Result of the DescribeVirtualGateways operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeVirtualGateways
* @see AWS API Documentation
*/
default DescribeVirtualGatewaysResponse describeVirtualGateways(DescribeVirtualGatewaysRequest describeVirtualGatewaysRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
throw new UnsupportedOperationException();
}
/**
*
*
* Deprecated. Use DescribeVpnGateways
instead. See DescribeVPNGateways in the Amazon Elastic Compute Cloud API Reference.
*
*
*
* 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 software.amazon.awssdk.services.directconnect.model.DescribeVirtualGatewaysRequest.Builder} to
* create a request.
* @return Result of the DescribeVirtualGateways operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeVirtualGateways
* @see AWS API Documentation
*/
default DescribeVirtualGatewaysResponse describeVirtualGateways(
Consumer describeVirtualGatewaysRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
return describeVirtualGateways(DescribeVirtualGatewaysRequest.builder().applyMutation(describeVirtualGatewaysRequest)
.build());
}
/**
*
*
* Deprecated. Use DescribeVpnGateways
instead. See DescribeVPNGateways in the Amazon Elastic Compute Cloud API Reference.
*
*
*
* 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 Result of the DescribeVirtualGateways operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeVirtualGateways
* @see #describeVirtualGateways(DescribeVirtualGatewaysRequest)
* @see AWS API Documentation
*/
default DescribeVirtualGatewaysResponse describeVirtualGateways() throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 Result of the DescribeVirtualInterfaces operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeVirtualInterfaces
* @see AWS API Documentation
*/
default DescribeVirtualInterfacesResponse describeVirtualInterfaces(
DescribeVirtualInterfacesRequest describeVirtualInterfacesRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DescribeVirtualInterfacesRequest.Builder} to
* create a request.
* @return Result of the DescribeVirtualInterfaces operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeVirtualInterfaces
* @see AWS API Documentation
*/
default DescribeVirtualInterfacesResponse describeVirtualInterfaces(
Consumer describeVirtualInterfacesRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DescribeVirtualInterfaces operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DescribeVirtualInterfaces
* @see #describeVirtualInterfaces(DescribeVirtualInterfacesRequest)
* @see AWS API Documentation
*/
default DescribeVirtualInterfacesResponse describeVirtualInterfaces() throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 Result of the DisassociateConnectionFromLag operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DisassociateConnectionFromLag
* @see AWS API Documentation
*/
default DisassociateConnectionFromLagResponse disassociateConnectionFromLag(
DisassociateConnectionFromLagRequest disassociateConnectionFromLagRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DisassociateConnectionFromLagRequest.Builder}
* to create a request.
* @return Result of the DisassociateConnectionFromLag operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DisassociateConnectionFromLag
* @see AWS API Documentation
*/
default DisassociateConnectionFromLagResponse disassociateConnectionFromLag(
Consumer disassociateConnectionFromLagRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the DisassociateMacSecKey operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DisassociateMacSecKey
* @see AWS API Documentation
*/
default DisassociateMacSecKeyResponse disassociateMacSecKey(DisassociateMacSecKeyRequest disassociateMacSecKeyRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.DisassociateMacSecKeyRequest.Builder} to create
* a request.
* @return Result of the DisassociateMacSecKey operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.DisassociateMacSecKey
* @see AWS API Documentation
*/
default DisassociateMacSecKeyResponse disassociateMacSecKey(
Consumer disassociateMacSecKeyRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
return disassociateMacSecKey(DisassociateMacSecKeyRequest.builder().applyMutation(disassociateMacSecKeyRequest).build());
}
/**
*
* Lists the virtual interface failover test history.
*
*
* @param listVirtualInterfaceTestHistoryRequest
* @return Result of the ListVirtualInterfaceTestHistory operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.ListVirtualInterfaceTestHistory
* @see AWS API Documentation
*/
default ListVirtualInterfaceTestHistoryResponse listVirtualInterfaceTestHistory(
ListVirtualInterfaceTestHistoryRequest listVirtualInterfaceTestHistoryRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.ListVirtualInterfaceTestHistoryRequest.Builder}
* to create a request.
* @return Result of the ListVirtualInterfaceTestHistory operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.ListVirtualInterfaceTestHistory
* @see AWS API Documentation
*/
default ListVirtualInterfaceTestHistoryResponse listVirtualInterfaceTestHistory(
Consumer listVirtualInterfaceTestHistoryRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the StartBgpFailoverTest operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.StartBgpFailoverTest
* @see AWS API Documentation
*/
default StartBgpFailoverTestResponse startBgpFailoverTest(StartBgpFailoverTestRequest startBgpFailoverTestRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.StartBgpFailoverTestRequest.Builder} to create
* a request.
* @return Result of the StartBgpFailoverTest operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.StartBgpFailoverTest
* @see AWS API Documentation
*/
default StartBgpFailoverTestResponse startBgpFailoverTest(
Consumer startBgpFailoverTestRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
return startBgpFailoverTest(StartBgpFailoverTestRequest.builder().applyMutation(startBgpFailoverTestRequest).build());
}
/**
*
* Stops the virtual interface failover test.
*
*
* @param stopBgpFailoverTestRequest
* @return Result of the StopBgpFailoverTest operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.StopBgpFailoverTest
* @see AWS API Documentation
*/
default StopBgpFailoverTestResponse stopBgpFailoverTest(StopBgpFailoverTestRequest stopBgpFailoverTestRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.StopBgpFailoverTestRequest.Builder} to create a
* request.
* @return Result of the StopBgpFailoverTest operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.StopBgpFailoverTest
* @see AWS API Documentation
*/
default StopBgpFailoverTestResponse stopBgpFailoverTest(
Consumer stopBgpFailoverTestRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 Result of the TagResource operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.TagResource
* @see AWS API
* Documentation
*/
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws DuplicateTagKeysException,
TooManyTagsException, DirectConnectServerException, DirectConnectClientException, AwsServiceException,
SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.TagResourceRequest.Builder} to create a
* request.
* @return Result of the TagResource operation returned by the service.
* @throws DuplicateTagKeysException
* A tag key was specified more than once.
* @throws TooManyTagsException
* You have reached the limit on the number of tags that can be assigned.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.TagResource
* @see AWS API
* Documentation
*/
default TagResourceResponse tagResource(Consumer tagResourceRequest)
throws DuplicateTagKeysException, TooManyTagsException, DirectConnectServerException, DirectConnectClientException,
AwsServiceException, SdkClientException, DirectConnectException {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Removes one or more tags from the specified Direct Connect resource.
*
*
* @param untagResourceRequest
* @return Result of the UntagResource operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.UntagResource
* @see AWS
* API Documentation
*/
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.UntagResourceRequest.Builder} to create a
* request.
* @return Result of the UntagResource operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.UntagResource
* @see AWS
* API Documentation
*/
default UntagResourceResponse untagResource(Consumer untagResourceRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the UpdateConnection operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.UpdateConnection
* @see AWS API Documentation
*/
default UpdateConnectionResponse updateConnection(UpdateConnectionRequest updateConnectionRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.UpdateConnectionRequest.Builder} to create a
* request.
* @return Result of the UpdateConnection operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.UpdateConnection
* @see AWS API Documentation
*/
default UpdateConnectionResponse updateConnection(Consumer updateConnectionRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
return updateConnection(UpdateConnectionRequest.builder().applyMutation(updateConnectionRequest).build());
}
/**
*
* Updates the name of a current Direct Connect gateway.
*
*
* @param updateDirectConnectGatewayRequest
* @return Result of the UpdateDirectConnectGateway operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.UpdateDirectConnectGateway
* @see AWS API Documentation
*/
default UpdateDirectConnectGatewayResponse updateDirectConnectGateway(
UpdateDirectConnectGatewayRequest updateDirectConnectGatewayRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.UpdateDirectConnectGatewayRequest.Builder} to
* create a request.
* @return Result of the UpdateDirectConnectGateway operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.UpdateDirectConnectGateway
* @see AWS API Documentation
*/
default UpdateDirectConnectGatewayResponse updateDirectConnectGateway(
Consumer updateDirectConnectGatewayRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the UpdateDirectConnectGatewayAssociation operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.UpdateDirectConnectGatewayAssociation
* @see AWS API Documentation
*/
default UpdateDirectConnectGatewayAssociationResponse updateDirectConnectGatewayAssociation(
UpdateDirectConnectGatewayAssociationRequest updateDirectConnectGatewayAssociationRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.UpdateDirectConnectGatewayAssociationRequest.Builder}
* to create a request.
* @return Result of the UpdateDirectConnectGatewayAssociation operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.UpdateDirectConnectGatewayAssociation
* @see AWS API Documentation
*/
default UpdateDirectConnectGatewayAssociationResponse updateDirectConnectGatewayAssociation(
Consumer updateDirectConnectGatewayAssociationRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
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 Result of the UpdateLag operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.UpdateLag
* @see AWS API
* Documentation
*/
default UpdateLagResponse updateLag(UpdateLagRequest updateLagRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 software.amazon.awssdk.services.directconnect.model.UpdateLagRequest.Builder} to create a request.
* @return Result of the UpdateLag operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.UpdateLag
* @see AWS API
* Documentation
*/
default UpdateLagResponse updateLag(Consumer updateLagRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
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 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 updateVirtualInterfaceAttributesRequest
* @return Result of the UpdateVirtualInterfaceAttributes operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.UpdateVirtualInterfaceAttributes
* @see AWS API Documentation
*/
default UpdateVirtualInterfaceAttributesResponse updateVirtualInterfaceAttributes(
UpdateVirtualInterfaceAttributesRequest updateVirtualInterfaceAttributesRequest) throws DirectConnectServerException,
DirectConnectClientException, AwsServiceException, SdkClientException, DirectConnectException {
throw new UnsupportedOperationException();
}
/**
*
* Updates the specified attributes of the specified virtual private interface.
*
*
* 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 UpdateVirtualInterfaceAttributesRequest.Builder}
* avoiding the need to create one manually via {@link UpdateVirtualInterfaceAttributesRequest#builder()}
*
*
* @param updateVirtualInterfaceAttributesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.directconnect.model.UpdateVirtualInterfaceAttributesRequest.Builder}
* to create a request.
* @return Result of the UpdateVirtualInterfaceAttributes operation returned by the service.
* @throws DirectConnectServerException
* A server-side error occurred.
* @throws DirectConnectClientException
* One or more parameters are not valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DirectConnectException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DirectConnectClient.UpdateVirtualInterfaceAttributes
* @see AWS API Documentation
*/
default UpdateVirtualInterfaceAttributesResponse updateVirtualInterfaceAttributes(
Consumer updateVirtualInterfaceAttributesRequest)
throws DirectConnectServerException, DirectConnectClientException, AwsServiceException, SdkClientException,
DirectConnectException {
return updateVirtualInterfaceAttributes(UpdateVirtualInterfaceAttributesRequest.builder()
.applyMutation(updateVirtualInterfaceAttributesRequest).build());
}
/**
* Create a {@link DirectConnectClient} 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 DirectConnectClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link DirectConnectClient}.
*/
static DirectConnectClientBuilder builder() {
return new DefaultDirectConnectClientBuilder();
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of(SERVICE_METADATA_ID);
}
@Override
default DirectConnectServiceClientConfiguration serviceClientConfiguration() {
throw new UnsupportedOperationException();
}
}