Interface MgnAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface MgnAsyncClient extends AwsClient
Service client for accessing mgn 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.

The Application Migration Service service.

  • Field Details

  • Method Details

    • archiveApplication

      default CompletableFuture<ArchiveApplicationResponse> archiveApplication(ArchiveApplicationRequest archiveApplicationRequest)

      Archive application.

      Parameters:
      archiveApplicationRequest -
      Returns:
      A Java Future containing the result of the ArchiveApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • archiveApplication

      default CompletableFuture<ArchiveApplicationResponse> archiveApplication(Consumer<ArchiveApplicationRequest.Builder> archiveApplicationRequest)

      Archive application.


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

      Parameters:
      archiveApplicationRequest - A Consumer that will call methods on ArchiveApplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ArchiveApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • archiveWave

      default CompletableFuture<ArchiveWaveResponse> archiveWave(ArchiveWaveRequest archiveWaveRequest)

      Archive wave.

      Parameters:
      archiveWaveRequest -
      Returns:
      A Java Future containing the result of the ArchiveWave operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • archiveWave

      default CompletableFuture<ArchiveWaveResponse> archiveWave(Consumer<ArchiveWaveRequest.Builder> archiveWaveRequest)

      Archive wave.


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

      Parameters:
      archiveWaveRequest - A Consumer that will call methods on ArchiveWaveRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ArchiveWave operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateApplications

      default CompletableFuture<AssociateApplicationsResponse> associateApplications(AssociateApplicationsRequest associateApplicationsRequest)

      Associate applications to wave.

      Parameters:
      associateApplicationsRequest -
      Returns:
      A Java Future containing the result of the AssociateApplications operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateApplications

      default CompletableFuture<AssociateApplicationsResponse> associateApplications(Consumer<AssociateApplicationsRequest.Builder> associateApplicationsRequest)

      Associate applications to wave.


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

      Parameters:
      associateApplicationsRequest - A Consumer that will call methods on AssociateApplicationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateApplications operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateSourceServers

      default CompletableFuture<AssociateSourceServersResponse> associateSourceServers(AssociateSourceServersRequest associateSourceServersRequest)

      Associate source servers to application.

      Parameters:
      associateSourceServersRequest -
      Returns:
      A Java Future containing the result of the AssociateSourceServers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateSourceServers

      default CompletableFuture<AssociateSourceServersResponse> associateSourceServers(Consumer<AssociateSourceServersRequest.Builder> associateSourceServersRequest)

      Associate source servers to application.


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

      Parameters:
      associateSourceServersRequest - A Consumer that will call methods on AssociateSourceServersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateSourceServers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • changeServerLifeCycleState

      default CompletableFuture<ChangeServerLifeCycleStateResponse> changeServerLifeCycleState(ChangeServerLifeCycleStateRequest changeServerLifeCycleStateRequest)

      Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)

      Parameters:
      changeServerLifeCycleStateRequest -
      Returns:
      A Java Future containing the result of the ChangeServerLifeCycleState operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • changeServerLifeCycleState

      default CompletableFuture<ChangeServerLifeCycleStateResponse> changeServerLifeCycleState(Consumer<ChangeServerLifeCycleStateRequest.Builder> changeServerLifeCycleStateRequest)

      Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)


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

      Parameters:
      changeServerLifeCycleStateRequest - A Consumer that will call methods on ChangeServerLifeCycleStateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ChangeServerLifeCycleState operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createApplication

      default CompletableFuture<CreateApplicationResponse> createApplication(CreateApplicationRequest createApplicationRequest)

      Create application.

      Parameters:
      createApplicationRequest -
      Returns:
      A Java Future containing the result of the CreateApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createApplication

      default CompletableFuture<CreateApplicationResponse> createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)

      Create application.


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

      Parameters:
      createApplicationRequest - A Consumer that will call methods on CreateApplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createConnector

      default CompletableFuture<CreateConnectorResponse> createConnector(CreateConnectorRequest createConnectorRequest)

      Create Connector.

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

      default CompletableFuture<CreateConnectorResponse> createConnector(Consumer<CreateConnectorRequest.Builder> createConnectorRequest)

      Create Connector.


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

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

      default CompletableFuture<CreateLaunchConfigurationTemplateResponse> createLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest createLaunchConfigurationTemplateRequest)

      Creates a new Launch Configuration Template.

      Parameters:
      createLaunchConfigurationTemplateRequest -
      Returns:
      A Java Future containing the result of the CreateLaunchConfigurationTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check 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.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLaunchConfigurationTemplate

      default CompletableFuture<CreateLaunchConfigurationTemplateResponse> createLaunchConfigurationTemplate(Consumer<CreateLaunchConfigurationTemplateRequest.Builder> createLaunchConfigurationTemplateRequest)

      Creates a new Launch Configuration Template.


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

      Parameters:
      createLaunchConfigurationTemplateRequest - A Consumer that will call methods on CreateLaunchConfigurationTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateLaunchConfigurationTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check 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.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createReplicationConfigurationTemplate

      default CompletableFuture<CreateReplicationConfigurationTemplateResponse> createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest)

      Creates a new ReplicationConfigurationTemplate.

      Parameters:
      createReplicationConfigurationTemplateRequest -
      Returns:
      A Java Future containing the result of the CreateReplicationConfigurationTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check 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.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createReplicationConfigurationTemplate

      default CompletableFuture<CreateReplicationConfigurationTemplateResponse> createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest)

      Creates a new ReplicationConfigurationTemplate.


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

      Parameters:
      createReplicationConfigurationTemplateRequest - A Consumer that will call methods on CreateReplicationConfigurationTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateReplicationConfigurationTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check 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.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createWave

      default CompletableFuture<CreateWaveResponse> createWave(CreateWaveRequest createWaveRequest)

      Create wave.

      Parameters:
      createWaveRequest -
      Returns:
      A Java Future containing the result of the CreateWave operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createWave

      default CompletableFuture<CreateWaveResponse> createWave(Consumer<CreateWaveRequest.Builder> createWaveRequest)

      Create wave.


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

      Parameters:
      createWaveRequest - A Consumer that will call methods on CreateWaveRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateWave operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteApplication

      default CompletableFuture<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest deleteApplicationRequest)

      Delete application.

      Parameters:
      deleteApplicationRequest -
      Returns:
      A Java Future containing the result of the DeleteApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteApplication

      default CompletableFuture<DeleteApplicationResponse> deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)

      Delete application.


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

      Parameters:
      deleteApplicationRequest - A Consumer that will call methods on DeleteApplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteConnector

      default CompletableFuture<DeleteConnectorResponse> deleteConnector(DeleteConnectorRequest deleteConnectorRequest)

      Delete Connector.

      Parameters:
      deleteConnectorRequest -
      Returns:
      A Java Future containing the result of the DeleteConnector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteConnector

      default CompletableFuture<DeleteConnectorResponse> deleteConnector(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest)

      Delete Connector.


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

      Parameters:
      deleteConnectorRequest - A Consumer that will call methods on DeleteConnectorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteConnector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteJob

      default CompletableFuture<DeleteJobResponse> deleteJob(DeleteJobRequest deleteJobRequest)

      Deletes a single Job by ID.

      Parameters:
      deleteJobRequest -
      Returns:
      A Java Future containing the result of the DeleteJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteJob

      default CompletableFuture<DeleteJobResponse> deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest)

      Deletes a single Job by ID.


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

      Parameters:
      deleteJobRequest - A Consumer that will call methods on DeleteJobRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLaunchConfigurationTemplate

      default CompletableFuture<DeleteLaunchConfigurationTemplateResponse> deleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest deleteLaunchConfigurationTemplateRequest)

      Deletes a single Launch Configuration Template by ID.

      Parameters:
      deleteLaunchConfigurationTemplateRequest -
      Returns:
      A Java Future containing the result of the DeleteLaunchConfigurationTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLaunchConfigurationTemplate

      default CompletableFuture<DeleteLaunchConfigurationTemplateResponse> deleteLaunchConfigurationTemplate(Consumer<DeleteLaunchConfigurationTemplateRequest.Builder> deleteLaunchConfigurationTemplateRequest)

      Deletes a single Launch Configuration Template by ID.


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

      Parameters:
      deleteLaunchConfigurationTemplateRequest - A Consumer that will call methods on DeleteLaunchConfigurationTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteLaunchConfigurationTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteReplicationConfigurationTemplate

      default CompletableFuture<DeleteReplicationConfigurationTemplateResponse> deleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest)

      Deletes a single Replication Configuration Template by ID

      Parameters:
      deleteReplicationConfigurationTemplateRequest -
      Returns:
      A Java Future containing the result of the DeleteReplicationConfigurationTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteReplicationConfigurationTemplate

      default CompletableFuture<DeleteReplicationConfigurationTemplateResponse> deleteReplicationConfigurationTemplate(Consumer<DeleteReplicationConfigurationTemplateRequest.Builder> deleteReplicationConfigurationTemplateRequest)

      Deletes a single Replication Configuration Template by ID


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

      Parameters:
      deleteReplicationConfigurationTemplateRequest - A Consumer that will call methods on DeleteReplicationConfigurationTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteReplicationConfigurationTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSourceServer

      default CompletableFuture<DeleteSourceServerResponse> deleteSourceServer(DeleteSourceServerRequest deleteSourceServerRequest)

      Deletes a single source server by ID.

      Parameters:
      deleteSourceServerRequest -
      Returns:
      A Java Future containing the result of the DeleteSourceServer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSourceServer

      default CompletableFuture<DeleteSourceServerResponse> deleteSourceServer(Consumer<DeleteSourceServerRequest.Builder> deleteSourceServerRequest)

      Deletes a single source server by ID.


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

      Parameters:
      deleteSourceServerRequest - A Consumer that will call methods on DeleteSourceServerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteSourceServer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteVcenterClient

      default CompletableFuture<DeleteVcenterClientResponse> deleteVcenterClient(DeleteVcenterClientRequest deleteVcenterClientRequest)

      Deletes a given vCenter client by ID.

      Parameters:
      deleteVcenterClientRequest -
      Returns:
      A Java Future containing the result of the DeleteVcenterClient operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteVcenterClient

      default CompletableFuture<DeleteVcenterClientResponse> deleteVcenterClient(Consumer<DeleteVcenterClientRequest.Builder> deleteVcenterClientRequest)

      Deletes a given vCenter client by ID.


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

      Parameters:
      deleteVcenterClientRequest - A Consumer that will call methods on DeleteVcenterClientRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteVcenterClient operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteWave

      default CompletableFuture<DeleteWaveResponse> deleteWave(DeleteWaveRequest deleteWaveRequest)

      Delete wave.

      Parameters:
      deleteWaveRequest -
      Returns:
      A Java Future containing the result of the DeleteWave operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteWave

      default CompletableFuture<DeleteWaveResponse> deleteWave(Consumer<DeleteWaveRequest.Builder> deleteWaveRequest)

      Delete wave.


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

      Parameters:
      deleteWaveRequest - A Consumer that will call methods on DeleteWaveRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteWave operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeJobLogItems

      default CompletableFuture<DescribeJobLogItemsResponse> describeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest)

      Retrieves detailed job log items with paging.

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

      default CompletableFuture<DescribeJobLogItemsResponse> describeJobLogItems(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest)

      Retrieves detailed job log items with paging.


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

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

      default DescribeJobLogItemsPublisher describeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest)

      This is a variant of describeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest) 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.mgn.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsResponse 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 describeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest) operation.

      Parameters:
      describeJobLogItemsRequest -
      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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeJobLogItemsPaginator

      default DescribeJobLogItemsPublisher describeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest)

      This is a variant of describeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest) 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.mgn.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsResponse 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 describeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest) operation.


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

      Parameters:
      describeJobLogItemsRequest - A Consumer that will call methods on DescribeJobLogItemsRequest.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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeJobs

      default CompletableFuture<DescribeJobsResponse> describeJobs(DescribeJobsRequest describeJobsRequest)

      Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normally created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.

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

      default CompletableFuture<DescribeJobsResponse> describeJobs(Consumer<DescribeJobsRequest.Builder> describeJobsRequest)

      Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normally created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.


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

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

      default DescribeJobsPublisher describeJobsPaginator(DescribeJobsRequest describeJobsRequest)

      This is a variant of describeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest) 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.mgn.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.DescribeJobsResponse 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 describeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest) operation.

      Parameters:
      describeJobsRequest -
      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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeJobsPaginator

      default DescribeJobsPublisher describeJobsPaginator(Consumer<DescribeJobsRequest.Builder> describeJobsRequest)

      This is a variant of describeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest) 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.mgn.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.DescribeJobsResponse 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 describeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest) operation.


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

      Parameters:
      describeJobsRequest - A Consumer that will call methods on DescribeJobsRequest.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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeLaunchConfigurationTemplates

      default CompletableFuture<DescribeLaunchConfigurationTemplatesResponse> describeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest)

      Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs

      Parameters:
      describeLaunchConfigurationTemplatesRequest -
      Returns:
      A Java Future containing the result of the DescribeLaunchConfigurationTemplates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeLaunchConfigurationTemplates

      default CompletableFuture<DescribeLaunchConfigurationTemplatesResponse> describeLaunchConfigurationTemplates(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest)

      Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs


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

      Parameters:
      describeLaunchConfigurationTemplatesRequest - A Consumer that will call methods on DescribeLaunchConfigurationTemplatesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeLaunchConfigurationTemplates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeLaunchConfigurationTemplatesPaginator

      default DescribeLaunchConfigurationTemplatesPublisher describeLaunchConfigurationTemplatesPaginator(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest)

      This is a variant of describeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest) 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.mgn.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesResponse 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 describeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest) operation.

      Parameters:
      describeLaunchConfigurationTemplatesRequest -
      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.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeLaunchConfigurationTemplatesPaginator

      default DescribeLaunchConfigurationTemplatesPublisher describeLaunchConfigurationTemplatesPaginator(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest)

      This is a variant of describeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest) 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.mgn.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesResponse 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 describeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest) operation.


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

      Parameters:
      describeLaunchConfigurationTemplatesRequest - A Consumer that will call methods on DescribeLaunchConfigurationTemplatesRequest.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.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeReplicationConfigurationTemplates

      default CompletableFuture<DescribeReplicationConfigurationTemplatesResponse> describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest)

      Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.

      Parameters:
      describeReplicationConfigurationTemplatesRequest -
      Returns:
      A Java Future containing the result of the DescribeReplicationConfigurationTemplates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeReplicationConfigurationTemplates

      default CompletableFuture<DescribeReplicationConfigurationTemplatesResponse> describeReplicationConfigurationTemplates(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest)

      Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.


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

      Parameters:
      describeReplicationConfigurationTemplatesRequest - A Consumer that will call methods on DescribeReplicationConfigurationTemplatesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeReplicationConfigurationTemplates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeReplicationConfigurationTemplatesPaginator

      default DescribeReplicationConfigurationTemplatesPublisher describeReplicationConfigurationTemplatesPaginator(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest)

      This is a variant of describeReplicationConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesRequest) 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.mgn.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesResponse 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 describeReplicationConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesRequest) operation.

      Parameters:
      describeReplicationConfigurationTemplatesRequest -
      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.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeReplicationConfigurationTemplatesPaginator

      default DescribeReplicationConfigurationTemplatesPublisher describeReplicationConfigurationTemplatesPaginator(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest)

      This is a variant of describeReplicationConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesRequest) 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.mgn.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesResponse 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 describeReplicationConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesRequest) operation.


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

      Parameters:
      describeReplicationConfigurationTemplatesRequest - A Consumer that will call methods on DescribeReplicationConfigurationTemplatesRequest.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.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSourceServers

      default CompletableFuture<DescribeSourceServersResponse> describeSourceServers(DescribeSourceServersRequest describeSourceServersRequest)

      Retrieves all SourceServers or multiple SourceServers by ID.

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

      default CompletableFuture<DescribeSourceServersResponse> describeSourceServers(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest)

      Retrieves all SourceServers or multiple SourceServers by ID.


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

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

      default DescribeSourceServersPublisher describeSourceServersPaginator(DescribeSourceServersRequest describeSourceServersRequest)

      This is a variant of describeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest) 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.mgn.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeSourceServersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.DescribeSourceServersResponse 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 describeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest) operation.

      Parameters:
      describeSourceServersRequest -
      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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSourceServersPaginator

      default DescribeSourceServersPublisher describeSourceServersPaginator(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest)

      This is a variant of describeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest) 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.mgn.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeSourceServersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.DescribeSourceServersResponse 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 describeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest) operation.


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

      Parameters:
      describeSourceServersRequest - A Consumer that will call methods on DescribeSourceServersRequest.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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeVcenterClients

      default CompletableFuture<DescribeVcenterClientsResponse> describeVcenterClients(DescribeVcenterClientsRequest describeVcenterClientsRequest)

      Returns a list of the installed vCenter clients.

      Parameters:
      describeVcenterClientsRequest -
      Returns:
      A Java Future containing the result of the DescribeVcenterClients operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeVcenterClients

      default CompletableFuture<DescribeVcenterClientsResponse> describeVcenterClients(Consumer<DescribeVcenterClientsRequest.Builder> describeVcenterClientsRequest)

      Returns a list of the installed vCenter clients.


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

      Parameters:
      describeVcenterClientsRequest - A Consumer that will call methods on DescribeVcenterClientsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeVcenterClients operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeVcenterClientsPaginator

      default DescribeVcenterClientsPublisher describeVcenterClientsPaginator(DescribeVcenterClientsRequest describeVcenterClientsRequest)

      This is a variant of describeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest) 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.mgn.paginators.DescribeVcenterClientsPublisher publisher = client.describeVcenterClientsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsPublisher publisher = client.describeVcenterClientsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsResponse 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 describeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest) operation.

      Parameters:
      describeVcenterClientsRequest -
      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.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeVcenterClientsPaginator

      default DescribeVcenterClientsPublisher describeVcenterClientsPaginator(Consumer<DescribeVcenterClientsRequest.Builder> describeVcenterClientsRequest)

      This is a variant of describeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest) 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.mgn.paginators.DescribeVcenterClientsPublisher publisher = client.describeVcenterClientsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsPublisher publisher = client.describeVcenterClientsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsResponse 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 describeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest) operation.


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

      Parameters:
      describeVcenterClientsRequest - A Consumer that will call methods on DescribeVcenterClientsRequest.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.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateApplications

      default CompletableFuture<DisassociateApplicationsResponse> disassociateApplications(DisassociateApplicationsRequest disassociateApplicationsRequest)

      Disassociate applications from wave.

      Parameters:
      disassociateApplicationsRequest -
      Returns:
      A Java Future containing the result of the DisassociateApplications operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateApplications

      default CompletableFuture<DisassociateApplicationsResponse> disassociateApplications(Consumer<DisassociateApplicationsRequest.Builder> disassociateApplicationsRequest)

      Disassociate applications from wave.


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

      Parameters:
      disassociateApplicationsRequest - A Consumer that will call methods on DisassociateApplicationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateApplications operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateSourceServers

      default CompletableFuture<DisassociateSourceServersResponse> disassociateSourceServers(DisassociateSourceServersRequest disassociateSourceServersRequest)

      Disassociate source servers from application.

      Parameters:
      disassociateSourceServersRequest -
      Returns:
      A Java Future containing the result of the DisassociateSourceServers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateSourceServers

      default CompletableFuture<DisassociateSourceServersResponse> disassociateSourceServers(Consumer<DisassociateSourceServersRequest.Builder> disassociateSourceServersRequest)

      Disassociate source servers from application.


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

      Parameters:
      disassociateSourceServersRequest - A Consumer that will call methods on DisassociateSourceServersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateSourceServers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disconnectFromService

      default CompletableFuture<DisconnectFromServiceResponse> disconnectFromService(DisconnectFromServiceRequest disconnectFromServiceRequest)

      Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communicating with the Application Migration Service service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.

      Parameters:
      disconnectFromServiceRequest -
      Returns:
      A Java Future containing the result of the DisconnectFromService operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disconnectFromService

      default CompletableFuture<DisconnectFromServiceResponse> disconnectFromService(Consumer<DisconnectFromServiceRequest.Builder> disconnectFromServiceRequest)

      Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communicating with the Application Migration Service service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.


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

      Parameters:
      disconnectFromServiceRequest - A Consumer that will call methods on DisconnectFromServiceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisconnectFromService operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • finalizeCutover

      default CompletableFuture<FinalizeCutoverResponse> finalizeCutover(FinalizeCutoverRequest finalizeCutoverRequest)

      Finalizes the cutover immediately for specific Source Servers. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be changed to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property fo each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.

      Parameters:
      finalizeCutoverRequest -
      Returns:
      A Java Future containing the result of the FinalizeCutover operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • finalizeCutover

      default CompletableFuture<FinalizeCutoverResponse> finalizeCutover(Consumer<FinalizeCutoverRequest.Builder> finalizeCutoverRequest)

      Finalizes the cutover immediately for specific Source Servers. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be changed to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property fo each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.


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

      Parameters:
      finalizeCutoverRequest - A Consumer that will call methods on FinalizeCutoverRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the FinalizeCutover operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLaunchConfiguration

      default CompletableFuture<GetLaunchConfigurationResponse> getLaunchConfiguration(GetLaunchConfigurationRequest getLaunchConfigurationRequest)

      Lists all LaunchConfigurations available, filtered by Source Server IDs.

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

      default CompletableFuture<GetLaunchConfigurationResponse> getLaunchConfiguration(Consumer<GetLaunchConfigurationRequest.Builder> getLaunchConfigurationRequest)

      Lists all LaunchConfigurations available, filtered by Source Server IDs.


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

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

      default CompletableFuture<GetReplicationConfigurationResponse> getReplicationConfiguration(GetReplicationConfigurationRequest getReplicationConfigurationRequest)

      Lists all ReplicationConfigurations, filtered by Source Server ID.

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

      default CompletableFuture<GetReplicationConfigurationResponse> getReplicationConfiguration(Consumer<GetReplicationConfigurationRequest.Builder> getReplicationConfigurationRequest)

      Lists all ReplicationConfigurations, filtered by Source Server ID.


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

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

      default CompletableFuture<InitializeServiceResponse> initializeService(InitializeServiceRequest initializeServiceRequest)

      Initialize Application Migration Service.

      Parameters:
      initializeServiceRequest -
      Returns:
      A Java Future containing the result of the InitializeService operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check 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.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • initializeService

      default CompletableFuture<InitializeServiceResponse> initializeService(Consumer<InitializeServiceRequest.Builder> initializeServiceRequest)

      Initialize Application Migration Service.


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

      Parameters:
      initializeServiceRequest - A Consumer that will call methods on InitializeServiceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the InitializeService operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check 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.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApplications

      default CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest listApplicationsRequest)

      Retrieves all applications or multiple applications by ID.

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

      default CompletableFuture<ListApplicationsResponse> listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)

      Retrieves all applications or multiple applications by ID.


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

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

      default ListApplicationsPublisher listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)

      This is a variant of listApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest) 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.mgn.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListApplicationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListApplicationsResponse 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 listApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest) operation.

      Parameters:
      listApplicationsRequest -
      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.
      • UninitializedAccountException Uninitialized account exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApplicationsPaginator

      default ListApplicationsPublisher listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)

      This is a variant of listApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest) 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.mgn.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListApplicationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListApplicationsResponse 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 listApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest) operation.


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

      Parameters:
      listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.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.
      • UninitializedAccountException Uninitialized account exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listConnectors

      default CompletableFuture<ListConnectorsResponse> listConnectors(ListConnectorsRequest listConnectorsRequest)

      List Connectors.

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

      default CompletableFuture<ListConnectorsResponse> listConnectors(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest)

      List Connectors.


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

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

      default ListConnectorsPublisher listConnectorsPaginator(ListConnectorsRequest listConnectorsRequest)

      This is a variant of listConnectors(software.amazon.awssdk.services.mgn.model.ListConnectorsRequest) 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.mgn.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListConnectorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListConnectorsResponse 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 listConnectors(software.amazon.awssdk.services.mgn.model.ListConnectorsRequest) operation.

      Parameters:
      listConnectorsRequest -
      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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listConnectorsPaginator

      default ListConnectorsPublisher listConnectorsPaginator(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest)

      This is a variant of listConnectors(software.amazon.awssdk.services.mgn.model.ListConnectorsRequest) 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.mgn.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListConnectorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListConnectorsResponse 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 listConnectors(software.amazon.awssdk.services.mgn.model.ListConnectorsRequest) operation.


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

      Parameters:
      listConnectorsRequest - A Consumer that will call methods on ListConnectorsRequest.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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExportErrors

      default CompletableFuture<ListExportErrorsResponse> listExportErrors(ListExportErrorsRequest listExportErrorsRequest)

      List export errors.

      Parameters:
      listExportErrorsRequest - List export errors request.
      Returns:
      A Java Future containing the result of the ListExportErrors operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExportErrors

      default CompletableFuture<ListExportErrorsResponse> listExportErrors(Consumer<ListExportErrorsRequest.Builder> listExportErrorsRequest)

      List export errors.


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

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

      default ListExportErrorsPublisher listExportErrorsPaginator(ListExportErrorsRequest listExportErrorsRequest)

      This is a variant of listExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest) 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.mgn.paginators.ListExportErrorsPublisher publisher = client.listExportErrorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListExportErrorsPublisher publisher = client.listExportErrorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListExportErrorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListExportErrorsResponse 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 listExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest) operation.

      Parameters:
      listExportErrorsRequest - List export errors 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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExportErrorsPaginator

      default ListExportErrorsPublisher listExportErrorsPaginator(Consumer<ListExportErrorsRequest.Builder> listExportErrorsRequest)

      This is a variant of listExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest) 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.mgn.paginators.ListExportErrorsPublisher publisher = client.listExportErrorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListExportErrorsPublisher publisher = client.listExportErrorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListExportErrorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListExportErrorsResponse 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 listExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest) operation.


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

      Parameters:
      listExportErrorsRequest - A Consumer that will call methods on ListExportErrorsRequest.Builder to create a request. List export errors 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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExports

      default CompletableFuture<ListExportsResponse> listExports(ListExportsRequest listExportsRequest)

      List exports.

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

      default CompletableFuture<ListExportsResponse> listExports(Consumer<ListExportsRequest.Builder> listExportsRequest)

      List exports.


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

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

      default ListExportsPublisher listExportsPaginator(ListExportsRequest listExportsRequest)

      This is a variant of listExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest) 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.mgn.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListExportsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListExportsResponse 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 listExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest) operation.

      Parameters:
      listExportsRequest - List export 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.
      • UninitializedAccountException Uninitialized account exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExportsPaginator

      default ListExportsPublisher listExportsPaginator(Consumer<ListExportsRequest.Builder> listExportsRequest)

      This is a variant of listExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest) 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.mgn.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListExportsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListExportsResponse 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 listExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest) operation.


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

      Parameters:
      listExportsRequest - A Consumer that will call methods on ListExportsRequest.Builder to create a request. List export 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.
      • UninitializedAccountException Uninitialized account exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listImportErrors

      default CompletableFuture<ListImportErrorsResponse> listImportErrors(ListImportErrorsRequest listImportErrorsRequest)

      List import errors.

      Parameters:
      listImportErrorsRequest - List import errors request.
      Returns:
      A Java Future containing the result of the ListImportErrors operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listImportErrors

      default CompletableFuture<ListImportErrorsResponse> listImportErrors(Consumer<ListImportErrorsRequest.Builder> listImportErrorsRequest)

      List import errors.


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

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

      default ListImportErrorsPublisher listImportErrorsPaginator(ListImportErrorsRequest listImportErrorsRequest)

      This is a variant of listImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest) 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.mgn.paginators.ListImportErrorsPublisher publisher = client.listImportErrorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListImportErrorsPublisher publisher = client.listImportErrorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListImportErrorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListImportErrorsResponse 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 listImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest) operation.

      Parameters:
      listImportErrorsRequest - List import errors 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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listImportErrorsPaginator

      default ListImportErrorsPublisher listImportErrorsPaginator(Consumer<ListImportErrorsRequest.Builder> listImportErrorsRequest)

      This is a variant of listImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest) 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.mgn.paginators.ListImportErrorsPublisher publisher = client.listImportErrorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListImportErrorsPublisher publisher = client.listImportErrorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListImportErrorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListImportErrorsResponse 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 listImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest) operation.


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

      Parameters:
      listImportErrorsRequest - A Consumer that will call methods on ListImportErrorsRequest.Builder to create a request. List import errors 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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listImports

      default CompletableFuture<ListImportsResponse> listImports(ListImportsRequest listImportsRequest)

      List imports.

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

      default CompletableFuture<ListImportsResponse> listImports(Consumer<ListImportsRequest.Builder> listImportsRequest)

      List imports.


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

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

      default ListImportsPublisher listImportsPaginator(ListImportsRequest listImportsRequest)

      This is a variant of listImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest) 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.mgn.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListImportsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListImportsResponse 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 listImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest) operation.

      Parameters:
      listImportsRequest - List imports 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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listImportsPaginator

      default ListImportsPublisher listImportsPaginator(Consumer<ListImportsRequest.Builder> listImportsRequest)

      This is a variant of listImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest) 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.mgn.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListImportsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListImportsResponse 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 listImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest) operation.


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

      Parameters:
      listImportsRequest - A Consumer that will call methods on ListImportsRequest.Builder to create a request. List imports 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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listManagedAccounts

      default CompletableFuture<ListManagedAccountsResponse> listManagedAccounts(ListManagedAccountsRequest listManagedAccountsRequest)

      List Managed Accounts.

      Parameters:
      listManagedAccountsRequest - List managed accounts request.
      Returns:
      A Java Future containing the result of the ListManagedAccounts operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listManagedAccounts

      default CompletableFuture<ListManagedAccountsResponse> listManagedAccounts(Consumer<ListManagedAccountsRequest.Builder> listManagedAccountsRequest)

      List Managed Accounts.


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

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

      default ListManagedAccountsPublisher listManagedAccountsPaginator(ListManagedAccountsRequest listManagedAccountsRequest)

      This is a variant of listManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest) 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.mgn.paginators.ListManagedAccountsPublisher publisher = client.listManagedAccountsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListManagedAccountsPublisher publisher = client.listManagedAccountsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListManagedAccountsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListManagedAccountsResponse 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 listManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest) operation.

      Parameters:
      listManagedAccountsRequest - List managed accounts 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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listManagedAccountsPaginator

      default ListManagedAccountsPublisher listManagedAccountsPaginator(Consumer<ListManagedAccountsRequest.Builder> listManagedAccountsRequest)

      This is a variant of listManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest) 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.mgn.paginators.ListManagedAccountsPublisher publisher = client.listManagedAccountsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListManagedAccountsPublisher publisher = client.listManagedAccountsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListManagedAccountsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListManagedAccountsResponse 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 listManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest) operation.


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

      Parameters:
      listManagedAccountsRequest - A Consumer that will call methods on ListManagedAccountsRequest.Builder to create a request. List managed accounts 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.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSourceServerActions

      default CompletableFuture<ListSourceServerActionsResponse> listSourceServerActions(ListSourceServerActionsRequest listSourceServerActionsRequest)

      List source server post migration custom actions.

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

      default CompletableFuture<ListSourceServerActionsResponse> listSourceServerActions(Consumer<ListSourceServerActionsRequest.Builder> listSourceServerActionsRequest)

      List source server post migration custom actions.


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

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

      default ListSourceServerActionsPublisher listSourceServerActionsPaginator(ListSourceServerActionsRequest listSourceServerActionsRequest)

      This is a variant of listSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest) 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.mgn.paginators.ListSourceServerActionsPublisher publisher = client.listSourceServerActionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsPublisher publisher = client.listSourceServerActionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListSourceServerActionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsResponse 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 listSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest) operation.

      Parameters:
      listSourceServerActionsRequest -
      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.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSourceServerActionsPaginator

      default ListSourceServerActionsPublisher listSourceServerActionsPaginator(Consumer<ListSourceServerActionsRequest.Builder> listSourceServerActionsRequest)

      This is a variant of listSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest) 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.mgn.paginators.ListSourceServerActionsPublisher publisher = client.listSourceServerActionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsPublisher publisher = client.listSourceServerActionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListSourceServerActionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsResponse 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 listSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest) operation.


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

      Parameters:
      listSourceServerActionsRequest - A Consumer that will call methods on ListSourceServerActionsRequest.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.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException 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)

      List all tags for your Application Migration Service resources.

      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.
      • ResourceNotFoundException Resource not found exception.
      • ThrottlingException Reached throttling quota exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check error.
      • InternalServerException The server encountered an unexpected condition that prevented it from fulfilling the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException 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)

      List all tags for your Application Migration Service resources.


      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.
      • ResourceNotFoundException Resource not found exception.
      • ThrottlingException Reached throttling quota exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check error.
      • InternalServerException The server encountered an unexpected condition that prevented it from fulfilling the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTemplateActions

      default CompletableFuture<ListTemplateActionsResponse> listTemplateActions(ListTemplateActionsRequest listTemplateActionsRequest)

      List template post migration custom actions.

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

      default CompletableFuture<ListTemplateActionsResponse> listTemplateActions(Consumer<ListTemplateActionsRequest.Builder> listTemplateActionsRequest)

      List template post migration custom actions.


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

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

      default ListTemplateActionsPublisher listTemplateActionsPaginator(ListTemplateActionsRequest listTemplateActionsRequest)

      This is a variant of listTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest) 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.mgn.paginators.ListTemplateActionsPublisher publisher = client.listTemplateActionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListTemplateActionsPublisher publisher = client.listTemplateActionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListTemplateActionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListTemplateActionsResponse 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 listTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest) operation.

      Parameters:
      listTemplateActionsRequest -
      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.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTemplateActionsPaginator

      default ListTemplateActionsPublisher listTemplateActionsPaginator(Consumer<ListTemplateActionsRequest.Builder> listTemplateActionsRequest)

      This is a variant of listTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest) 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.mgn.paginators.ListTemplateActionsPublisher publisher = client.listTemplateActionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListTemplateActionsPublisher publisher = client.listTemplateActionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListTemplateActionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListTemplateActionsResponse 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 listTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest) operation.


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

      Parameters:
      listTemplateActionsRequest - A Consumer that will call methods on ListTemplateActionsRequest.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.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWaves

      default CompletableFuture<ListWavesResponse> listWaves(ListWavesRequest listWavesRequest)

      Retrieves all waves or multiple waves by ID.

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

      default CompletableFuture<ListWavesResponse> listWaves(Consumer<ListWavesRequest.Builder> listWavesRequest)

      Retrieves all waves or multiple waves by ID.


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

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

      default ListWavesPublisher listWavesPaginator(ListWavesRequest listWavesRequest)

      This is a variant of listWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest) 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.mgn.paginators.ListWavesPublisher publisher = client.listWavesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListWavesPublisher publisher = client.listWavesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListWavesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListWavesResponse 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 listWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest) operation.

      Parameters:
      listWavesRequest -
      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.
      • UninitializedAccountException Uninitialized account exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWavesPaginator

      default ListWavesPublisher listWavesPaginator(Consumer<ListWavesRequest.Builder> listWavesRequest)

      This is a variant of listWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest) 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.mgn.paginators.ListWavesPublisher publisher = client.listWavesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.mgn.paginators.ListWavesPublisher publisher = client.listWavesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListWavesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.mgn.model.ListWavesResponse 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 listWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest) operation.


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

      Parameters:
      listWavesRequest - A Consumer that will call methods on ListWavesRequest.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.
      • UninitializedAccountException Uninitialized account exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • markAsArchived

      default CompletableFuture<MarkAsArchivedResponse> markAsArchived(MarkAsArchivedRequest markAsArchivedRequest)

      Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID. This command only works for SourceServers with a lifecycle. state which equals DISCONNECTED or CUTOVER.

      Parameters:
      markAsArchivedRequest -
      Returns:
      A Java Future containing the result of the MarkAsArchived operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • markAsArchived

      default CompletableFuture<MarkAsArchivedResponse> markAsArchived(Consumer<MarkAsArchivedRequest.Builder> markAsArchivedRequest)

      Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID. This command only works for SourceServers with a lifecycle. state which equals DISCONNECTED or CUTOVER.


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

      Parameters:
      markAsArchivedRequest - A Consumer that will call methods on MarkAsArchivedRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the MarkAsArchived operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • pauseReplication

      default CompletableFuture<PauseReplicationResponse> pauseReplication(PauseReplicationRequest pauseReplicationRequest)

      Pause Replication.

      Parameters:
      pauseReplicationRequest -
      Returns:
      A Java Future containing the result of the PauseReplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • pauseReplication

      default CompletableFuture<PauseReplicationResponse> pauseReplication(Consumer<PauseReplicationRequest.Builder> pauseReplicationRequest)

      Pause Replication.


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

      Parameters:
      pauseReplicationRequest - A Consumer that will call methods on PauseReplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PauseReplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putSourceServerAction

      default CompletableFuture<PutSourceServerActionResponse> putSourceServerAction(PutSourceServerActionRequest putSourceServerActionRequest)

      Put source server post migration custom action.

      Parameters:
      putSourceServerActionRequest -
      Returns:
      A Java Future containing the result of the PutSourceServerAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putSourceServerAction

      default CompletableFuture<PutSourceServerActionResponse> putSourceServerAction(Consumer<PutSourceServerActionRequest.Builder> putSourceServerActionRequest)

      Put source server post migration custom action.


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

      Parameters:
      putSourceServerActionRequest - A Consumer that will call methods on PutSourceServerActionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutSourceServerAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putTemplateAction

      default CompletableFuture<PutTemplateActionResponse> putTemplateAction(PutTemplateActionRequest putTemplateActionRequest)

      Put template post migration custom action.

      Parameters:
      putTemplateActionRequest -
      Returns:
      A Java Future containing the result of the PutTemplateAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putTemplateAction

      default CompletableFuture<PutTemplateActionResponse> putTemplateAction(Consumer<PutTemplateActionRequest.Builder> putTemplateActionRequest)

      Put template post migration custom action.


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

      Parameters:
      putTemplateActionRequest - A Consumer that will call methods on PutTemplateActionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PutTemplateAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeSourceServerAction

      default CompletableFuture<RemoveSourceServerActionResponse> removeSourceServerAction(RemoveSourceServerActionRequest removeSourceServerActionRequest)

      Remove source server post migration custom action.

      Parameters:
      removeSourceServerActionRequest -
      Returns:
      A Java Future containing the result of the RemoveSourceServerAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeSourceServerAction

      default CompletableFuture<RemoveSourceServerActionResponse> removeSourceServerAction(Consumer<RemoveSourceServerActionRequest.Builder> removeSourceServerActionRequest)

      Remove source server post migration custom action.


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

      Parameters:
      removeSourceServerActionRequest - A Consumer that will call methods on RemoveSourceServerActionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RemoveSourceServerAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeTemplateAction

      default CompletableFuture<RemoveTemplateActionResponse> removeTemplateAction(RemoveTemplateActionRequest removeTemplateActionRequest)

      Remove template post migration custom action.

      Parameters:
      removeTemplateActionRequest -
      Returns:
      A Java Future containing the result of the RemoveTemplateAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • removeTemplateAction

      default CompletableFuture<RemoveTemplateActionResponse> removeTemplateAction(Consumer<RemoveTemplateActionRequest.Builder> removeTemplateActionRequest)

      Remove template post migration custom action.


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

      Parameters:
      removeTemplateActionRequest - A Consumer that will call methods on RemoveTemplateActionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RemoveTemplateAction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • resumeReplication

      default CompletableFuture<ResumeReplicationResponse> resumeReplication(ResumeReplicationRequest resumeReplicationRequest)

      Resume Replication.

      Parameters:
      resumeReplicationRequest -
      Returns:
      A Java Future containing the result of the ResumeReplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • resumeReplication

      default CompletableFuture<ResumeReplicationResponse> resumeReplication(Consumer<ResumeReplicationRequest.Builder> resumeReplicationRequest)

      Resume Replication.


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

      Parameters:
      resumeReplicationRequest - A Consumer that will call methods on ResumeReplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ResumeReplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • retryDataReplication

      default CompletableFuture<RetryDataReplicationResponse> retryDataReplication(RetryDataReplicationRequest retryDataReplicationRequest)

      Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started. This command will not work if the SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.

      Parameters:
      retryDataReplicationRequest -
      Returns:
      A Java Future containing the result of the RetryDataReplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • retryDataReplication

      default CompletableFuture<RetryDataReplicationResponse> retryDataReplication(Consumer<RetryDataReplicationRequest.Builder> retryDataReplicationRequest)

      Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started. This command will not work if the SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.


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

      Parameters:
      retryDataReplicationRequest - A Consumer that will call methods on RetryDataReplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RetryDataReplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startCutover

      default CompletableFuture<StartCutoverResponse> startCutover(StartCutoverRequest startCutoverRequest)

      Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.

      Parameters:
      startCutoverRequest -
      Returns:
      A Java Future containing the result of the StartCutover operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startCutover

      default CompletableFuture<StartCutoverResponse> startCutover(Consumer<StartCutoverRequest.Builder> startCutoverRequest)

      Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.


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

      Parameters:
      startCutoverRequest - A Consumer that will call methods on StartCutoverRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartCutover operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startExport

      default CompletableFuture<StartExportResponse> startExport(StartExportRequest startExportRequest)

      Start export.

      Parameters:
      startExportRequest - Start export request.
      Returns:
      A Java Future containing the result of the StartExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startExport

      default CompletableFuture<StartExportResponse> startExport(Consumer<StartExportRequest.Builder> startExportRequest)

      Start export.


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

      Parameters:
      startExportRequest - A Consumer that will call methods on StartExportRequest.Builder to create a request. Start export request.
      Returns:
      A Java Future containing the result of the StartExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startImport

      default CompletableFuture<StartImportResponse> startImport(StartImportRequest startImportRequest)

      Start import.

      Parameters:
      startImportRequest - Start import request.
      Returns:
      A Java Future containing the result of the StartImport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startImport

      default CompletableFuture<StartImportResponse> startImport(Consumer<StartImportRequest.Builder> startImportRequest)

      Start import.


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

      Parameters:
      startImportRequest - A Consumer that will call methods on StartImportRequest.Builder to create a request. Start import request.
      Returns:
      A Java Future containing the result of the StartImport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startReplication

      default CompletableFuture<StartReplicationResponse> startReplication(StartReplicationRequest startReplicationRequest)

      Starts replication for SNAPSHOT_SHIPPING agents.

      Parameters:
      startReplicationRequest -
      Returns:
      A Java Future containing the result of the StartReplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startReplication

      default CompletableFuture<StartReplicationResponse> startReplication(Consumer<StartReplicationRequest.Builder> startReplicationRequest)

      Starts replication for SNAPSHOT_SHIPPING agents.


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

      Parameters:
      startReplicationRequest - A Consumer that will call methods on StartReplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartReplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startTest

      default CompletableFuture<StartTestResponse> startTest(StartTestRequest startTestRequest)

      Launches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.

      Parameters:
      startTestRequest -
      Returns:
      A Java Future containing the result of the StartTest operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startTest

      default CompletableFuture<StartTestResponse> startTest(Consumer<StartTestRequest.Builder> startTestRequest)

      Launches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.


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

      Parameters:
      startTestRequest - A Consumer that will call methods on StartTestRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartTest operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopReplication

      default CompletableFuture<StopReplicationResponse> stopReplication(StopReplicationRequest stopReplicationRequest)

      Stop Replication.

      Parameters:
      stopReplicationRequest -
      Returns:
      A Java Future containing the result of the StopReplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopReplication

      default CompletableFuture<StopReplicationResponse> stopReplication(Consumer<StopReplicationRequest.Builder> stopReplicationRequest)

      Stop Replication.


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

      Parameters:
      stopReplicationRequest - A Consumer that will call methods on StopReplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StopReplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException 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)

      Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.

      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.
      • ResourceNotFoundException Resource not found exception.
      • ThrottlingException Reached throttling quota exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check error.
      • InternalServerException The server encountered an unexpected condition that prevented it from fulfilling the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException 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)

      Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.


      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.
      • ResourceNotFoundException Resource not found exception.
      • ThrottlingException Reached throttling quota exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check error.
      • InternalServerException The server encountered an unexpected condition that prevented it from fulfilling the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • terminateTargetInstances

      default CompletableFuture<TerminateTargetInstancesResponse> terminateTargetInstances(TerminateTargetInstancesRequest terminateTargetInstancesRequest)

      Starts a job that terminates specific launched EC2 Test and Cutover instances. This command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER.

      Parameters:
      terminateTargetInstancesRequest -
      Returns:
      A Java Future containing the result of the TerminateTargetInstances operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • terminateTargetInstances

      default CompletableFuture<TerminateTargetInstancesResponse> terminateTargetInstances(Consumer<TerminateTargetInstancesRequest.Builder> terminateTargetInstancesRequest)

      Starts a job that terminates specific launched EC2 Test and Cutover instances. This command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER.


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

      Parameters:
      terminateTargetInstancesRequest - A Consumer that will call methods on TerminateTargetInstancesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the TerminateTargetInstances operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • unarchiveApplication

      default CompletableFuture<UnarchiveApplicationResponse> unarchiveApplication(UnarchiveApplicationRequest unarchiveApplicationRequest)

      Unarchive application.

      Parameters:
      unarchiveApplicationRequest -
      Returns:
      A Java Future containing the result of the UnarchiveApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • unarchiveApplication

      default CompletableFuture<UnarchiveApplicationResponse> unarchiveApplication(Consumer<UnarchiveApplicationRequest.Builder> unarchiveApplicationRequest)

      Unarchive application.


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

      Parameters:
      unarchiveApplicationRequest - A Consumer that will call methods on UnarchiveApplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UnarchiveApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • unarchiveWave

      default CompletableFuture<UnarchiveWaveResponse> unarchiveWave(UnarchiveWaveRequest unarchiveWaveRequest)

      Unarchive wave.

      Parameters:
      unarchiveWaveRequest -
      Returns:
      A Java Future containing the result of the UnarchiveWave operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • unarchiveWave

      default CompletableFuture<UnarchiveWaveResponse> unarchiveWave(Consumer<UnarchiveWaveRequest.Builder> unarchiveWaveRequest)

      Unarchive wave.


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

      Parameters:
      unarchiveWaveRequest - A Consumer that will call methods on UnarchiveWaveRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UnarchiveWave operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException 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)

      Deletes the specified set of tags from the specified set of Application Migration Service resources.

      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.
      • ResourceNotFoundException Resource not found exception.
      • ThrottlingException Reached throttling quota exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check error.
      • InternalServerException The server encountered an unexpected condition that prevented it from fulfilling the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException 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)

      Deletes the specified set of tags from the specified set of Application Migration Service resources.


      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.
      • ResourceNotFoundException Resource not found exception.
      • ThrottlingException Reached throttling quota exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check error.
      • InternalServerException The server encountered an unexpected condition that prevented it from fulfilling the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateApplication

      default CompletableFuture<UpdateApplicationResponse> updateApplication(UpdateApplicationRequest updateApplicationRequest)

      Update application.

      Parameters:
      updateApplicationRequest -
      Returns:
      A Java Future containing the result of the UpdateApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateApplication

      default CompletableFuture<UpdateApplicationResponse> updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)

      Update application.


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

      Parameters:
      updateApplicationRequest - A Consumer that will call methods on UpdateApplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateConnector

      default CompletableFuture<UpdateConnectorResponse> updateConnector(UpdateConnectorRequest updateConnectorRequest)

      Update Connector.

      Parameters:
      updateConnectorRequest -
      Returns:
      A Java Future containing the result of the UpdateConnector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateConnector

      default CompletableFuture<UpdateConnectorResponse> updateConnector(Consumer<UpdateConnectorRequest.Builder> updateConnectorRequest)

      Update Connector.


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

      Parameters:
      updateConnectorRequest - A Consumer that will call methods on UpdateConnectorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateConnector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateLaunchConfiguration

      default CompletableFuture<UpdateLaunchConfigurationResponse> updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest)

      Updates multiple LaunchConfigurations by Source Server ID.

      Parameters:
      updateLaunchConfigurationRequest -
      Returns:
      A Java Future containing the result of the UpdateLaunchConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateLaunchConfiguration

      default CompletableFuture<UpdateLaunchConfigurationResponse> updateLaunchConfiguration(Consumer<UpdateLaunchConfigurationRequest.Builder> updateLaunchConfigurationRequest)

      Updates multiple LaunchConfigurations by Source Server ID.


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

      Parameters:
      updateLaunchConfigurationRequest - A Consumer that will call methods on UpdateLaunchConfigurationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateLaunchConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateLaunchConfigurationTemplate

      default CompletableFuture<UpdateLaunchConfigurationTemplateResponse> updateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest updateLaunchConfigurationTemplateRequest)

      Updates an existing Launch Configuration Template by ID.

      Parameters:
      updateLaunchConfigurationTemplateRequest -
      Returns:
      A Java Future containing the result of the UpdateLaunchConfigurationTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check 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.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateLaunchConfigurationTemplate

      default CompletableFuture<UpdateLaunchConfigurationTemplateResponse> updateLaunchConfigurationTemplate(Consumer<UpdateLaunchConfigurationTemplateRequest.Builder> updateLaunchConfigurationTemplateRequest)

      Updates an existing Launch Configuration Template by ID.


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

      Parameters:
      updateLaunchConfigurationTemplateRequest - A Consumer that will call methods on UpdateLaunchConfigurationTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateLaunchConfigurationTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check 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.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateReplicationConfiguration

      default CompletableFuture<UpdateReplicationConfigurationResponse> updateReplicationConfiguration(UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest)

      Allows you to update multiple ReplicationConfigurations by Source Server ID.

      Parameters:
      updateReplicationConfigurationRequest -
      Returns:
      A Java Future containing the result of the UpdateReplicationConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check error.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateReplicationConfiguration

      default CompletableFuture<UpdateReplicationConfigurationResponse> updateReplicationConfiguration(Consumer<UpdateReplicationConfigurationRequest.Builder> updateReplicationConfigurationRequest)

      Allows you to update multiple ReplicationConfigurations by Source Server ID.


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

      Parameters:
      updateReplicationConfigurationRequest - A Consumer that will call methods on UpdateReplicationConfigurationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateReplicationConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check error.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateReplicationConfigurationTemplate

      default CompletableFuture<UpdateReplicationConfigurationTemplateResponse> updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest)

      Updates multiple ReplicationConfigurationTemplates by ID.

      Parameters:
      updateReplicationConfigurationTemplateRequest -
      Returns:
      A Java Future containing the result of the UpdateReplicationConfigurationTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check 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.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateReplicationConfigurationTemplate

      default CompletableFuture<UpdateReplicationConfigurationTemplateResponse> updateReplicationConfigurationTemplate(Consumer<UpdateReplicationConfigurationTemplateRequest.Builder> updateReplicationConfigurationTemplateRequest)

      Updates multiple ReplicationConfigurationTemplates by ID.


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

      Parameters:
      updateReplicationConfigurationTemplateRequest - A Consumer that will call methods on UpdateReplicationConfigurationTemplateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateReplicationConfigurationTemplate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • AccessDeniedException Operating denied due to a file permission or access check 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.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSourceServer

      default CompletableFuture<UpdateSourceServerResponse> updateSourceServer(UpdateSourceServerRequest updateSourceServerRequest)

      Update Source Server.

      Parameters:
      updateSourceServerRequest -
      Returns:
      A Java Future containing the result of the UpdateSourceServer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSourceServer

      default CompletableFuture<UpdateSourceServerResponse> updateSourceServer(Consumer<UpdateSourceServerRequest.Builder> updateSourceServerRequest)

      Update Source Server.


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

      Parameters:
      updateSourceServerRequest - A Consumer that will call methods on UpdateSourceServerRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateSourceServer operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSourceServerReplicationType

      default CompletableFuture<UpdateSourceServerReplicationTypeResponse> updateSourceServerReplicationType(UpdateSourceServerReplicationTypeRequest updateSourceServerReplicationTypeRequest)

      Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.

      Parameters:
      updateSourceServerReplicationTypeRequest -
      Returns:
      A Java Future containing the result of the UpdateSourceServerReplicationType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSourceServerReplicationType

      default CompletableFuture<UpdateSourceServerReplicationTypeResponse> updateSourceServerReplicationType(Consumer<UpdateSourceServerReplicationTypeRequest.Builder> updateSourceServerReplicationTypeRequest)

      Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.


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

      Parameters:
      updateSourceServerReplicationTypeRequest - A Consumer that will call methods on UpdateSourceServerReplicationTypeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateSourceServerReplicationType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ValidationException Validate exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateWave

      default CompletableFuture<UpdateWaveResponse> updateWave(UpdateWaveRequest updateWaveRequest)

      Update wave.

      Parameters:
      updateWaveRequest -
      Returns:
      A Java Future containing the result of the UpdateWave operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateWave

      default CompletableFuture<UpdateWaveResponse> updateWave(Consumer<UpdateWaveRequest.Builder> updateWaveRequest)

      Update wave.


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

      Parameters:
      updateWaveRequest - A Consumer that will call methods on UpdateWaveRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateWave operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • UninitializedAccountException Uninitialized account exception.
      • ResourceNotFoundException Resource not found exception.
      • ConflictException The request could not be completed due to a conflict with the current state of the target resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default MgnServiceClientConfiguration 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 MgnAsyncClient create()
      Create a MgnAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      static MgnAsyncClientBuilder builder()
      Create a builder that can be used to configure and create a MgnAsyncClient.