Interface NetworkManagerAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface NetworkManagerAsyncClient extends AwsClient
Service client for accessing NetworkManager asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

Amazon Web Services enables you to centrally manage your Amazon Web Services Cloud WAN core network and your Transit Gateway network across Amazon Web Services accounts, Regions, and on-premises locations.

  • Field Details

  • Method Details

    • acceptAttachment

      default CompletableFuture<AcceptAttachmentResponse> acceptAttachment(AcceptAttachmentRequest acceptAttachmentRequest)

      Accepts a core network attachment request.

      Once the attachment request is accepted by a core network owner, the attachment is created and connected to a core network.

      Parameters:
      acceptAttachmentRequest -
      Returns:
      A Java Future containing the result of the AcceptAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • acceptAttachment

      default CompletableFuture<AcceptAttachmentResponse> acceptAttachment(Consumer<AcceptAttachmentRequest.Builder> acceptAttachmentRequest)

      Accepts a core network attachment request.

      Once the attachment request is accepted by a core network owner, the attachment is created and connected to a core network.


      This is a convenience which creates an instance of the AcceptAttachmentRequest.Builder avoiding the need to create one manually via AcceptAttachmentRequest.builder()

      Parameters:
      acceptAttachmentRequest - A Consumer that will call methods on AcceptAttachmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AcceptAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateConnectPeer

      default CompletableFuture<AssociateConnectPeerResponse> associateConnectPeer(AssociateConnectPeerRequest associateConnectPeerRequest)

      Associates a core network Connect peer with a device and optionally, with a link.

      If you specify a link, it must be associated with the specified device. You can only associate core network Connect peers that have been created on a core network Connect attachment on a core network.

      Parameters:
      associateConnectPeerRequest -
      Returns:
      A Java Future containing the result of the AssociateConnectPeer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateConnectPeer

      default CompletableFuture<AssociateConnectPeerResponse> associateConnectPeer(Consumer<AssociateConnectPeerRequest.Builder> associateConnectPeerRequest)

      Associates a core network Connect peer with a device and optionally, with a link.

      If you specify a link, it must be associated with the specified device. You can only associate core network Connect peers that have been created on a core network Connect attachment on a core network.


      This is a convenience which creates an instance of the AssociateConnectPeerRequest.Builder avoiding the need to create one manually via AssociateConnectPeerRequest.builder()

      Parameters:
      associateConnectPeerRequest - A Consumer that will call methods on AssociateConnectPeerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateConnectPeer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateCustomerGateway

      default CompletableFuture<AssociateCustomerGatewayResponse> associateCustomerGateway(AssociateCustomerGatewayRequest associateCustomerGatewayRequest)

      Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must be associated with the specified device.

      You can only associate customer gateways that are connected to a VPN attachment on a transit gateway or core network registered in your global network. When you register a transit gateway or core network, customer gateways that are connected to the transit gateway are automatically included in the global network. To list customer gateways that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by transit-gateway-id.

      You cannot associate a customer gateway with more than one device and link.

      Parameters:
      associateCustomerGatewayRequest -
      Returns:
      A Java Future containing the result of the AssociateCustomerGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateCustomerGateway

      default CompletableFuture<AssociateCustomerGatewayResponse> associateCustomerGateway(Consumer<AssociateCustomerGatewayRequest.Builder> associateCustomerGatewayRequest)

      Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must be associated with the specified device.

      You can only associate customer gateways that are connected to a VPN attachment on a transit gateway or core network registered in your global network. When you register a transit gateway or core network, customer gateways that are connected to the transit gateway are automatically included in the global network. To list customer gateways that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by transit-gateway-id.

      You cannot associate a customer gateway with more than one device and link.


      This is a convenience which creates an instance of the AssociateCustomerGatewayRequest.Builder avoiding the need to create one manually via AssociateCustomerGatewayRequest.builder()

      Parameters:
      associateCustomerGatewayRequest - A Consumer that will call methods on AssociateCustomerGatewayRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateCustomerGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateLink

      default CompletableFuture<AssociateLinkResponse> associateLink(AssociateLinkRequest associateLinkRequest)

      Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.

      Parameters:
      associateLinkRequest -
      Returns:
      A Java Future containing the result of the AssociateLink operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateLink

      default CompletableFuture<AssociateLinkResponse> associateLink(Consumer<AssociateLinkRequest.Builder> associateLinkRequest)

      Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.


      This is a convenience which creates an instance of the AssociateLinkRequest.Builder avoiding the need to create one manually via AssociateLinkRequest.builder()

      Parameters:
      associateLinkRequest - A Consumer that will call methods on AssociateLinkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateLink operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateTransitGatewayConnectPeer

      default CompletableFuture<AssociateTransitGatewayConnectPeerResponse> associateTransitGatewayConnectPeer(AssociateTransitGatewayConnectPeerRequest associateTransitGatewayConnectPeerRequest)

      Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device.

      You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.

      You cannot associate a transit gateway Connect peer with more than one device and link.

      Parameters:
      associateTransitGatewayConnectPeerRequest -
      Returns:
      A Java Future containing the result of the AssociateTransitGatewayConnectPeer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateTransitGatewayConnectPeer

      default CompletableFuture<AssociateTransitGatewayConnectPeerResponse> associateTransitGatewayConnectPeer(Consumer<AssociateTransitGatewayConnectPeerRequest.Builder> associateTransitGatewayConnectPeerRequest)

      Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device.

      You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.

      You cannot associate a transit gateway Connect peer with more than one device and link.


      This is a convenience which creates an instance of the AssociateTransitGatewayConnectPeerRequest.Builder avoiding the need to create one manually via AssociateTransitGatewayConnectPeerRequest.builder()

      Parameters:
      associateTransitGatewayConnectPeerRequest - A Consumer that will call methods on AssociateTransitGatewayConnectPeerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateTransitGatewayConnectPeer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createConnectAttachment

      default CompletableFuture<CreateConnectAttachmentResponse> createConnectAttachment(CreateConnectAttachmentRequest createConnectAttachmentRequest)

      Creates a core network Connect attachment from a specified core network attachment.

      A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.

      Parameters:
      createConnectAttachmentRequest -
      Returns:
      A Java Future containing the result of the CreateConnectAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createConnectAttachment

      default CompletableFuture<CreateConnectAttachmentResponse> createConnectAttachment(Consumer<CreateConnectAttachmentRequest.Builder> createConnectAttachmentRequest)

      Creates a core network Connect attachment from a specified core network attachment.

      A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.


      This is a convenience which creates an instance of the CreateConnectAttachmentRequest.Builder avoiding the need to create one manually via CreateConnectAttachmentRequest.builder()

      Parameters:
      createConnectAttachmentRequest - A Consumer that will call methods on CreateConnectAttachmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateConnectAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createConnectPeer

      default CompletableFuture<CreateConnectPeerResponse> createConnectPeer(CreateConnectPeerRequest createConnectPeerRequest)

      Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance. The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).

      Parameters:
      createConnectPeerRequest -
      Returns:
      A Java Future containing the result of the CreateConnectPeer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createConnectPeer

      default CompletableFuture<CreateConnectPeerResponse> createConnectPeer(Consumer<CreateConnectPeerRequest.Builder> createConnectPeerRequest)

      Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance. The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).


      This is a convenience which creates an instance of the CreateConnectPeerRequest.Builder avoiding the need to create one manually via CreateConnectPeerRequest.builder()

      Parameters:
      createConnectPeerRequest - A Consumer that will call methods on CreateConnectPeerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateConnectPeer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createConnection

      default CompletableFuture<CreateConnectionResponse> createConnection(CreateConnectionRequest createConnectionRequest)

      Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.

      Parameters:
      createConnectionRequest -
      Returns:
      A Java Future containing the result of the CreateConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createConnection

      default CompletableFuture<CreateConnectionResponse> createConnection(Consumer<CreateConnectionRequest.Builder> createConnectionRequest)

      Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.


      This is a convenience which creates an instance of the CreateConnectionRequest.Builder avoiding the need to create one manually via CreateConnectionRequest.builder()

      Parameters:
      createConnectionRequest - A Consumer that will call methods on CreateConnectionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCoreNetwork

      default CompletableFuture<CreateCoreNetworkResponse> createCoreNetwork(CreateCoreNetworkRequest createCoreNetworkRequest)

      Creates a core network as part of your global network, and optionally, with a core network policy.

      Parameters:
      createCoreNetworkRequest -
      Returns:
      A Java Future containing the result of the CreateCoreNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • CoreNetworkPolicyException Describes a core network policy exception.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCoreNetwork

      default CompletableFuture<CreateCoreNetworkResponse> createCoreNetwork(Consumer<CreateCoreNetworkRequest.Builder> createCoreNetworkRequest)

      Creates a core network as part of your global network, and optionally, with a core network policy.


      This is a convenience which creates an instance of the CreateCoreNetworkRequest.Builder avoiding the need to create one manually via CreateCoreNetworkRequest.builder()

      Parameters:
      createCoreNetworkRequest - A Consumer that will call methods on CreateCoreNetworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateCoreNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • CoreNetworkPolicyException Describes a core network policy exception.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createDevice

      default CompletableFuture<CreateDeviceResponse> createDevice(CreateDeviceRequest createDeviceRequest)

      Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.

      Parameters:
      createDeviceRequest -
      Returns:
      A Java Future containing the result of the CreateDevice operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createDevice

      default CompletableFuture<CreateDeviceResponse> createDevice(Consumer<CreateDeviceRequest.Builder> createDeviceRequest)

      Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.


      This is a convenience which creates an instance of the CreateDeviceRequest.Builder avoiding the need to create one manually via CreateDeviceRequest.builder()

      Parameters:
      createDeviceRequest - A Consumer that will call methods on CreateDeviceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateDevice operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createGlobalNetwork

      default CompletableFuture<CreateGlobalNetworkResponse> createGlobalNetwork(CreateGlobalNetworkRequest createGlobalNetworkRequest)

      Creates a new, empty global network.

      Parameters:
      createGlobalNetworkRequest -
      Returns:
      A Java Future containing the result of the CreateGlobalNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createGlobalNetwork

      default CompletableFuture<CreateGlobalNetworkResponse> createGlobalNetwork(Consumer<CreateGlobalNetworkRequest.Builder> createGlobalNetworkRequest)

      Creates a new, empty global network.


      This is a convenience which creates an instance of the CreateGlobalNetworkRequest.Builder avoiding the need to create one manually via CreateGlobalNetworkRequest.builder()

      Parameters:
      createGlobalNetworkRequest - A Consumer that will call methods on CreateGlobalNetworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateGlobalNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLink

      default CompletableFuture<CreateLinkResponse> createLink(CreateLinkRequest createLinkRequest)

      Creates a new link for a specified site.

      Parameters:
      createLinkRequest -
      Returns:
      A Java Future containing the result of the CreateLink operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLink

      default CompletableFuture<CreateLinkResponse> createLink(Consumer<CreateLinkRequest.Builder> createLinkRequest)

      Creates a new link for a specified site.


      This is a convenience which creates an instance of the CreateLinkRequest.Builder avoiding the need to create one manually via CreateLinkRequest.builder()

      Parameters:
      createLinkRequest - A Consumer that will call methods on CreateLinkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateLink operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSite

      default CompletableFuture<CreateSiteResponse> createSite(CreateSiteRequest createSiteRequest)

      Creates a new site in a global network.

      Parameters:
      createSiteRequest -
      Returns:
      A Java Future containing the result of the CreateSite operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSite

      default CompletableFuture<CreateSiteResponse> createSite(Consumer<CreateSiteRequest.Builder> createSiteRequest)

      Creates a new site in a global network.


      This is a convenience which creates an instance of the CreateSiteRequest.Builder avoiding the need to create one manually via CreateSiteRequest.builder()

      Parameters:
      createSiteRequest - A Consumer that will call methods on CreateSiteRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateSite operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSiteToSiteVpnAttachment

      default CompletableFuture<CreateSiteToSiteVpnAttachmentResponse> createSiteToSiteVpnAttachment(CreateSiteToSiteVpnAttachmentRequest createSiteToSiteVpnAttachmentRequest)

      Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.

      Parameters:
      createSiteToSiteVpnAttachmentRequest -
      Returns:
      A Java Future containing the result of the CreateSiteToSiteVpnAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSiteToSiteVpnAttachment

      default CompletableFuture<CreateSiteToSiteVpnAttachmentResponse> createSiteToSiteVpnAttachment(Consumer<CreateSiteToSiteVpnAttachmentRequest.Builder> createSiteToSiteVpnAttachmentRequest)

      Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.


      This is a convenience which creates an instance of the CreateSiteToSiteVpnAttachmentRequest.Builder avoiding the need to create one manually via CreateSiteToSiteVpnAttachmentRequest.builder()

      Parameters:
      createSiteToSiteVpnAttachmentRequest - A Consumer that will call methods on CreateSiteToSiteVpnAttachmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateSiteToSiteVpnAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createTransitGatewayPeering

      default CompletableFuture<CreateTransitGatewayPeeringResponse> createTransitGatewayPeering(CreateTransitGatewayPeeringRequest createTransitGatewayPeeringRequest)

      Creates a transit gateway peering connection.

      Parameters:
      createTransitGatewayPeeringRequest -
      Returns:
      A Java Future containing the result of the CreateTransitGatewayPeering operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createTransitGatewayPeering

      default CompletableFuture<CreateTransitGatewayPeeringResponse> createTransitGatewayPeering(Consumer<CreateTransitGatewayPeeringRequest.Builder> createTransitGatewayPeeringRequest)

      Creates a transit gateway peering connection.


      This is a convenience which creates an instance of the CreateTransitGatewayPeeringRequest.Builder avoiding the need to create one manually via CreateTransitGatewayPeeringRequest.builder()

      Parameters:
      createTransitGatewayPeeringRequest - A Consumer that will call methods on CreateTransitGatewayPeeringRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateTransitGatewayPeering operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createTransitGatewayRouteTableAttachment

      default CompletableFuture<CreateTransitGatewayRouteTableAttachmentResponse> createTransitGatewayRouteTableAttachment(CreateTransitGatewayRouteTableAttachmentRequest createTransitGatewayRouteTableAttachmentRequest)

      Creates a transit gateway route table attachment.

      Parameters:
      createTransitGatewayRouteTableAttachmentRequest -
      Returns:
      A Java Future containing the result of the CreateTransitGatewayRouteTableAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createTransitGatewayRouteTableAttachment

      default CompletableFuture<CreateTransitGatewayRouteTableAttachmentResponse> createTransitGatewayRouteTableAttachment(Consumer<CreateTransitGatewayRouteTableAttachmentRequest.Builder> createTransitGatewayRouteTableAttachmentRequest)

      Creates a transit gateway route table attachment.


      This is a convenience which creates an instance of the CreateTransitGatewayRouteTableAttachmentRequest.Builder avoiding the need to create one manually via CreateTransitGatewayRouteTableAttachmentRequest.builder()

      Parameters:
      createTransitGatewayRouteTableAttachmentRequest - A Consumer that will call methods on CreateTransitGatewayRouteTableAttachmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateTransitGatewayRouteTableAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createVpcAttachment

      default CompletableFuture<CreateVpcAttachmentResponse> createVpcAttachment(CreateVpcAttachmentRequest createVpcAttachmentRequest)

      Creates a VPC attachment on an edge location of a core network.

      Parameters:
      createVpcAttachmentRequest -
      Returns:
      A Java Future containing the result of the CreateVpcAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createVpcAttachment

      default CompletableFuture<CreateVpcAttachmentResponse> createVpcAttachment(Consumer<CreateVpcAttachmentRequest.Builder> createVpcAttachmentRequest)

      Creates a VPC attachment on an edge location of a core network.


      This is a convenience which creates an instance of the CreateVpcAttachmentRequest.Builder avoiding the need to create one manually via CreateVpcAttachmentRequest.builder()

      Parameters:
      createVpcAttachmentRequest - A Consumer that will call methods on CreateVpcAttachmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateVpcAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAttachment

      default CompletableFuture<DeleteAttachmentResponse> deleteAttachment(DeleteAttachmentRequest deleteAttachmentRequest)

      Deletes an attachment. Supports all attachment types.

      Parameters:
      deleteAttachmentRequest -
      Returns:
      A Java Future containing the result of the DeleteAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAttachment

      default CompletableFuture<DeleteAttachmentResponse> deleteAttachment(Consumer<DeleteAttachmentRequest.Builder> deleteAttachmentRequest)

      Deletes an attachment. Supports all attachment types.


      This is a convenience which creates an instance of the DeleteAttachmentRequest.Builder avoiding the need to create one manually via DeleteAttachmentRequest.builder()

      Parameters:
      deleteAttachmentRequest - A Consumer that will call methods on DeleteAttachmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteConnectPeer

      default CompletableFuture<DeleteConnectPeerResponse> deleteConnectPeer(DeleteConnectPeerRequest deleteConnectPeerRequest)

      Deletes a Connect peer.

      Parameters:
      deleteConnectPeerRequest -
      Returns:
      A Java Future containing the result of the DeleteConnectPeer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteConnectPeer

      default CompletableFuture<DeleteConnectPeerResponse> deleteConnectPeer(Consumer<DeleteConnectPeerRequest.Builder> deleteConnectPeerRequest)

      Deletes a Connect peer.


      This is a convenience which creates an instance of the DeleteConnectPeerRequest.Builder avoiding the need to create one manually via DeleteConnectPeerRequest.builder()

      Parameters:
      deleteConnectPeerRequest - A Consumer that will call methods on DeleteConnectPeerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteConnectPeer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteConnection

      default CompletableFuture<DeleteConnectionResponse> deleteConnection(DeleteConnectionRequest deleteConnectionRequest)

      Deletes the specified connection in your global network.

      Parameters:
      deleteConnectionRequest -
      Returns:
      A Java Future containing the result of the DeleteConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteConnection

      default CompletableFuture<DeleteConnectionResponse> deleteConnection(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest)

      Deletes the specified connection in your global network.


      This is a convenience which creates an instance of the DeleteConnectionRequest.Builder avoiding the need to create one manually via DeleteConnectionRequest.builder()

      Parameters:
      deleteConnectionRequest - A Consumer that will call methods on DeleteConnectionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCoreNetwork

      default CompletableFuture<DeleteCoreNetworkResponse> deleteCoreNetwork(DeleteCoreNetworkRequest deleteCoreNetworkRequest)

      Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.

      Parameters:
      deleteCoreNetworkRequest -
      Returns:
      A Java Future containing the result of the DeleteCoreNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCoreNetwork

      default CompletableFuture<DeleteCoreNetworkResponse> deleteCoreNetwork(Consumer<DeleteCoreNetworkRequest.Builder> deleteCoreNetworkRequest)

      Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.


      This is a convenience which creates an instance of the DeleteCoreNetworkRequest.Builder avoiding the need to create one manually via DeleteCoreNetworkRequest.builder()

      Parameters:
      deleteCoreNetworkRequest - A Consumer that will call methods on DeleteCoreNetworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteCoreNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCoreNetworkPolicyVersion

      default CompletableFuture<DeleteCoreNetworkPolicyVersionResponse> deleteCoreNetworkPolicyVersion(DeleteCoreNetworkPolicyVersionRequest deleteCoreNetworkPolicyVersionRequest)

      Deletes a policy version from a core network. You can't delete the current LIVE policy.

      Parameters:
      deleteCoreNetworkPolicyVersionRequest -
      Returns:
      A Java Future containing the result of the DeleteCoreNetworkPolicyVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCoreNetworkPolicyVersion

      default CompletableFuture<DeleteCoreNetworkPolicyVersionResponse> deleteCoreNetworkPolicyVersion(Consumer<DeleteCoreNetworkPolicyVersionRequest.Builder> deleteCoreNetworkPolicyVersionRequest)

      Deletes a policy version from a core network. You can't delete the current LIVE policy.


      This is a convenience which creates an instance of the DeleteCoreNetworkPolicyVersionRequest.Builder avoiding the need to create one manually via DeleteCoreNetworkPolicyVersionRequest.builder()

      Parameters:
      deleteCoreNetworkPolicyVersionRequest - A Consumer that will call methods on DeleteCoreNetworkPolicyVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteCoreNetworkPolicyVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteDevice

      default CompletableFuture<DeleteDeviceResponse> deleteDevice(DeleteDeviceRequest deleteDeviceRequest)

      Deletes an existing device. You must first disassociate the device from any links and customer gateways.

      Parameters:
      deleteDeviceRequest -
      Returns:
      A Java Future containing the result of the DeleteDevice operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteDevice

      default CompletableFuture<DeleteDeviceResponse> deleteDevice(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest)

      Deletes an existing device. You must first disassociate the device from any links and customer gateways.


      This is a convenience which creates an instance of the DeleteDeviceRequest.Builder avoiding the need to create one manually via DeleteDeviceRequest.builder()

      Parameters:
      deleteDeviceRequest - A Consumer that will call methods on DeleteDeviceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteDevice operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteGlobalNetwork

      default CompletableFuture<DeleteGlobalNetworkResponse> deleteGlobalNetwork(DeleteGlobalNetworkRequest deleteGlobalNetworkRequest)

      Deletes an existing global network. You must first delete all global network objects (devices, links, and sites), deregister all transit gateways, and delete any core networks.

      Parameters:
      deleteGlobalNetworkRequest -
      Returns:
      A Java Future containing the result of the DeleteGlobalNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteGlobalNetwork

      default CompletableFuture<DeleteGlobalNetworkResponse> deleteGlobalNetwork(Consumer<DeleteGlobalNetworkRequest.Builder> deleteGlobalNetworkRequest)

      Deletes an existing global network. You must first delete all global network objects (devices, links, and sites), deregister all transit gateways, and delete any core networks.


      This is a convenience which creates an instance of the DeleteGlobalNetworkRequest.Builder avoiding the need to create one manually via DeleteGlobalNetworkRequest.builder()

      Parameters:
      deleteGlobalNetworkRequest - A Consumer that will call methods on DeleteGlobalNetworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteGlobalNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLink

      default CompletableFuture<DeleteLinkResponse> deleteLink(DeleteLinkRequest deleteLinkRequest)

      Deletes an existing link. You must first disassociate the link from any devices and customer gateways.

      Parameters:
      deleteLinkRequest -
      Returns:
      A Java Future containing the result of the DeleteLink operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLink

      default CompletableFuture<DeleteLinkResponse> deleteLink(Consumer<DeleteLinkRequest.Builder> deleteLinkRequest)

      Deletes an existing link. You must first disassociate the link from any devices and customer gateways.


      This is a convenience which creates an instance of the DeleteLinkRequest.Builder avoiding the need to create one manually via DeleteLinkRequest.builder()

      Parameters:
      deleteLinkRequest - A Consumer that will call methods on DeleteLinkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteLink operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deletePeering

      default CompletableFuture<DeletePeeringResponse> deletePeering(DeletePeeringRequest deletePeeringRequest)

      Deletes an existing peering connection.

      Parameters:
      deletePeeringRequest -
      Returns:
      A Java Future containing the result of the DeletePeering operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deletePeering

      default CompletableFuture<DeletePeeringResponse> deletePeering(Consumer<DeletePeeringRequest.Builder> deletePeeringRequest)

      Deletes an existing peering connection.


      This is a convenience which creates an instance of the DeletePeeringRequest.Builder avoiding the need to create one manually via DeletePeeringRequest.builder()

      Parameters:
      deletePeeringRequest - A Consumer that will call methods on DeletePeeringRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeletePeering operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResourcePolicy

      default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)

      Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.

      Parameters:
      deleteResourcePolicyRequest -
      Returns:
      A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResourcePolicy

      default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)

      Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.


      This is a convenience which creates an instance of the DeleteResourcePolicyRequest.Builder avoiding the need to create one manually via DeleteResourcePolicyRequest.builder()

      Parameters:
      deleteResourcePolicyRequest - A Consumer that will call methods on DeleteResourcePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSite

      default CompletableFuture<DeleteSiteResponse> deleteSite(DeleteSiteRequest deleteSiteRequest)

      Deletes an existing site. The site cannot be associated with any device or link.

      Parameters:
      deleteSiteRequest -
      Returns:
      A Java Future containing the result of the DeleteSite operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSite

      default CompletableFuture<DeleteSiteResponse> deleteSite(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest)

      Deletes an existing site. The site cannot be associated with any device or link.


      This is a convenience which creates an instance of the DeleteSiteRequest.Builder avoiding the need to create one manually via DeleteSiteRequest.builder()

      Parameters:
      deleteSiteRequest - A Consumer that will call methods on DeleteSiteRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteSite operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deregisterTransitGateway

      default CompletableFuture<DeregisterTransitGatewayResponse> deregisterTransitGateway(DeregisterTransitGatewayRequest deregisterTransitGatewayRequest)

      Deregisters a transit gateway from your global network. This action does not delete your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.

      Parameters:
      deregisterTransitGatewayRequest -
      Returns:
      A Java Future containing the result of the DeregisterTransitGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deregisterTransitGateway

      default CompletableFuture<DeregisterTransitGatewayResponse> deregisterTransitGateway(Consumer<DeregisterTransitGatewayRequest.Builder> deregisterTransitGatewayRequest)

      Deregisters a transit gateway from your global network. This action does not delete your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.


      This is a convenience which creates an instance of the DeregisterTransitGatewayRequest.Builder avoiding the need to create one manually via DeregisterTransitGatewayRequest.builder()

      Parameters:
      deregisterTransitGatewayRequest - A Consumer that will call methods on DeregisterTransitGatewayRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeregisterTransitGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeGlobalNetworks

      default CompletableFuture<DescribeGlobalNetworksResponse> describeGlobalNetworks(DescribeGlobalNetworksRequest describeGlobalNetworksRequest)

      Describes one or more global networks. By default, all global networks are described. To describe the objects in your global network, you must use the appropriate Get* action. For example, to list the transit gateways in your global network, use GetTransitGatewayRegistrations.

      Parameters:
      describeGlobalNetworksRequest -
      Returns:
      A Java Future containing the result of the DescribeGlobalNetworks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeGlobalNetworks

      default CompletableFuture<DescribeGlobalNetworksResponse> describeGlobalNetworks(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest)

      Describes one or more global networks. By default, all global networks are described. To describe the objects in your global network, you must use the appropriate Get* action. For example, to list the transit gateways in your global network, use GetTransitGatewayRegistrations.


      This is a convenience which creates an instance of the DescribeGlobalNetworksRequest.Builder avoiding the need to create one manually via DescribeGlobalNetworksRequest.builder()

      Parameters:
      describeGlobalNetworksRequest - A Consumer that will call methods on DescribeGlobalNetworksRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeGlobalNetworks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeGlobalNetworksPaginator

      default DescribeGlobalNetworksPublisher describeGlobalNetworksPaginator(DescribeGlobalNetworksRequest describeGlobalNetworksRequest)

      This is a variant of describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksPublisher publisher = client.describeGlobalNetworksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksPublisher publisher = client.describeGlobalNetworksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest) operation.

      Parameters:
      describeGlobalNetworksRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeGlobalNetworksPaginator

      default DescribeGlobalNetworksPublisher describeGlobalNetworksPaginator(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest)

      This is a variant of describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksPublisher publisher = client.describeGlobalNetworksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksPublisher publisher = client.describeGlobalNetworksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest) operation.


      This is a convenience which creates an instance of the DescribeGlobalNetworksRequest.Builder avoiding the need to create one manually via DescribeGlobalNetworksRequest.builder()

      Parameters:
      describeGlobalNetworksRequest - A Consumer that will call methods on DescribeGlobalNetworksRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateConnectPeer

      default CompletableFuture<DisassociateConnectPeerResponse> disassociateConnectPeer(DisassociateConnectPeerRequest disassociateConnectPeerRequest)

      Disassociates a core network Connect peer from a device and a link.

      Parameters:
      disassociateConnectPeerRequest -
      Returns:
      A Java Future containing the result of the DisassociateConnectPeer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateConnectPeer

      default CompletableFuture<DisassociateConnectPeerResponse> disassociateConnectPeer(Consumer<DisassociateConnectPeerRequest.Builder> disassociateConnectPeerRequest)

      Disassociates a core network Connect peer from a device and a link.


      This is a convenience which creates an instance of the DisassociateConnectPeerRequest.Builder avoiding the need to create one manually via DisassociateConnectPeerRequest.builder()

      Parameters:
      disassociateConnectPeerRequest - A Consumer that will call methods on DisassociateConnectPeerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateConnectPeer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateCustomerGateway

      default CompletableFuture<DisassociateCustomerGatewayResponse> disassociateCustomerGateway(DisassociateCustomerGatewayRequest disassociateCustomerGatewayRequest)

      Disassociates a customer gateway from a device and a link.

      Parameters:
      disassociateCustomerGatewayRequest -
      Returns:
      A Java Future containing the result of the DisassociateCustomerGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateCustomerGateway

      default CompletableFuture<DisassociateCustomerGatewayResponse> disassociateCustomerGateway(Consumer<DisassociateCustomerGatewayRequest.Builder> disassociateCustomerGatewayRequest)

      Disassociates a customer gateway from a device and a link.


      This is a convenience which creates an instance of the DisassociateCustomerGatewayRequest.Builder avoiding the need to create one manually via DisassociateCustomerGatewayRequest.builder()

      Parameters:
      disassociateCustomerGatewayRequest - A Consumer that will call methods on DisassociateCustomerGatewayRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateCustomerGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateLink

      default CompletableFuture<DisassociateLinkResponse> disassociateLink(DisassociateLinkRequest disassociateLinkRequest)

      Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.

      Parameters:
      disassociateLinkRequest -
      Returns:
      A Java Future containing the result of the DisassociateLink operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateLink

      default CompletableFuture<DisassociateLinkResponse> disassociateLink(Consumer<DisassociateLinkRequest.Builder> disassociateLinkRequest)

      Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.


      This is a convenience which creates an instance of the DisassociateLinkRequest.Builder avoiding the need to create one manually via DisassociateLinkRequest.builder()

      Parameters:
      disassociateLinkRequest - A Consumer that will call methods on DisassociateLinkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateLink operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateTransitGatewayConnectPeer

      default CompletableFuture<DisassociateTransitGatewayConnectPeerResponse> disassociateTransitGatewayConnectPeer(DisassociateTransitGatewayConnectPeerRequest disassociateTransitGatewayConnectPeerRequest)

      Disassociates a transit gateway Connect peer from a device and link.

      Parameters:
      disassociateTransitGatewayConnectPeerRequest -
      Returns:
      A Java Future containing the result of the DisassociateTransitGatewayConnectPeer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateTransitGatewayConnectPeer

      default CompletableFuture<DisassociateTransitGatewayConnectPeerResponse> disassociateTransitGatewayConnectPeer(Consumer<DisassociateTransitGatewayConnectPeerRequest.Builder> disassociateTransitGatewayConnectPeerRequest)

      Disassociates a transit gateway Connect peer from a device and link.


      This is a convenience which creates an instance of the DisassociateTransitGatewayConnectPeerRequest.Builder avoiding the need to create one manually via DisassociateTransitGatewayConnectPeerRequest.builder()

      Parameters:
      disassociateTransitGatewayConnectPeerRequest - A Consumer that will call methods on DisassociateTransitGatewayConnectPeerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateTransitGatewayConnectPeer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • executeCoreNetworkChangeSet

      default CompletableFuture<ExecuteCoreNetworkChangeSetResponse> executeCoreNetworkChangeSet(ExecuteCoreNetworkChangeSetRequest executeCoreNetworkChangeSetRequest)

      Executes a change set on your core network. Deploys changes globally based on the policy submitted..

      Parameters:
      executeCoreNetworkChangeSetRequest -
      Returns:
      A Java Future containing the result of the ExecuteCoreNetworkChangeSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • executeCoreNetworkChangeSet

      default CompletableFuture<ExecuteCoreNetworkChangeSetResponse> executeCoreNetworkChangeSet(Consumer<ExecuteCoreNetworkChangeSetRequest.Builder> executeCoreNetworkChangeSetRequest)

      Executes a change set on your core network. Deploys changes globally based on the policy submitted..


      This is a convenience which creates an instance of the ExecuteCoreNetworkChangeSetRequest.Builder avoiding the need to create one manually via ExecuteCoreNetworkChangeSetRequest.builder()

      Parameters:
      executeCoreNetworkChangeSetRequest - A Consumer that will call methods on ExecuteCoreNetworkChangeSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ExecuteCoreNetworkChangeSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConnectAttachment

      default CompletableFuture<GetConnectAttachmentResponse> getConnectAttachment(GetConnectAttachmentRequest getConnectAttachmentRequest)

      Returns information about a core network Connect attachment.

      Parameters:
      getConnectAttachmentRequest -
      Returns:
      A Java Future containing the result of the GetConnectAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConnectAttachment

      default CompletableFuture<GetConnectAttachmentResponse> getConnectAttachment(Consumer<GetConnectAttachmentRequest.Builder> getConnectAttachmentRequest)

      Returns information about a core network Connect attachment.


      This is a convenience which creates an instance of the GetConnectAttachmentRequest.Builder avoiding the need to create one manually via GetConnectAttachmentRequest.builder()

      Parameters:
      getConnectAttachmentRequest - A Consumer that will call methods on GetConnectAttachmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetConnectAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConnectPeer

      default CompletableFuture<GetConnectPeerResponse> getConnectPeer(GetConnectPeerRequest getConnectPeerRequest)

      Returns information about a core network Connect peer.

      Parameters:
      getConnectPeerRequest -
      Returns:
      A Java Future containing the result of the GetConnectPeer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConnectPeer

      default CompletableFuture<GetConnectPeerResponse> getConnectPeer(Consumer<GetConnectPeerRequest.Builder> getConnectPeerRequest)

      Returns information about a core network Connect peer.


      This is a convenience which creates an instance of the GetConnectPeerRequest.Builder avoiding the need to create one manually via GetConnectPeerRequest.builder()

      Parameters:
      getConnectPeerRequest - A Consumer that will call methods on GetConnectPeerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetConnectPeer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConnectPeerAssociations

      default CompletableFuture<GetConnectPeerAssociationsResponse> getConnectPeerAssociations(GetConnectPeerAssociationsRequest getConnectPeerAssociationsRequest)

      Returns information about a core network Connect peer associations.

      Parameters:
      getConnectPeerAssociationsRequest -
      Returns:
      A Java Future containing the result of the GetConnectPeerAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConnectPeerAssociations

      default CompletableFuture<GetConnectPeerAssociationsResponse> getConnectPeerAssociations(Consumer<GetConnectPeerAssociationsRequest.Builder> getConnectPeerAssociationsRequest)

      Returns information about a core network Connect peer associations.


      This is a convenience which creates an instance of the GetConnectPeerAssociationsRequest.Builder avoiding the need to create one manually via GetConnectPeerAssociationsRequest.builder()

      Parameters:
      getConnectPeerAssociationsRequest - A Consumer that will call methods on GetConnectPeerAssociationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetConnectPeerAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConnectPeerAssociationsPaginator

      default GetConnectPeerAssociationsPublisher getConnectPeerAssociationsPaginator(GetConnectPeerAssociationsRequest getConnectPeerAssociationsRequest)

      This is a variant of getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsPublisher publisher = client.getConnectPeerAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsPublisher publisher = client.getConnectPeerAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest) operation.

      Parameters:
      getConnectPeerAssociationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConnectPeerAssociationsPaginator

      default GetConnectPeerAssociationsPublisher getConnectPeerAssociationsPaginator(Consumer<GetConnectPeerAssociationsRequest.Builder> getConnectPeerAssociationsRequest)

      This is a variant of getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsPublisher publisher = client.getConnectPeerAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsPublisher publisher = client.getConnectPeerAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest) operation.


      This is a convenience which creates an instance of the GetConnectPeerAssociationsRequest.Builder avoiding the need to create one manually via GetConnectPeerAssociationsRequest.builder()

      Parameters:
      getConnectPeerAssociationsRequest - A Consumer that will call methods on GetConnectPeerAssociationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConnections

      default CompletableFuture<GetConnectionsResponse> getConnections(GetConnectionsRequest getConnectionsRequest)

      Gets information about one or more of your connections in a global network.

      Parameters:
      getConnectionsRequest -
      Returns:
      A Java Future containing the result of the GetConnections operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConnections

      default CompletableFuture<GetConnectionsResponse> getConnections(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest)

      Gets information about one or more of your connections in a global network.


      This is a convenience which creates an instance of the GetConnectionsRequest.Builder avoiding the need to create one manually via GetConnectionsRequest.builder()

      Parameters:
      getConnectionsRequest - A Consumer that will call methods on GetConnectionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetConnections operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConnectionsPaginator

      default GetConnectionsPublisher getConnectionsPaginator(GetConnectionsRequest getConnectionsRequest)

      This is a variant of getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsPublisher publisher = client.getConnectionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsPublisher publisher = client.getConnectionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest) operation.

      Parameters:
      getConnectionsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConnectionsPaginator

      default GetConnectionsPublisher getConnectionsPaginator(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest)

      This is a variant of getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsPublisher publisher = client.getConnectionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsPublisher publisher = client.getConnectionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest) operation.


      This is a convenience which creates an instance of the GetConnectionsRequest.Builder avoiding the need to create one manually via GetConnectionsRequest.builder()

      Parameters:
      getConnectionsRequest - A Consumer that will call methods on GetConnectionsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCoreNetwork

      default CompletableFuture<GetCoreNetworkResponse> getCoreNetwork(GetCoreNetworkRequest getCoreNetworkRequest)

      Returns information about the LIVE policy for a core network.

      Parameters:
      getCoreNetworkRequest -
      Returns:
      A Java Future containing the result of the GetCoreNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCoreNetwork

      default CompletableFuture<GetCoreNetworkResponse> getCoreNetwork(Consumer<GetCoreNetworkRequest.Builder> getCoreNetworkRequest)

      Returns information about the LIVE policy for a core network.


      This is a convenience which creates an instance of the GetCoreNetworkRequest.Builder avoiding the need to create one manually via GetCoreNetworkRequest.builder()

      Parameters:
      getCoreNetworkRequest - A Consumer that will call methods on GetCoreNetworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetCoreNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCoreNetworkChangeEvents

      default CompletableFuture<GetCoreNetworkChangeEventsResponse> getCoreNetworkChangeEvents(GetCoreNetworkChangeEventsRequest getCoreNetworkChangeEventsRequest)

      Returns information about a core network change event.

      Parameters:
      getCoreNetworkChangeEventsRequest -
      Returns:
      A Java Future containing the result of the GetCoreNetworkChangeEvents operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCoreNetworkChangeEvents

      default CompletableFuture<GetCoreNetworkChangeEventsResponse> getCoreNetworkChangeEvents(Consumer<GetCoreNetworkChangeEventsRequest.Builder> getCoreNetworkChangeEventsRequest)

      Returns information about a core network change event.


      This is a convenience which creates an instance of the GetCoreNetworkChangeEventsRequest.Builder avoiding the need to create one manually via GetCoreNetworkChangeEventsRequest.builder()

      Parameters:
      getCoreNetworkChangeEventsRequest - A Consumer that will call methods on GetCoreNetworkChangeEventsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetCoreNetworkChangeEvents operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCoreNetworkChangeEventsPaginator

      default GetCoreNetworkChangeEventsPublisher getCoreNetworkChangeEventsPaginator(GetCoreNetworkChangeEventsRequest getCoreNetworkChangeEventsRequest)

      This is a variant of getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsPublisher publisher = client.getCoreNetworkChangeEventsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsPublisher publisher = client.getCoreNetworkChangeEventsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest) operation.

      Parameters:
      getCoreNetworkChangeEventsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCoreNetworkChangeEventsPaginator

      default GetCoreNetworkChangeEventsPublisher getCoreNetworkChangeEventsPaginator(Consumer<GetCoreNetworkChangeEventsRequest.Builder> getCoreNetworkChangeEventsRequest)

      This is a variant of getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsPublisher publisher = client.getCoreNetworkChangeEventsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsPublisher publisher = client.getCoreNetworkChangeEventsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest) operation.


      This is a convenience which creates an instance of the GetCoreNetworkChangeEventsRequest.Builder avoiding the need to create one manually via GetCoreNetworkChangeEventsRequest.builder()

      Parameters:
      getCoreNetworkChangeEventsRequest - A Consumer that will call methods on GetCoreNetworkChangeEventsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCoreNetworkChangeSet

      default CompletableFuture<GetCoreNetworkChangeSetResponse> getCoreNetworkChangeSet(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest)

      Returns a change set between the LIVE core network policy and a submitted policy.

      Parameters:
      getCoreNetworkChangeSetRequest -
      Returns:
      A Java Future containing the result of the GetCoreNetworkChangeSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCoreNetworkChangeSet

      default CompletableFuture<GetCoreNetworkChangeSetResponse> getCoreNetworkChangeSet(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest)

      Returns a change set between the LIVE core network policy and a submitted policy.


      This is a convenience which creates an instance of the GetCoreNetworkChangeSetRequest.Builder avoiding the need to create one manually via GetCoreNetworkChangeSetRequest.builder()

      Parameters:
      getCoreNetworkChangeSetRequest - A Consumer that will call methods on GetCoreNetworkChangeSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetCoreNetworkChangeSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCoreNetworkChangeSetPaginator

      default GetCoreNetworkChangeSetPublisher getCoreNetworkChangeSetPaginator(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest)

      This is a variant of getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetPublisher publisher = client.getCoreNetworkChangeSetPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetPublisher publisher = client.getCoreNetworkChangeSetPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest) operation.

      Parameters:
      getCoreNetworkChangeSetRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCoreNetworkChangeSetPaginator

      default GetCoreNetworkChangeSetPublisher getCoreNetworkChangeSetPaginator(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest)

      This is a variant of getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetPublisher publisher = client.getCoreNetworkChangeSetPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetPublisher publisher = client.getCoreNetworkChangeSetPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest) operation.


      This is a convenience which creates an instance of the GetCoreNetworkChangeSetRequest.Builder avoiding the need to create one manually via GetCoreNetworkChangeSetRequest.builder()

      Parameters:
      getCoreNetworkChangeSetRequest - A Consumer that will call methods on GetCoreNetworkChangeSetRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCoreNetworkPolicy

      default CompletableFuture<GetCoreNetworkPolicyResponse> getCoreNetworkPolicy(GetCoreNetworkPolicyRequest getCoreNetworkPolicyRequest)

      Returns details about a core network policy. You can get details about your current live policy or any previous policy version.

      Parameters:
      getCoreNetworkPolicyRequest -
      Returns:
      A Java Future containing the result of the GetCoreNetworkPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCoreNetworkPolicy

      default CompletableFuture<GetCoreNetworkPolicyResponse> getCoreNetworkPolicy(Consumer<GetCoreNetworkPolicyRequest.Builder> getCoreNetworkPolicyRequest)

      Returns details about a core network policy. You can get details about your current live policy or any previous policy version.


      This is a convenience which creates an instance of the GetCoreNetworkPolicyRequest.Builder avoiding the need to create one manually via GetCoreNetworkPolicyRequest.builder()

      Parameters:
      getCoreNetworkPolicyRequest - A Consumer that will call methods on GetCoreNetworkPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetCoreNetworkPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCustomerGatewayAssociations

      default CompletableFuture<GetCustomerGatewayAssociationsResponse> getCustomerGatewayAssociations(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest)

      Gets the association information for customer gateways that are associated with devices and links in your global network.

      Parameters:
      getCustomerGatewayAssociationsRequest -
      Returns:
      A Java Future containing the result of the GetCustomerGatewayAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCustomerGatewayAssociations

      default CompletableFuture<GetCustomerGatewayAssociationsResponse> getCustomerGatewayAssociations(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest)

      Gets the association information for customer gateways that are associated with devices and links in your global network.


      This is a convenience which creates an instance of the GetCustomerGatewayAssociationsRequest.Builder avoiding the need to create one manually via GetCustomerGatewayAssociationsRequest.builder()

      Parameters:
      getCustomerGatewayAssociationsRequest - A Consumer that will call methods on GetCustomerGatewayAssociationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetCustomerGatewayAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCustomerGatewayAssociationsPaginator

      default GetCustomerGatewayAssociationsPublisher getCustomerGatewayAssociationsPaginator(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest)

      This is a variant of getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsPublisher publisher = client.getCustomerGatewayAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsPublisher publisher = client.getCustomerGatewayAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest) operation.

      Parameters:
      getCustomerGatewayAssociationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCustomerGatewayAssociationsPaginator

      default GetCustomerGatewayAssociationsPublisher getCustomerGatewayAssociationsPaginator(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest)

      This is a variant of getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsPublisher publisher = client.getCustomerGatewayAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsPublisher publisher = client.getCustomerGatewayAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest) operation.


      This is a convenience which creates an instance of the GetCustomerGatewayAssociationsRequest.Builder avoiding the need to create one manually via GetCustomerGatewayAssociationsRequest.builder()

      Parameters:
      getCustomerGatewayAssociationsRequest - A Consumer that will call methods on GetCustomerGatewayAssociationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDevices

      default CompletableFuture<GetDevicesResponse> getDevices(GetDevicesRequest getDevicesRequest)

      Gets information about one or more of your devices in a global network.

      Parameters:
      getDevicesRequest -
      Returns:
      A Java Future containing the result of the GetDevices operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDevices

      default CompletableFuture<GetDevicesResponse> getDevices(Consumer<GetDevicesRequest.Builder> getDevicesRequest)

      Gets information about one or more of your devices in a global network.


      This is a convenience which creates an instance of the GetDevicesRequest.Builder avoiding the need to create one manually via GetDevicesRequest.builder()

      Parameters:
      getDevicesRequest - A Consumer that will call methods on GetDevicesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetDevices operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDevicesPaginator

      default GetDevicesPublisher getDevicesPaginator(GetDevicesRequest getDevicesRequest)

      This is a variant of getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetDevicesPublisher publisher = client.getDevicesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetDevicesPublisher publisher = client.getDevicesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest) operation.

      Parameters:
      getDevicesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDevicesPaginator

      default GetDevicesPublisher getDevicesPaginator(Consumer<GetDevicesRequest.Builder> getDevicesRequest)

      This is a variant of getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetDevicesPublisher publisher = client.getDevicesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetDevicesPublisher publisher = client.getDevicesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest) operation.


      This is a convenience which creates an instance of the GetDevicesRequest.Builder avoiding the need to create one manually via GetDevicesRequest.builder()

      Parameters:
      getDevicesRequest - A Consumer that will call methods on GetDevicesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLinkAssociations

      default CompletableFuture<GetLinkAssociationsResponse> getLinkAssociations(GetLinkAssociationsRequest getLinkAssociationsRequest)

      Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.

      Parameters:
      getLinkAssociationsRequest -
      Returns:
      A Java Future containing the result of the GetLinkAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLinkAssociations

      default CompletableFuture<GetLinkAssociationsResponse> getLinkAssociations(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest)

      Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.


      This is a convenience which creates an instance of the GetLinkAssociationsRequest.Builder avoiding the need to create one manually via GetLinkAssociationsRequest.builder()

      Parameters:
      getLinkAssociationsRequest - A Consumer that will call methods on GetLinkAssociationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetLinkAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLinkAssociationsPaginator

      default GetLinkAssociationsPublisher getLinkAssociationsPaginator(GetLinkAssociationsRequest getLinkAssociationsRequest)

      This is a variant of getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsPublisher publisher = client.getLinkAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsPublisher publisher = client.getLinkAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest) operation.

      Parameters:
      getLinkAssociationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLinkAssociationsPaginator

      default GetLinkAssociationsPublisher getLinkAssociationsPaginator(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest)

      This is a variant of getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsPublisher publisher = client.getLinkAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsPublisher publisher = client.getLinkAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest) operation.


      This is a convenience which creates an instance of the GetLinkAssociationsRequest.Builder avoiding the need to create one manually via GetLinkAssociationsRequest.builder()

      Parameters:
      getLinkAssociationsRequest - A Consumer that will call methods on GetLinkAssociationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLinks

      default CompletableFuture<GetLinksResponse> getLinks(GetLinksRequest getLinksRequest)

      Gets information about one or more links in a specified global network.

      If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.

      Parameters:
      getLinksRequest -
      Returns:
      A Java Future containing the result of the GetLinks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLinks

      Gets information about one or more links in a specified global network.

      If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.


      This is a convenience which creates an instance of the GetLinksRequest.Builder avoiding the need to create one manually via GetLinksRequest.builder()

      Parameters:
      getLinksRequest - A Consumer that will call methods on GetLinksRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetLinks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLinksPaginator

      default GetLinksPublisher getLinksPaginator(GetLinksRequest getLinksRequest)

      This is a variant of getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetLinksPublisher publisher = client.getLinksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetLinksPublisher publisher = client.getLinksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetLinksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetLinksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest) operation.

      Parameters:
      getLinksRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLinksPaginator

      default GetLinksPublisher getLinksPaginator(Consumer<GetLinksRequest.Builder> getLinksRequest)

      This is a variant of getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetLinksPublisher publisher = client.getLinksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetLinksPublisher publisher = client.getLinksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetLinksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetLinksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest) operation.


      This is a convenience which creates an instance of the GetLinksRequest.Builder avoiding the need to create one manually via GetLinksRequest.builder()

      Parameters:
      getLinksRequest - A Consumer that will call methods on GetLinksRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkResourceCounts

      default CompletableFuture<GetNetworkResourceCountsResponse> getNetworkResourceCounts(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest)

      Gets the count of network resources, by resource type, for the specified global network.

      Parameters:
      getNetworkResourceCountsRequest -
      Returns:
      A Java Future containing the result of the GetNetworkResourceCounts operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkResourceCounts

      default CompletableFuture<GetNetworkResourceCountsResponse> getNetworkResourceCounts(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest)

      Gets the count of network resources, by resource type, for the specified global network.


      This is a convenience which creates an instance of the GetNetworkResourceCountsRequest.Builder avoiding the need to create one manually via GetNetworkResourceCountsRequest.builder()

      Parameters:
      getNetworkResourceCountsRequest - A Consumer that will call methods on GetNetworkResourceCountsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetNetworkResourceCounts operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkResourceCountsPaginator

      default GetNetworkResourceCountsPublisher getNetworkResourceCountsPaginator(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest)

      This is a variant of getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsPublisher publisher = client.getNetworkResourceCountsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsPublisher publisher = client.getNetworkResourceCountsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest) operation.

      Parameters:
      getNetworkResourceCountsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkResourceCountsPaginator

      default GetNetworkResourceCountsPublisher getNetworkResourceCountsPaginator(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest)

      This is a variant of getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsPublisher publisher = client.getNetworkResourceCountsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsPublisher publisher = client.getNetworkResourceCountsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest) operation.


      This is a convenience which creates an instance of the GetNetworkResourceCountsRequest.Builder avoiding the need to create one manually via GetNetworkResourceCountsRequest.builder()

      Parameters:
      getNetworkResourceCountsRequest - A Consumer that will call methods on GetNetworkResourceCountsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkResourceRelationships

      default CompletableFuture<GetNetworkResourceRelationshipsResponse> getNetworkResourceRelationships(GetNetworkResourceRelationshipsRequest getNetworkResourceRelationshipsRequest)

      Gets the network resource relationships for the specified global network.

      Parameters:
      getNetworkResourceRelationshipsRequest -
      Returns:
      A Java Future containing the result of the GetNetworkResourceRelationships operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkResourceRelationships

      default CompletableFuture<GetNetworkResourceRelationshipsResponse> getNetworkResourceRelationships(Consumer<GetNetworkResourceRelationshipsRequest.Builder> getNetworkResourceRelationshipsRequest)

      Gets the network resource relationships for the specified global network.


      This is a convenience which creates an instance of the GetNetworkResourceRelationshipsRequest.Builder avoiding the need to create one manually via GetNetworkResourceRelationshipsRequest.builder()

      Parameters:
      getNetworkResourceRelationshipsRequest - A Consumer that will call methods on GetNetworkResourceRelationshipsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetNetworkResourceRelationships operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkResourceRelationshipsPaginator

      default GetNetworkResourceRelationshipsPublisher getNetworkResourceRelationshipsPaginator(GetNetworkResourceRelationshipsRequest getNetworkResourceRelationshipsRequest)

      This is a variant of getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsPublisher publisher = client.getNetworkResourceRelationshipsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsPublisher publisher = client.getNetworkResourceRelationshipsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest) operation.

      Parameters:
      getNetworkResourceRelationshipsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkResourceRelationshipsPaginator

      default GetNetworkResourceRelationshipsPublisher getNetworkResourceRelationshipsPaginator(Consumer<GetNetworkResourceRelationshipsRequest.Builder> getNetworkResourceRelationshipsRequest)

      This is a variant of getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsPublisher publisher = client.getNetworkResourceRelationshipsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsPublisher publisher = client.getNetworkResourceRelationshipsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest) operation.


      This is a convenience which creates an instance of the GetNetworkResourceRelationshipsRequest.Builder avoiding the need to create one manually via GetNetworkResourceRelationshipsRequest.builder()

      Parameters:
      getNetworkResourceRelationshipsRequest - A Consumer that will call methods on GetNetworkResourceRelationshipsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkResources

      default CompletableFuture<GetNetworkResourcesResponse> getNetworkResources(GetNetworkResourcesRequest getNetworkResourcesRequest)

      Describes the network resources for the specified global network.

      The results include information from the corresponding Describe call for the resource, minus any sensitive information such as pre-shared keys.

      Parameters:
      getNetworkResourcesRequest -
      Returns:
      A Java Future containing the result of the GetNetworkResources operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkResources

      default CompletableFuture<GetNetworkResourcesResponse> getNetworkResources(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest)

      Describes the network resources for the specified global network.

      The results include information from the corresponding Describe call for the resource, minus any sensitive information such as pre-shared keys.


      This is a convenience which creates an instance of the GetNetworkResourcesRequest.Builder avoiding the need to create one manually via GetNetworkResourcesRequest.builder()

      Parameters:
      getNetworkResourcesRequest - A Consumer that will call methods on GetNetworkResourcesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetNetworkResources operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkResourcesPaginator

      default GetNetworkResourcesPublisher getNetworkResourcesPaginator(GetNetworkResourcesRequest getNetworkResourcesRequest)

      This is a variant of getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesPublisher publisher = client.getNetworkResourcesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesPublisher publisher = client.getNetworkResourcesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest) operation.

      Parameters:
      getNetworkResourcesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkResourcesPaginator

      default GetNetworkResourcesPublisher getNetworkResourcesPaginator(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest)

      This is a variant of getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesPublisher publisher = client.getNetworkResourcesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesPublisher publisher = client.getNetworkResourcesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest) operation.


      This is a convenience which creates an instance of the GetNetworkResourcesRequest.Builder avoiding the need to create one manually via GetNetworkResourcesRequest.builder()

      Parameters:
      getNetworkResourcesRequest - A Consumer that will call methods on GetNetworkResourcesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkRoutes

      default CompletableFuture<GetNetworkRoutesResponse> getNetworkRoutes(GetNetworkRoutesRequest getNetworkRoutesRequest)

      Gets the network routes of the specified global network.

      Parameters:
      getNetworkRoutesRequest -
      Returns:
      A Java Future containing the result of the GetNetworkRoutes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkRoutes

      default CompletableFuture<GetNetworkRoutesResponse> getNetworkRoutes(Consumer<GetNetworkRoutesRequest.Builder> getNetworkRoutesRequest)

      Gets the network routes of the specified global network.


      This is a convenience which creates an instance of the GetNetworkRoutesRequest.Builder avoiding the need to create one manually via GetNetworkRoutesRequest.builder()

      Parameters:
      getNetworkRoutesRequest - A Consumer that will call methods on GetNetworkRoutesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetNetworkRoutes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkTelemetry

      default CompletableFuture<GetNetworkTelemetryResponse> getNetworkTelemetry(GetNetworkTelemetryRequest getNetworkTelemetryRequest)

      Gets the network telemetry of the specified global network.

      Parameters:
      getNetworkTelemetryRequest -
      Returns:
      A Java Future containing the result of the GetNetworkTelemetry operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkTelemetry

      default CompletableFuture<GetNetworkTelemetryResponse> getNetworkTelemetry(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest)

      Gets the network telemetry of the specified global network.


      This is a convenience which creates an instance of the GetNetworkTelemetryRequest.Builder avoiding the need to create one manually via GetNetworkTelemetryRequest.builder()

      Parameters:
      getNetworkTelemetryRequest - A Consumer that will call methods on GetNetworkTelemetryRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetNetworkTelemetry operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkTelemetryPaginator

      default GetNetworkTelemetryPublisher getNetworkTelemetryPaginator(GetNetworkTelemetryRequest getNetworkTelemetryRequest)

      This is a variant of getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryPublisher publisher = client.getNetworkTelemetryPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryPublisher publisher = client.getNetworkTelemetryPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest) operation.

      Parameters:
      getNetworkTelemetryRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkTelemetryPaginator

      default GetNetworkTelemetryPublisher getNetworkTelemetryPaginator(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest)

      This is a variant of getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryPublisher publisher = client.getNetworkTelemetryPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryPublisher publisher = client.getNetworkTelemetryPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest) operation.


      This is a convenience which creates an instance of the GetNetworkTelemetryRequest.Builder avoiding the need to create one manually via GetNetworkTelemetryRequest.builder()

      Parameters:
      getNetworkTelemetryRequest - A Consumer that will call methods on GetNetworkTelemetryRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResourcePolicy

      default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)

      Returns information about a resource policy.

      Parameters:
      getResourcePolicyRequest -
      Returns:
      A Java Future containing the result of the GetResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResourcePolicy

      default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)

      Returns information about a resource policy.


      This is a convenience which creates an instance of the GetResourcePolicyRequest.Builder avoiding the need to create one manually via GetResourcePolicyRequest.builder()

      Parameters:
      getResourcePolicyRequest - A Consumer that will call methods on GetResourcePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRouteAnalysis

      default CompletableFuture<GetRouteAnalysisResponse> getRouteAnalysis(GetRouteAnalysisRequest getRouteAnalysisRequest)

      Gets information about the specified route analysis.

      Parameters:
      getRouteAnalysisRequest -
      Returns:
      A Java Future containing the result of the GetRouteAnalysis operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRouteAnalysis

      default CompletableFuture<GetRouteAnalysisResponse> getRouteAnalysis(Consumer<GetRouteAnalysisRequest.Builder> getRouteAnalysisRequest)

      Gets information about the specified route analysis.


      This is a convenience which creates an instance of the GetRouteAnalysisRequest.Builder avoiding the need to create one manually via GetRouteAnalysisRequest.builder()

      Parameters:
      getRouteAnalysisRequest - A Consumer that will call methods on GetRouteAnalysisRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetRouteAnalysis operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSiteToSiteVpnAttachment

      default CompletableFuture<GetSiteToSiteVpnAttachmentResponse> getSiteToSiteVpnAttachment(GetSiteToSiteVpnAttachmentRequest getSiteToSiteVpnAttachmentRequest)

      Returns information about a site-to-site VPN attachment.

      Parameters:
      getSiteToSiteVpnAttachmentRequest -
      Returns:
      A Java Future containing the result of the GetSiteToSiteVpnAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSiteToSiteVpnAttachment

      default CompletableFuture<GetSiteToSiteVpnAttachmentResponse> getSiteToSiteVpnAttachment(Consumer<GetSiteToSiteVpnAttachmentRequest.Builder> getSiteToSiteVpnAttachmentRequest)

      Returns information about a site-to-site VPN attachment.


      This is a convenience which creates an instance of the GetSiteToSiteVpnAttachmentRequest.Builder avoiding the need to create one manually via GetSiteToSiteVpnAttachmentRequest.builder()

      Parameters:
      getSiteToSiteVpnAttachmentRequest - A Consumer that will call methods on GetSiteToSiteVpnAttachmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetSiteToSiteVpnAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSites

      default CompletableFuture<GetSitesResponse> getSites(GetSitesRequest getSitesRequest)

      Gets information about one or more of your sites in a global network.

      Parameters:
      getSitesRequest -
      Returns:
      A Java Future containing the result of the GetSites operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSites

      Gets information about one or more of your sites in a global network.


      This is a convenience which creates an instance of the GetSitesRequest.Builder avoiding the need to create one manually via GetSitesRequest.builder()

      Parameters:
      getSitesRequest - A Consumer that will call methods on GetSitesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetSites operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSitesPaginator

      default GetSitesPublisher getSitesPaginator(GetSitesRequest getSitesRequest)

      This is a variant of getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetSitesPublisher publisher = client.getSitesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetSitesPublisher publisher = client.getSitesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetSitesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetSitesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest) operation.

      Parameters:
      getSitesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSitesPaginator

      default GetSitesPublisher getSitesPaginator(Consumer<GetSitesRequest.Builder> getSitesRequest)

      This is a variant of getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetSitesPublisher publisher = client.getSitesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetSitesPublisher publisher = client.getSitesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetSitesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetSitesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest) operation.


      This is a convenience which creates an instance of the GetSitesRequest.Builder avoiding the need to create one manually via GetSitesRequest.builder()

      Parameters:
      getSitesRequest - A Consumer that will call methods on GetSitesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTransitGatewayConnectPeerAssociations

      default CompletableFuture<GetTransitGatewayConnectPeerAssociationsResponse> getTransitGatewayConnectPeerAssociations(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest)

      Gets information about one or more of your transit gateway Connect peer associations in a global network.

      Parameters:
      getTransitGatewayConnectPeerAssociationsRequest -
      Returns:
      A Java Future containing the result of the GetTransitGatewayConnectPeerAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTransitGatewayConnectPeerAssociations

      default CompletableFuture<GetTransitGatewayConnectPeerAssociationsResponse> getTransitGatewayConnectPeerAssociations(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest)

      Gets information about one or more of your transit gateway Connect peer associations in a global network.


      This is a convenience which creates an instance of the GetTransitGatewayConnectPeerAssociationsRequest.Builder avoiding the need to create one manually via GetTransitGatewayConnectPeerAssociationsRequest.builder()

      Parameters:
      getTransitGatewayConnectPeerAssociationsRequest - A Consumer that will call methods on GetTransitGatewayConnectPeerAssociationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetTransitGatewayConnectPeerAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTransitGatewayConnectPeerAssociationsPaginator

      default GetTransitGatewayConnectPeerAssociationsPublisher getTransitGatewayConnectPeerAssociationsPaginator(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest)

      This is a variant of getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsPublisher publisher = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsPublisher publisher = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest) operation.

      Parameters:
      getTransitGatewayConnectPeerAssociationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTransitGatewayConnectPeerAssociationsPaginator

      default GetTransitGatewayConnectPeerAssociationsPublisher getTransitGatewayConnectPeerAssociationsPaginator(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest)

      This is a variant of getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsPublisher publisher = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsPublisher publisher = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest) operation.


      This is a convenience which creates an instance of the GetTransitGatewayConnectPeerAssociationsRequest.Builder avoiding the need to create one manually via GetTransitGatewayConnectPeerAssociationsRequest.builder()

      Parameters:
      getTransitGatewayConnectPeerAssociationsRequest - A Consumer that will call methods on GetTransitGatewayConnectPeerAssociationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTransitGatewayPeering

      default CompletableFuture<GetTransitGatewayPeeringResponse> getTransitGatewayPeering(GetTransitGatewayPeeringRequest getTransitGatewayPeeringRequest)

      Returns information about a transit gateway peer.

      Parameters:
      getTransitGatewayPeeringRequest -
      Returns:
      A Java Future containing the result of the GetTransitGatewayPeering operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTransitGatewayPeering

      default CompletableFuture<GetTransitGatewayPeeringResponse> getTransitGatewayPeering(Consumer<GetTransitGatewayPeeringRequest.Builder> getTransitGatewayPeeringRequest)

      Returns information about a transit gateway peer.


      This is a convenience which creates an instance of the GetTransitGatewayPeeringRequest.Builder avoiding the need to create one manually via GetTransitGatewayPeeringRequest.builder()

      Parameters:
      getTransitGatewayPeeringRequest - A Consumer that will call methods on GetTransitGatewayPeeringRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetTransitGatewayPeering operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTransitGatewayRegistrations

      default CompletableFuture<GetTransitGatewayRegistrationsResponse> getTransitGatewayRegistrations(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest)

      Gets information about the transit gateway registrations in a specified global network.

      Parameters:
      getTransitGatewayRegistrationsRequest -
      Returns:
      A Java Future containing the result of the GetTransitGatewayRegistrations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTransitGatewayRegistrations

      default CompletableFuture<GetTransitGatewayRegistrationsResponse> getTransitGatewayRegistrations(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest)

      Gets information about the transit gateway registrations in a specified global network.


      This is a convenience which creates an instance of the GetTransitGatewayRegistrationsRequest.Builder avoiding the need to create one manually via GetTransitGatewayRegistrationsRequest.builder()

      Parameters:
      getTransitGatewayRegistrationsRequest - A Consumer that will call methods on GetTransitGatewayRegistrationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetTransitGatewayRegistrations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTransitGatewayRegistrationsPaginator

      default GetTransitGatewayRegistrationsPublisher getTransitGatewayRegistrationsPaginator(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest)

      This is a variant of getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsPublisher publisher = client.getTransitGatewayRegistrationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsPublisher publisher = client.getTransitGatewayRegistrationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest) operation.

      Parameters:
      getTransitGatewayRegistrationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTransitGatewayRegistrationsPaginator

      default GetTransitGatewayRegistrationsPublisher getTransitGatewayRegistrationsPaginator(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest)

      This is a variant of getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsPublisher publisher = client.getTransitGatewayRegistrationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsPublisher publisher = client.getTransitGatewayRegistrationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest) operation.


      This is a convenience which creates an instance of the GetTransitGatewayRegistrationsRequest.Builder avoiding the need to create one manually via GetTransitGatewayRegistrationsRequest.builder()

      Parameters:
      getTransitGatewayRegistrationsRequest - A Consumer that will call methods on GetTransitGatewayRegistrationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTransitGatewayRouteTableAttachment

      default CompletableFuture<GetTransitGatewayRouteTableAttachmentResponse> getTransitGatewayRouteTableAttachment(GetTransitGatewayRouteTableAttachmentRequest getTransitGatewayRouteTableAttachmentRequest)

      Returns information about a transit gateway route table attachment.

      Parameters:
      getTransitGatewayRouteTableAttachmentRequest -
      Returns:
      A Java Future containing the result of the GetTransitGatewayRouteTableAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTransitGatewayRouteTableAttachment

      default CompletableFuture<GetTransitGatewayRouteTableAttachmentResponse> getTransitGatewayRouteTableAttachment(Consumer<GetTransitGatewayRouteTableAttachmentRequest.Builder> getTransitGatewayRouteTableAttachmentRequest)

      Returns information about a transit gateway route table attachment.


      This is a convenience which creates an instance of the GetTransitGatewayRouteTableAttachmentRequest.Builder avoiding the need to create one manually via GetTransitGatewayRouteTableAttachmentRequest.builder()

      Parameters:
      getTransitGatewayRouteTableAttachmentRequest - A Consumer that will call methods on GetTransitGatewayRouteTableAttachmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetTransitGatewayRouteTableAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getVpcAttachment

      default CompletableFuture<GetVpcAttachmentResponse> getVpcAttachment(GetVpcAttachmentRequest getVpcAttachmentRequest)

      Returns information about a VPC attachment.

      Parameters:
      getVpcAttachmentRequest -
      Returns:
      A Java Future containing the result of the GetVpcAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getVpcAttachment

      default CompletableFuture<GetVpcAttachmentResponse> getVpcAttachment(Consumer<GetVpcAttachmentRequest.Builder> getVpcAttachmentRequest)

      Returns information about a VPC attachment.


      This is a convenience which creates an instance of the GetVpcAttachmentRequest.Builder avoiding the need to create one manually via GetVpcAttachmentRequest.builder()

      Parameters:
      getVpcAttachmentRequest - A Consumer that will call methods on GetVpcAttachmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetVpcAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAttachments

      default CompletableFuture<ListAttachmentsResponse> listAttachments(ListAttachmentsRequest listAttachmentsRequest)

      Returns a list of core network attachments.

      Parameters:
      listAttachmentsRequest -
      Returns:
      A Java Future containing the result of the ListAttachments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAttachments

      default CompletableFuture<ListAttachmentsResponse> listAttachments(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest)

      Returns a list of core network attachments.


      This is a convenience which creates an instance of the ListAttachmentsRequest.Builder avoiding the need to create one manually via ListAttachmentsRequest.builder()

      Parameters:
      listAttachmentsRequest - A Consumer that will call methods on ListAttachmentsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAttachments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAttachmentsPaginator

      default ListAttachmentsPublisher listAttachmentsPaginator(ListAttachmentsRequest listAttachmentsRequest)

      This is a variant of listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsPublisher publisher = client.listAttachmentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsPublisher publisher = client.listAttachmentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListAttachmentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest) operation.

      Parameters:
      listAttachmentsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAttachmentsPaginator

      default ListAttachmentsPublisher listAttachmentsPaginator(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest)

      This is a variant of listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsPublisher publisher = client.listAttachmentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsPublisher publisher = client.listAttachmentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListAttachmentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest) operation.


      This is a convenience which creates an instance of the ListAttachmentsRequest.Builder avoiding the need to create one manually via ListAttachmentsRequest.builder()

      Parameters:
      listAttachmentsRequest - A Consumer that will call methods on ListAttachmentsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listConnectPeers

      default CompletableFuture<ListConnectPeersResponse> listConnectPeers(ListConnectPeersRequest listConnectPeersRequest)

      Returns a list of core network Connect peers.

      Parameters:
      listConnectPeersRequest -
      Returns:
      A Java Future containing the result of the ListConnectPeers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listConnectPeers

      default CompletableFuture<ListConnectPeersResponse> listConnectPeers(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest)

      Returns a list of core network Connect peers.


      This is a convenience which creates an instance of the ListConnectPeersRequest.Builder avoiding the need to create one manually via ListConnectPeersRequest.builder()

      Parameters:
      listConnectPeersRequest - A Consumer that will call methods on ListConnectPeersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListConnectPeers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listConnectPeersPaginator

      default ListConnectPeersPublisher listConnectPeersPaginator(ListConnectPeersRequest listConnectPeersRequest)

      This is a variant of listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersPublisher publisher = client.listConnectPeersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersPublisher publisher = client.listConnectPeersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListConnectPeersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest) operation.

      Parameters:
      listConnectPeersRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listConnectPeersPaginator

      default ListConnectPeersPublisher listConnectPeersPaginator(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest)

      This is a variant of listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersPublisher publisher = client.listConnectPeersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersPublisher publisher = client.listConnectPeersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListConnectPeersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest) operation.


      This is a convenience which creates an instance of the ListConnectPeersRequest.Builder avoiding the need to create one manually via ListConnectPeersRequest.builder()

      Parameters:
      listConnectPeersRequest - A Consumer that will call methods on ListConnectPeersRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCoreNetworkPolicyVersions

      default CompletableFuture<ListCoreNetworkPolicyVersionsResponse> listCoreNetworkPolicyVersions(ListCoreNetworkPolicyVersionsRequest listCoreNetworkPolicyVersionsRequest)

      Returns a list of core network policy versions.

      Parameters:
      listCoreNetworkPolicyVersionsRequest -
      Returns:
      A Java Future containing the result of the ListCoreNetworkPolicyVersions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCoreNetworkPolicyVersions

      default CompletableFuture<ListCoreNetworkPolicyVersionsResponse> listCoreNetworkPolicyVersions(Consumer<ListCoreNetworkPolicyVersionsRequest.Builder> listCoreNetworkPolicyVersionsRequest)

      Returns a list of core network policy versions.


      This is a convenience which creates an instance of the ListCoreNetworkPolicyVersionsRequest.Builder avoiding the need to create one manually via ListCoreNetworkPolicyVersionsRequest.builder()

      Parameters:
      listCoreNetworkPolicyVersionsRequest - A Consumer that will call methods on ListCoreNetworkPolicyVersionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListCoreNetworkPolicyVersions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCoreNetworkPolicyVersionsPaginator

      default ListCoreNetworkPolicyVersionsPublisher listCoreNetworkPolicyVersionsPaginator(ListCoreNetworkPolicyVersionsRequest listCoreNetworkPolicyVersionsRequest)

      This is a variant of listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsPublisher publisher = client.listCoreNetworkPolicyVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsPublisher publisher = client.listCoreNetworkPolicyVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest) operation.

      Parameters:
      listCoreNetworkPolicyVersionsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCoreNetworkPolicyVersionsPaginator

      default ListCoreNetworkPolicyVersionsPublisher listCoreNetworkPolicyVersionsPaginator(Consumer<ListCoreNetworkPolicyVersionsRequest.Builder> listCoreNetworkPolicyVersionsRequest)

      This is a variant of listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsPublisher publisher = client.listCoreNetworkPolicyVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsPublisher publisher = client.listCoreNetworkPolicyVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest) operation.


      This is a convenience which creates an instance of the ListCoreNetworkPolicyVersionsRequest.Builder avoiding the need to create one manually via ListCoreNetworkPolicyVersionsRequest.builder()

      Parameters:
      listCoreNetworkPolicyVersionsRequest - A Consumer that will call methods on ListCoreNetworkPolicyVersionsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCoreNetworks

      default CompletableFuture<ListCoreNetworksResponse> listCoreNetworks(ListCoreNetworksRequest listCoreNetworksRequest)

      Returns a list of owned and shared core networks.

      Parameters:
      listCoreNetworksRequest -
      Returns:
      A Java Future containing the result of the ListCoreNetworks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCoreNetworks

      default CompletableFuture<ListCoreNetworksResponse> listCoreNetworks(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest)

      Returns a list of owned and shared core networks.


      This is a convenience which creates an instance of the ListCoreNetworksRequest.Builder avoiding the need to create one manually via ListCoreNetworksRequest.builder()

      Parameters:
      listCoreNetworksRequest - A Consumer that will call methods on ListCoreNetworksRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListCoreNetworks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCoreNetworksPaginator

      default ListCoreNetworksPublisher listCoreNetworksPaginator(ListCoreNetworksRequest listCoreNetworksRequest)

      This is a variant of listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksPublisher publisher = client.listCoreNetworksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksPublisher publisher = client.listCoreNetworksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest) operation.

      Parameters:
      listCoreNetworksRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCoreNetworksPaginator

      default ListCoreNetworksPublisher listCoreNetworksPaginator(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest)

      This is a variant of listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksPublisher publisher = client.listCoreNetworksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksPublisher publisher = client.listCoreNetworksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest) operation.


      This is a convenience which creates an instance of the ListCoreNetworksRequest.Builder avoiding the need to create one manually via ListCoreNetworksRequest.builder()

      Parameters:
      listCoreNetworksRequest - A Consumer that will call methods on ListCoreNetworksRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOrganizationServiceAccessStatus

      default CompletableFuture<ListOrganizationServiceAccessStatusResponse> listOrganizationServiceAccessStatus(ListOrganizationServiceAccessStatusRequest listOrganizationServiceAccessStatusRequest)

      Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.

      Parameters:
      listOrganizationServiceAccessStatusRequest -
      Returns:
      A Java Future containing the result of the ListOrganizationServiceAccessStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOrganizationServiceAccessStatus

      default CompletableFuture<ListOrganizationServiceAccessStatusResponse> listOrganizationServiceAccessStatus(Consumer<ListOrganizationServiceAccessStatusRequest.Builder> listOrganizationServiceAccessStatusRequest)

      Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.


      This is a convenience which creates an instance of the ListOrganizationServiceAccessStatusRequest.Builder avoiding the need to create one manually via ListOrganizationServiceAccessStatusRequest.builder()

      Parameters:
      listOrganizationServiceAccessStatusRequest - A Consumer that will call methods on ListOrganizationServiceAccessStatusRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListOrganizationServiceAccessStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPeerings

      default CompletableFuture<ListPeeringsResponse> listPeerings(ListPeeringsRequest listPeeringsRequest)

      Lists the peerings for a core network.

      Parameters:
      listPeeringsRequest -
      Returns:
      A Java Future containing the result of the ListPeerings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPeerings

      default CompletableFuture<ListPeeringsResponse> listPeerings(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest)

      Lists the peerings for a core network.


      This is a convenience which creates an instance of the ListPeeringsRequest.Builder avoiding the need to create one manually via ListPeeringsRequest.builder()

      Parameters:
      listPeeringsRequest - A Consumer that will call methods on ListPeeringsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListPeerings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPeeringsPaginator

      default ListPeeringsPublisher listPeeringsPaginator(ListPeeringsRequest listPeeringsRequest)

      This is a variant of listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.ListPeeringsPublisher publisher = client.listPeeringsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.ListPeeringsPublisher publisher = client.listPeeringsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListPeeringsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.ListPeeringsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest) operation.

      Parameters:
      listPeeringsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPeeringsPaginator

      default ListPeeringsPublisher listPeeringsPaginator(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest)

      This is a variant of listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.networkmanager.paginators.ListPeeringsPublisher publisher = client.listPeeringsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.networkmanager.paginators.ListPeeringsPublisher publisher = client.listPeeringsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListPeeringsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.networkmanager.model.ListPeeringsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest) operation.


      This is a convenience which creates an instance of the ListPeeringsRequest.Builder avoiding the need to create one manually via ListPeeringsRequest.builder()

      Parameters:
      listPeeringsRequest - A Consumer that will call methods on ListPeeringsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      Lists the tags for a specified resource.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      Lists the tags for a specified resource.


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putCoreNetworkPolicy

      default CompletableFuture<PutCoreNetworkPolicyResponse> putCoreNetworkPolicy(PutCoreNetworkPolicyRequest putCoreNetworkPolicyRequest)

      Creates a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and the submitted policy.

      Parameters:
      putCoreNetworkPolicyRequest -
      Returns:
      A Java Future containing the result of the PutCoreNetworkPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • CoreNetworkPolicyException Describes a core network policy exception.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putCoreNetworkPolicy

      default CompletableFuture<PutCoreNetworkPolicyResponse> putCoreNetworkPolicy(Consumer<PutCoreNetworkPolicyRequest.Builder> putCoreNetworkPolicyRequest)

      Creates a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and the submitted policy.


      This is a convenience which creates an instance of the PutCoreNetworkPolicyRequest.Builder avoiding the need to create one manually via PutCoreNetworkPolicyRequest.builder()

      Parameters:
      putCoreNetworkPolicyRequest - A Consumer that will call methods on PutCoreNetworkPolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutCoreNetworkPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • CoreNetworkPolicyException Describes a core network policy exception.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putResourcePolicy

      default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)

      Creates or updates a resource policy.

      Parameters:
      putResourcePolicyRequest -
      Returns:
      A Java Future containing the result of the PutResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putResourcePolicy

      default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)

      Creates or updates a resource policy.


      This is a convenience which creates an instance of the PutResourcePolicyRequest.Builder avoiding the need to create one manually via PutResourcePolicyRequest.builder()

      Parameters:
      putResourcePolicyRequest - A Consumer that will call methods on PutResourcePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • registerTransitGateway

      default CompletableFuture<RegisterTransitGatewayResponse> registerTransitGateway(RegisterTransitGatewayRequest registerTransitGatewayRequest)

      Registers a transit gateway in your global network. Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the Amazon Web Services Transit Gateways for Global Networks User Guide. The transit gateway can be in any of the supported Amazon Web Services Regions, but it must be owned by the same Amazon Web Services account that owns the global network. You cannot register a transit gateway in more than one global network.

      Parameters:
      registerTransitGatewayRequest -
      Returns:
      A Java Future containing the result of the RegisterTransitGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • registerTransitGateway

      default CompletableFuture<RegisterTransitGatewayResponse> registerTransitGateway(Consumer<RegisterTransitGatewayRequest.Builder> registerTransitGatewayRequest)

      Registers a transit gateway in your global network. Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the Amazon Web Services Transit Gateways for Global Networks User Guide. The transit gateway can be in any of the supported Amazon Web Services Regions, but it must be owned by the same Amazon Web Services account that owns the global network. You cannot register a transit gateway in more than one global network.


      This is a convenience which creates an instance of the RegisterTransitGatewayRequest.Builder avoiding the need to create one manually via RegisterTransitGatewayRequest.builder()

      Parameters:
      registerTransitGatewayRequest - A Consumer that will call methods on RegisterTransitGatewayRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RegisterTransitGateway operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • rejectAttachment

      default CompletableFuture<RejectAttachmentResponse> rejectAttachment(RejectAttachmentRequest rejectAttachmentRequest)

      Rejects a core network attachment request.

      Parameters:
      rejectAttachmentRequest -
      Returns:
      A Java Future containing the result of the RejectAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • rejectAttachment

      default CompletableFuture<RejectAttachmentResponse> rejectAttachment(Consumer<RejectAttachmentRequest.Builder> rejectAttachmentRequest)

      Rejects a core network attachment request.


      This is a convenience which creates an instance of the RejectAttachmentRequest.Builder avoiding the need to create one manually via RejectAttachmentRequest.builder()

      Parameters:
      rejectAttachmentRequest - A Consumer that will call methods on RejectAttachmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RejectAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • restoreCoreNetworkPolicyVersion

      default CompletableFuture<RestoreCoreNetworkPolicyVersionResponse> restoreCoreNetworkPolicyVersion(RestoreCoreNetworkPolicyVersionRequest restoreCoreNetworkPolicyVersionRequest)

      Restores a previous policy version as a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and restored policy.

      Parameters:
      restoreCoreNetworkPolicyVersionRequest -
      Returns:
      A Java Future containing the result of the RestoreCoreNetworkPolicyVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • restoreCoreNetworkPolicyVersion

      default CompletableFuture<RestoreCoreNetworkPolicyVersionResponse> restoreCoreNetworkPolicyVersion(Consumer<RestoreCoreNetworkPolicyVersionRequest.Builder> restoreCoreNetworkPolicyVersionRequest)

      Restores a previous policy version as a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and restored policy.


      This is a convenience which creates an instance of the RestoreCoreNetworkPolicyVersionRequest.Builder avoiding the need to create one manually via RestoreCoreNetworkPolicyVersionRequest.builder()

      Parameters:
      restoreCoreNetworkPolicyVersionRequest - A Consumer that will call methods on RestoreCoreNetworkPolicyVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RestoreCoreNetworkPolicyVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startOrganizationServiceAccessUpdate

      default CompletableFuture<StartOrganizationServiceAccessUpdateResponse> startOrganizationServiceAccessUpdate(StartOrganizationServiceAccessUpdateRequest startOrganizationServiceAccessUpdateRequest)

      Enables the Network Manager service for an Amazon Web Services Organization. This can only be called by a management account within the organization.

      Parameters:
      startOrganizationServiceAccessUpdateRequest -
      Returns:
      A Java Future containing the result of the StartOrganizationServiceAccessUpdate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startOrganizationServiceAccessUpdate

      default CompletableFuture<StartOrganizationServiceAccessUpdateResponse> startOrganizationServiceAccessUpdate(Consumer<StartOrganizationServiceAccessUpdateRequest.Builder> startOrganizationServiceAccessUpdateRequest)

      Enables the Network Manager service for an Amazon Web Services Organization. This can only be called by a management account within the organization.


      This is a convenience which creates an instance of the StartOrganizationServiceAccessUpdateRequest.Builder avoiding the need to create one manually via StartOrganizationServiceAccessUpdateRequest.builder()

      Parameters:
      startOrganizationServiceAccessUpdateRequest - A Consumer that will call methods on StartOrganizationServiceAccessUpdateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartOrganizationServiceAccessUpdate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startRouteAnalysis

      default CompletableFuture<StartRouteAnalysisResponse> startRouteAnalysis(StartRouteAnalysisRequest startRouteAnalysisRequest)

      Starts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer.

      Parameters:
      startRouteAnalysisRequest -
      Returns:
      A Java Future containing the result of the StartRouteAnalysis operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startRouteAnalysis

      default CompletableFuture<StartRouteAnalysisResponse> startRouteAnalysis(Consumer<StartRouteAnalysisRequest.Builder> startRouteAnalysisRequest)

      Starts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer.


      This is a convenience which creates an instance of the StartRouteAnalysisRequest.Builder avoiding the need to create one manually via StartRouteAnalysisRequest.builder()

      Parameters:
      startRouteAnalysisRequest - A Consumer that will call methods on StartRouteAnalysisRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartRouteAnalysis operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      Tags a specified resource.

      Parameters:
      tagResourceRequest -
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      Tags a specified resource.


      This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      Removes tags from a specified resource.

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      Removes tags from a specified resource.


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateConnection

      default CompletableFuture<UpdateConnectionResponse> updateConnection(UpdateConnectionRequest updateConnectionRequest)

      Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.

      Parameters:
      updateConnectionRequest -
      Returns:
      A Java Future containing the result of the UpdateConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateConnection

      default CompletableFuture<UpdateConnectionResponse> updateConnection(Consumer<UpdateConnectionRequest.Builder> updateConnectionRequest)

      Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.


      This is a convenience which creates an instance of the UpdateConnectionRequest.Builder avoiding the need to create one manually via UpdateConnectionRequest.builder()

      Parameters:
      updateConnectionRequest - A Consumer that will call methods on UpdateConnectionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateCoreNetwork

      default CompletableFuture<UpdateCoreNetworkResponse> updateCoreNetwork(UpdateCoreNetworkRequest updateCoreNetworkRequest)

      Updates the description of a core network.

      Parameters:
      updateCoreNetworkRequest -
      Returns:
      A Java Future containing the result of the UpdateCoreNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateCoreNetwork

      default CompletableFuture<UpdateCoreNetworkResponse> updateCoreNetwork(Consumer<UpdateCoreNetworkRequest.Builder> updateCoreNetworkRequest)

      Updates the description of a core network.


      This is a convenience which creates an instance of the UpdateCoreNetworkRequest.Builder avoiding the need to create one manually via UpdateCoreNetworkRequest.builder()

      Parameters:
      updateCoreNetworkRequest - A Consumer that will call methods on UpdateCoreNetworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateCoreNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateDevice

      default CompletableFuture<UpdateDeviceResponse> updateDevice(UpdateDeviceRequest updateDeviceRequest)

      Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.

      Parameters:
      updateDeviceRequest -
      Returns:
      A Java Future containing the result of the UpdateDevice operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateDevice

      default CompletableFuture<UpdateDeviceResponse> updateDevice(Consumer<UpdateDeviceRequest.Builder> updateDeviceRequest)

      Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.


      This is a convenience which creates an instance of the UpdateDeviceRequest.Builder avoiding the need to create one manually via UpdateDeviceRequest.builder()

      Parameters:
      updateDeviceRequest - A Consumer that will call methods on UpdateDeviceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateDevice operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateGlobalNetwork

      default CompletableFuture<UpdateGlobalNetworkResponse> updateGlobalNetwork(UpdateGlobalNetworkRequest updateGlobalNetworkRequest)

      Updates an existing global network. To remove information for any of the parameters, specify an empty string.

      Parameters:
      updateGlobalNetworkRequest -
      Returns:
      A Java Future containing the result of the UpdateGlobalNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateGlobalNetwork

      default CompletableFuture<UpdateGlobalNetworkResponse> updateGlobalNetwork(Consumer<UpdateGlobalNetworkRequest.Builder> updateGlobalNetworkRequest)

      Updates an existing global network. To remove information for any of the parameters, specify an empty string.


      This is a convenience which creates an instance of the UpdateGlobalNetworkRequest.Builder avoiding the need to create one manually via UpdateGlobalNetworkRequest.builder()

      Parameters:
      updateGlobalNetworkRequest - A Consumer that will call methods on UpdateGlobalNetworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateGlobalNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateLink

      default CompletableFuture<UpdateLinkResponse> updateLink(UpdateLinkRequest updateLinkRequest)

      Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.

      Parameters:
      updateLinkRequest -
      Returns:
      A Java Future containing the result of the UpdateLink operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateLink

      default CompletableFuture<UpdateLinkResponse> updateLink(Consumer<UpdateLinkRequest.Builder> updateLinkRequest)

      Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.


      This is a convenience which creates an instance of the UpdateLinkRequest.Builder avoiding the need to create one manually via UpdateLinkRequest.builder()

      Parameters:
      updateLinkRequest - A Consumer that will call methods on UpdateLinkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateLink operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • ServiceQuotaExceededException A service limit was exceeded.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateNetworkResourceMetadata

      default CompletableFuture<UpdateNetworkResourceMetadataResponse> updateNetworkResourceMetadata(UpdateNetworkResourceMetadataRequest updateNetworkResourceMetadataRequest)

      Updates the resource metadata for the specified global network.

      Parameters:
      updateNetworkResourceMetadataRequest -
      Returns:
      A Java Future containing the result of the UpdateNetworkResourceMetadata operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateNetworkResourceMetadata

      default CompletableFuture<UpdateNetworkResourceMetadataResponse> updateNetworkResourceMetadata(Consumer<UpdateNetworkResourceMetadataRequest.Builder> updateNetworkResourceMetadataRequest)

      Updates the resource metadata for the specified global network.


      This is a convenience which creates an instance of the UpdateNetworkResourceMetadataRequest.Builder avoiding the need to create one manually via UpdateNetworkResourceMetadataRequest.builder()

      Parameters:
      updateNetworkResourceMetadataRequest - A Consumer that will call methods on UpdateNetworkResourceMetadataRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateNetworkResourceMetadata operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSite

      default CompletableFuture<UpdateSiteResponse> updateSite(UpdateSiteRequest updateSiteRequest)

      Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.

      Parameters:
      updateSiteRequest -
      Returns:
      A Java Future containing the result of the UpdateSite operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSite

      default CompletableFuture<UpdateSiteResponse> updateSite(Consumer<UpdateSiteRequest.Builder> updateSiteRequest)

      Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.


      This is a convenience which creates an instance of the UpdateSiteRequest.Builder avoiding the need to create one manually via UpdateSiteRequest.builder()

      Parameters:
      updateSiteRequest - A Consumer that will call methods on UpdateSiteRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateSite operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateVpcAttachment

      default CompletableFuture<UpdateVpcAttachmentResponse> updateVpcAttachment(UpdateVpcAttachmentRequest updateVpcAttachmentRequest)

      Updates a VPC attachment.

      Parameters:
      updateVpcAttachmentRequest -
      Returns:
      A Java Future containing the result of the UpdateVpcAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateVpcAttachment

      default CompletableFuture<UpdateVpcAttachmentResponse> updateVpcAttachment(Consumer<UpdateVpcAttachmentRequest.Builder> updateVpcAttachmentRequest)

      Updates a VPC attachment.


      This is a convenience which creates an instance of the UpdateVpcAttachmentRequest.Builder avoiding the need to create one manually via UpdateVpcAttachmentRequest.builder()

      Parameters:
      updateVpcAttachmentRequest - A Consumer that will call methods on UpdateVpcAttachmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateVpcAttachment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The input fails to satisfy the constraints.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ResourceNotFoundException The specified resource could not be found.
      • ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
      • ThrottlingException The request was denied due to request throttling.
      • InternalServerException The request has failed due to an internal error.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NetworkManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default NetworkManagerServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static NetworkManagerAsyncClient create()
      Create a NetworkManagerAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a NetworkManagerAsyncClient.