Interface DatabaseMigrationAsyncClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

    @Generated("software.amazon.awssdk:codegen")
    @ThreadSafe
    public interface DatabaseMigrationAsyncClient
    extends AwsClient
    Service client for accessing AWS Database Migration Service asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any 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. Database Migration Service

    Database Migration Service (DMS) can migrate your data to and from the most widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as heterogeneous migrations between different database platforms, such as Oracle to MySQL or SQL Server to PostgreSQL.

    For more information about DMS, see What Is Database Migration Service? in the Database Migration Service User Guide.

    • Method Detail

      • addTagsToResource

        default CompletableFuture<AddTagsToResourceResponse> addTagsToResource​(AddTagsToResourceRequest addTagsToResourceRequest)

        Adds metadata tags to an DMS resource, including replication instance, endpoint, subnet group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with DMS resources, or used in a Condition statement in an IAM policy for DMS. For more information, see Tag data type description.

        Parameters:
        addTagsToResourceRequest - Associates a set of tags with an DMS resource.
        Returns:
        A Java Future containing the result of the AddTagsToResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • addTagsToResource

        default CompletableFuture<AddTagsToResourceResponse> addTagsToResource​(Consumer<AddTagsToResourceRequest.Builder> addTagsToResourceRequest)

        Adds metadata tags to an DMS resource, including replication instance, endpoint, subnet group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with DMS resources, or used in a Condition statement in an IAM policy for DMS. For more information, see Tag data type description.


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

        Parameters:
        addTagsToResourceRequest - A Consumer that will call methods on AddTagsToResourceRequest.Builder to create a request. Associates a set of tags with an DMS resource.
        Returns:
        A Java Future containing the result of the AddTagsToResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • applyPendingMaintenanceAction

        default CompletableFuture<ApplyPendingMaintenanceActionResponse> applyPendingMaintenanceAction​(ApplyPendingMaintenanceActionRequest applyPendingMaintenanceActionRequest)

        Applies a pending maintenance action to a resource (for example, to a replication instance).

        Parameters:
        applyPendingMaintenanceActionRequest -
        Returns:
        A Java Future containing the result of the ApplyPendingMaintenanceAction operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • applyPendingMaintenanceAction

        default CompletableFuture<ApplyPendingMaintenanceActionResponse> applyPendingMaintenanceAction​(Consumer<ApplyPendingMaintenanceActionRequest.Builder> applyPendingMaintenanceActionRequest)

        Applies a pending maintenance action to a resource (for example, to a replication instance).


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

        Parameters:
        applyPendingMaintenanceActionRequest - A Consumer that will call methods on ApplyPendingMaintenanceActionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ApplyPendingMaintenanceAction operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • batchStartRecommendations

        default CompletableFuture<BatchStartRecommendationsResponse> batchStartRecommendations​(BatchStartRecommendationsRequest batchStartRecommendationsRequest)

        Starts the analysis of up to 20 source databases to recommend target engines for each source database. This is a batch version of StartRecommendations .

        The result of analysis of each source database is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

        Parameters:
        batchStartRecommendationsRequest -
        Returns:
        A Java Future containing the result of the BatchStartRecommendations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • batchStartRecommendations

        default CompletableFuture<BatchStartRecommendationsResponse> batchStartRecommendations​(Consumer<BatchStartRecommendationsRequest.Builder> batchStartRecommendationsRequest)

        Starts the analysis of up to 20 source databases to recommend target engines for each source database. This is a batch version of StartRecommendations .

        The result of analysis of each source database is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.


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

        Parameters:
        batchStartRecommendationsRequest - A Consumer that will call methods on BatchStartRecommendationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the BatchStartRecommendations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • cancelReplicationTaskAssessmentRun

        default CompletableFuture<CancelReplicationTaskAssessmentRunResponse> cancelReplicationTaskAssessmentRun​(CancelReplicationTaskAssessmentRunRequest cancelReplicationTaskAssessmentRunRequest)

        Cancels a single premigration assessment run.

        This operation prevents any individual assessments from running if they haven't started running. It also attempts to cancel any individual assessments that are currently running.

        Parameters:
        cancelReplicationTaskAssessmentRunRequest -
        Returns:
        A Java Future containing the result of the CancelReplicationTaskAssessmentRun operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • cancelReplicationTaskAssessmentRun

        default CompletableFuture<CancelReplicationTaskAssessmentRunResponse> cancelReplicationTaskAssessmentRun​(Consumer<CancelReplicationTaskAssessmentRunRequest.Builder> cancelReplicationTaskAssessmentRunRequest)

        Cancels a single premigration assessment run.

        This operation prevents any individual assessments from running if they haven't started running. It also attempts to cancel any individual assessments that are currently running.


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

        Parameters:
        cancelReplicationTaskAssessmentRunRequest - A Consumer that will call methods on CancelReplicationTaskAssessmentRunRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CancelReplicationTaskAssessmentRun operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createDataProvider

        default CompletableFuture<CreateDataProviderResponse> createDataProvider​(CreateDataProviderRequest createDataProviderRequest)

        Creates a data provider using the provided settings. A data provider stores a data store type and location information about your database.

        Parameters:
        createDataProviderRequest -
        Returns:
        A Java Future containing the result of the CreateDataProvider operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createDataProvider

        default CompletableFuture<CreateDataProviderResponse> createDataProvider​(Consumer<CreateDataProviderRequest.Builder> createDataProviderRequest)

        Creates a data provider using the provided settings. A data provider stores a data store type and location information about your database.


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

        Parameters:
        createDataProviderRequest - A Consumer that will call methods on CreateDataProviderRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateDataProvider operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createEndpoint

        default CompletableFuture<CreateEndpointResponse> createEndpoint​(CreateEndpointRequest createEndpointRequest)

        Creates an endpoint using the provided settings.

        For a MySQL source or target endpoint, don't explicitly specify the database using the DatabaseName request parameter on the CreateEndpoint API call. Specifying DatabaseName when you create a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task.

        Parameters:
        createEndpointRequest -
        Returns:
        A Java Future containing the result of the CreateEndpoint operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createEndpoint

        default CompletableFuture<CreateEndpointResponse> createEndpoint​(Consumer<CreateEndpointRequest.Builder> createEndpointRequest)

        Creates an endpoint using the provided settings.

        For a MySQL source or target endpoint, don't explicitly specify the database using the DatabaseName request parameter on the CreateEndpoint API call. Specifying DatabaseName when you create a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task.


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

        Parameters:
        createEndpointRequest - A Consumer that will call methods on CreateEndpointRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateEndpoint operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createEventSubscription

        default CompletableFuture<CreateEventSubscriptionResponse> createEventSubscription​(CreateEventSubscriptionRequest createEventSubscriptionRequest)

        Creates an DMS event notification subscription.

        You can specify the type of source (SourceType) you want to be notified of, provide a list of DMS source IDs (SourceIds) that triggers the events, and provide a list of event categories ( EventCategories) for events you want to be notified of. If you specify both the SourceType and SourceIds, such as SourceType = replication-instance and SourceIdentifier = my-replinstance, you will be notified of all the replication instance events for the specified source. If you specify a SourceType but don't specify a SourceIdentifier, you receive notice of the events for that source type for all your DMS sources. If you don't specify either SourceType nor SourceIdentifier, you will be notified of events generated from all DMS sources belonging to your customer account.

        For more information about DMS events, see Working with Events and Notifications in the Database Migration Service User Guide.

        Parameters:
        createEventSubscriptionRequest -
        Returns:
        A Java Future containing the result of the CreateEventSubscription operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • ResourceNotFoundException The resource could not be found.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • SnsInvalidTopicException The SNS topic is invalid.
        • SnsNoAuthorizationException You are not authorized for the SNS subscription.
        • KmsAccessDeniedException The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
        • KmsDisabledException The specified KMS key isn't enabled.
        • KmsInvalidStateException The state of the specified KMS resource isn't valid for this request.
        • KmsNotFoundException The specified KMS entity or resource can't be found.
        • KmsThrottlingException This request triggered KMS request throttling.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createEventSubscription

        default CompletableFuture<CreateEventSubscriptionResponse> createEventSubscription​(Consumer<CreateEventSubscriptionRequest.Builder> createEventSubscriptionRequest)

        Creates an DMS event notification subscription.

        You can specify the type of source (SourceType) you want to be notified of, provide a list of DMS source IDs (SourceIds) that triggers the events, and provide a list of event categories ( EventCategories) for events you want to be notified of. If you specify both the SourceType and SourceIds, such as SourceType = replication-instance and SourceIdentifier = my-replinstance, you will be notified of all the replication instance events for the specified source. If you specify a SourceType but don't specify a SourceIdentifier, you receive notice of the events for that source type for all your DMS sources. If you don't specify either SourceType nor SourceIdentifier, you will be notified of events generated from all DMS sources belonging to your customer account.

        For more information about DMS events, see Working with Events and Notifications in the Database Migration Service User Guide.


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

        Parameters:
        createEventSubscriptionRequest - A Consumer that will call methods on CreateEventSubscriptionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateEventSubscription operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • ResourceNotFoundException The resource could not be found.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • SnsInvalidTopicException The SNS topic is invalid.
        • SnsNoAuthorizationException You are not authorized for the SNS subscription.
        • KmsAccessDeniedException The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
        • KmsDisabledException The specified KMS key isn't enabled.
        • KmsInvalidStateException The state of the specified KMS resource isn't valid for this request.
        • KmsNotFoundException The specified KMS entity or resource can't be found.
        • KmsThrottlingException This request triggered KMS request throttling.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createFleetAdvisorCollector

        default CompletableFuture<CreateFleetAdvisorCollectorResponse> createFleetAdvisorCollector​(CreateFleetAdvisorCollectorRequest createFleetAdvisorCollectorRequest)

        Creates a Fleet Advisor collector using the specified parameters.

        Parameters:
        createFleetAdvisorCollectorRequest -
        Returns:
        A Java Future containing the result of the CreateFleetAdvisorCollector operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createFleetAdvisorCollector

        default CompletableFuture<CreateFleetAdvisorCollectorResponse> createFleetAdvisorCollector​(Consumer<CreateFleetAdvisorCollectorRequest.Builder> createFleetAdvisorCollectorRequest)

        Creates a Fleet Advisor collector using the specified parameters.


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

        Parameters:
        createFleetAdvisorCollectorRequest - A Consumer that will call methods on CreateFleetAdvisorCollectorRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateFleetAdvisorCollector operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createInstanceProfile

        default CompletableFuture<CreateInstanceProfileResponse> createInstanceProfile​(CreateInstanceProfileRequest createInstanceProfileRequest)

        Creates the instance profile using the specified parameters.

        Parameters:
        createInstanceProfileRequest -
        Returns:
        A Java Future containing the result of the CreateInstanceProfile operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createInstanceProfile

        default CompletableFuture<CreateInstanceProfileResponse> createInstanceProfile​(Consumer<CreateInstanceProfileRequest.Builder> createInstanceProfileRequest)

        Creates the instance profile using the specified parameters.


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

        Parameters:
        createInstanceProfileRequest - A Consumer that will call methods on CreateInstanceProfileRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateInstanceProfile operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createMigrationProject

        default CompletableFuture<CreateMigrationProjectResponse> createMigrationProject​(CreateMigrationProjectRequest createMigrationProjectRequest)

        Creates the migration project using the specified parameters.

        You can run this action only after you create an instance profile and data providers using CreateInstanceProfile and CreateDataProvider.

        Parameters:
        createMigrationProjectRequest -
        Returns:
        A Java Future containing the result of the CreateMigrationProject operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • ResourceNotFoundException The resource could not be found.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createMigrationProject

        default CompletableFuture<CreateMigrationProjectResponse> createMigrationProject​(Consumer<CreateMigrationProjectRequest.Builder> createMigrationProjectRequest)

        Creates the migration project using the specified parameters.

        You can run this action only after you create an instance profile and data providers using CreateInstanceProfile and CreateDataProvider.


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

        Parameters:
        createMigrationProjectRequest - A Consumer that will call methods on CreateMigrationProjectRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateMigrationProject operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • ResourceNotFoundException The resource could not be found.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createReplicationConfig

        default CompletableFuture<CreateReplicationConfigResponse> createReplicationConfig​(CreateReplicationConfigRequest createReplicationConfigRequest)

        Creates a configuration that you can later provide to configure and start an DMS Serverless replication. You can also provide options to validate the configuration inputs before you start the replication.

        Parameters:
        createReplicationConfigRequest -
        Returns:
        A Java Future containing the result of the CreateReplicationConfig operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
        • InvalidSubnetException The subnet provided isn't valid.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createReplicationConfig

        default CompletableFuture<CreateReplicationConfigResponse> createReplicationConfig​(Consumer<CreateReplicationConfigRequest.Builder> createReplicationConfigRequest)

        Creates a configuration that you can later provide to configure and start an DMS Serverless replication. You can also provide options to validate the configuration inputs before you start the replication.


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

        Parameters:
        createReplicationConfigRequest - A Consumer that will call methods on CreateReplicationConfigRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateReplicationConfig operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
        • InvalidSubnetException The subnet provided isn't valid.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createReplicationInstance

        default CompletableFuture<CreateReplicationInstanceResponse> createReplicationInstance​(CreateReplicationInstanceRequest createReplicationInstanceRequest)

        Creates the replication instance using the specified parameters.

        DMS requires that your account have certain roles with appropriate permissions before you can create a replication instance. For information on the required roles, see Creating the IAM Roles to Use With the CLI and DMS API. For information on the required permissions, see IAM Permissions Needed to Use DMS.

        If you don't specify a version when creating a replication instance, DMS will create the instance using the default engine version. For information about the default engine version, see Release Notes.

        Parameters:
        createReplicationInstanceRequest -
        Returns:
        A Java Future containing the result of the CreateReplicationInstance operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • InsufficientResourceCapacityException There are not enough resources allocated to the database migration.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • StorageQuotaExceededException The storage quota has been exceeded.
        • ResourceNotFoundException The resource could not be found.
        • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • InvalidSubnetException The subnet provided isn't valid.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createReplicationInstance

        default CompletableFuture<CreateReplicationInstanceResponse> createReplicationInstance​(Consumer<CreateReplicationInstanceRequest.Builder> createReplicationInstanceRequest)

        Creates the replication instance using the specified parameters.

        DMS requires that your account have certain roles with appropriate permissions before you can create a replication instance. For information on the required roles, see Creating the IAM Roles to Use With the CLI and DMS API. For information on the required permissions, see IAM Permissions Needed to Use DMS.

        If you don't specify a version when creating a replication instance, DMS will create the instance using the default engine version. For information about the default engine version, see Release Notes.


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

        Parameters:
        createReplicationInstanceRequest - A Consumer that will call methods on CreateReplicationInstanceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateReplicationInstance operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • InsufficientResourceCapacityException There are not enough resources allocated to the database migration.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • StorageQuotaExceededException The storage quota has been exceeded.
        • ResourceNotFoundException The resource could not be found.
        • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • InvalidSubnetException The subnet provided isn't valid.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createReplicationSubnetGroup

        default CompletableFuture<CreateReplicationSubnetGroupResponse> createReplicationSubnetGroup​(CreateReplicationSubnetGroupRequest createReplicationSubnetGroupRequest)

        Creates a replication subnet group given a list of the subnet IDs in a VPC.

        The VPC needs to have at least one subnet in at least two availability zones in the Amazon Web Services Region, otherwise the service will throw a ReplicationSubnetGroupDoesNotCoverEnoughAZs exception.

        If a replication subnet group exists in your Amazon Web Services account, the CreateReplicationSubnetGroup action returns the following error message: The Replication Subnet Group already exists. In this case, delete the existing replication subnet group. To do so, use the DeleteReplicationSubnetGroup action. Optionally, choose Subnet groups in the DMS console, then choose your subnet group. Next, choose Delete from Actions.

        Parameters:
        createReplicationSubnetGroupRequest -
        Returns:
        A Java Future containing the result of the CreateReplicationSubnetGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
        • InvalidSubnetException The subnet provided isn't valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createReplicationSubnetGroup

        default CompletableFuture<CreateReplicationSubnetGroupResponse> createReplicationSubnetGroup​(Consumer<CreateReplicationSubnetGroupRequest.Builder> createReplicationSubnetGroupRequest)

        Creates a replication subnet group given a list of the subnet IDs in a VPC.

        The VPC needs to have at least one subnet in at least two availability zones in the Amazon Web Services Region, otherwise the service will throw a ReplicationSubnetGroupDoesNotCoverEnoughAZs exception.

        If a replication subnet group exists in your Amazon Web Services account, the CreateReplicationSubnetGroup action returns the following error message: The Replication Subnet Group already exists. In this case, delete the existing replication subnet group. To do so, use the DeleteReplicationSubnetGroup action. Optionally, choose Subnet groups in the DMS console, then choose your subnet group. Next, choose Delete from Actions.


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

        Parameters:
        createReplicationSubnetGroupRequest - A Consumer that will call methods on CreateReplicationSubnetGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateReplicationSubnetGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
        • InvalidSubnetException The subnet provided isn't valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createReplicationTask

        default CompletableFuture<CreateReplicationTaskResponse> createReplicationTask​(CreateReplicationTaskRequest createReplicationTaskRequest)

        Creates a replication task using the specified parameters.

        Parameters:
        createReplicationTaskRequest -
        Returns:
        A Java Future containing the result of the CreateReplicationTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createReplicationTask

        default CompletableFuture<CreateReplicationTaskResponse> createReplicationTask​(Consumer<CreateReplicationTaskRequest.Builder> createReplicationTaskRequest)

        Creates a replication task using the specified parameters.


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

        Parameters:
        createReplicationTaskRequest - A Consumer that will call methods on CreateReplicationTaskRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateReplicationTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteCertificate

        default CompletableFuture<DeleteCertificateResponse> deleteCertificate​(DeleteCertificateRequest deleteCertificateRequest)

        Deletes the specified certificate.

        Parameters:
        deleteCertificateRequest -
        Returns:
        A Java Future containing the result of the DeleteCertificate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteCertificate

        default CompletableFuture<DeleteCertificateResponse> deleteCertificate​(Consumer<DeleteCertificateRequest.Builder> deleteCertificateRequest)

        Deletes the specified certificate.


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

        Parameters:
        deleteCertificateRequest - A Consumer that will call methods on DeleteCertificateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteCertificate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteConnection

        default CompletableFuture<DeleteConnectionResponse> deleteConnection​(DeleteConnectionRequest deleteConnectionRequest)

        Deletes the connection between a replication instance and an endpoint.

        Parameters:
        deleteConnectionRequest -
        Returns:
        A Java Future containing the result of the DeleteConnection operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteConnection

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

        Deletes the connection between a replication instance and an endpoint.


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

        Parameters:
        deleteConnectionRequest - A Consumer that will call methods on DeleteConnectionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteConnection operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteDataProvider

        default CompletableFuture<DeleteDataProviderResponse> deleteDataProvider​(DeleteDataProviderRequest deleteDataProviderRequest)

        Deletes the specified data provider.

        All migration projects associated with the data provider must be deleted or modified before you can delete the data provider.

        Parameters:
        deleteDataProviderRequest -
        Returns:
        A Java Future containing the result of the DeleteDataProvider operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteDataProvider

        default CompletableFuture<DeleteDataProviderResponse> deleteDataProvider​(Consumer<DeleteDataProviderRequest.Builder> deleteDataProviderRequest)

        Deletes the specified data provider.

        All migration projects associated with the data provider must be deleted or modified before you can delete the data provider.


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

        Parameters:
        deleteDataProviderRequest - A Consumer that will call methods on DeleteDataProviderRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteDataProvider operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteEndpoint

        default CompletableFuture<DeleteEndpointResponse> deleteEndpoint​(DeleteEndpointRequest deleteEndpointRequest)

        Deletes the specified endpoint.

        All tasks associated with the endpoint must be deleted before you can delete the endpoint.

        Parameters:
        deleteEndpointRequest -
        Returns:
        A Java Future containing the result of the DeleteEndpoint operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteEndpoint

        default CompletableFuture<DeleteEndpointResponse> deleteEndpoint​(Consumer<DeleteEndpointRequest.Builder> deleteEndpointRequest)

        Deletes the specified endpoint.

        All tasks associated with the endpoint must be deleted before you can delete the endpoint.


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

        Parameters:
        deleteEndpointRequest - A Consumer that will call methods on DeleteEndpointRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteEndpoint operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteEventSubscription

        default CompletableFuture<DeleteEventSubscriptionResponse> deleteEventSubscription​(DeleteEventSubscriptionRequest deleteEventSubscriptionRequest)

        Deletes an DMS event subscription.

        Parameters:
        deleteEventSubscriptionRequest -
        Returns:
        A Java Future containing the result of the DeleteEventSubscription operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteEventSubscription

        default CompletableFuture<DeleteEventSubscriptionResponse> deleteEventSubscription​(Consumer<DeleteEventSubscriptionRequest.Builder> deleteEventSubscriptionRequest)

        Deletes an DMS event subscription.


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

        Parameters:
        deleteEventSubscriptionRequest - A Consumer that will call methods on DeleteEventSubscriptionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteEventSubscription operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteFleetAdvisorCollector

        default CompletableFuture<DeleteFleetAdvisorCollectorResponse> deleteFleetAdvisorCollector​(DeleteFleetAdvisorCollectorRequest deleteFleetAdvisorCollectorRequest)

        Deletes the specified Fleet Advisor collector.

        Parameters:
        deleteFleetAdvisorCollectorRequest -
        Returns:
        A Java Future containing the result of the DeleteFleetAdvisorCollector operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • CollectorNotFoundException The specified collector doesn't exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteFleetAdvisorCollector

        default CompletableFuture<DeleteFleetAdvisorCollectorResponse> deleteFleetAdvisorCollector​(Consumer<DeleteFleetAdvisorCollectorRequest.Builder> deleteFleetAdvisorCollectorRequest)

        Deletes the specified Fleet Advisor collector.


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

        Parameters:
        deleteFleetAdvisorCollectorRequest - A Consumer that will call methods on DeleteFleetAdvisorCollectorRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteFleetAdvisorCollector operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • CollectorNotFoundException The specified collector doesn't exist.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteFleetAdvisorDatabases

        default CompletableFuture<DeleteFleetAdvisorDatabasesResponse> deleteFleetAdvisorDatabases​(DeleteFleetAdvisorDatabasesRequest deleteFleetAdvisorDatabasesRequest)

        Deletes the specified Fleet Advisor collector databases.

        Parameters:
        deleteFleetAdvisorDatabasesRequest -
        Returns:
        A Java Future containing the result of the DeleteFleetAdvisorDatabases operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidOperationException The action or operation requested isn't valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteFleetAdvisorDatabases

        default CompletableFuture<DeleteFleetAdvisorDatabasesResponse> deleteFleetAdvisorDatabases​(Consumer<DeleteFleetAdvisorDatabasesRequest.Builder> deleteFleetAdvisorDatabasesRequest)

        Deletes the specified Fleet Advisor collector databases.


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

        Parameters:
        deleteFleetAdvisorDatabasesRequest - A Consumer that will call methods on DeleteFleetAdvisorDatabasesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteFleetAdvisorDatabases operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidOperationException The action or operation requested isn't valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteInstanceProfile

        default CompletableFuture<DeleteInstanceProfileResponse> deleteInstanceProfile​(DeleteInstanceProfileRequest deleteInstanceProfileRequest)

        Deletes the specified instance profile.

        All migration projects associated with the instance profile must be deleted or modified before you can delete the instance profile.

        Parameters:
        deleteInstanceProfileRequest -
        Returns:
        A Java Future containing the result of the DeleteInstanceProfile operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteInstanceProfile

        default CompletableFuture<DeleteInstanceProfileResponse> deleteInstanceProfile​(Consumer<DeleteInstanceProfileRequest.Builder> deleteInstanceProfileRequest)

        Deletes the specified instance profile.

        All migration projects associated with the instance profile must be deleted or modified before you can delete the instance profile.


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

        Parameters:
        deleteInstanceProfileRequest - A Consumer that will call methods on DeleteInstanceProfileRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteInstanceProfile operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteMigrationProject

        default CompletableFuture<DeleteMigrationProjectResponse> deleteMigrationProject​(DeleteMigrationProjectRequest deleteMigrationProjectRequest)

        Deletes the specified migration project.

        The migration project must be closed before you can delete it.

        Parameters:
        deleteMigrationProjectRequest -
        Returns:
        A Java Future containing the result of the DeleteMigrationProject operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteMigrationProject

        default CompletableFuture<DeleteMigrationProjectResponse> deleteMigrationProject​(Consumer<DeleteMigrationProjectRequest.Builder> deleteMigrationProjectRequest)

        Deletes the specified migration project.

        The migration project must be closed before you can delete it.


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

        Parameters:
        deleteMigrationProjectRequest - A Consumer that will call methods on DeleteMigrationProjectRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteMigrationProject operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteReplicationConfig

        default CompletableFuture<DeleteReplicationConfigResponse> deleteReplicationConfig​(DeleteReplicationConfigRequest deleteReplicationConfigRequest)

        Deletes an DMS Serverless replication configuration. This effectively deprovisions any and all replications that use this configuration. You can't delete the configuration for an DMS Serverless replication that is ongoing. You can delete the configuration when the replication is in a non-RUNNING and non-STARTING state.

        Parameters:
        deleteReplicationConfigRequest -
        Returns:
        A Java Future containing the result of the DeleteReplicationConfig operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteReplicationConfig

        default CompletableFuture<DeleteReplicationConfigResponse> deleteReplicationConfig​(Consumer<DeleteReplicationConfigRequest.Builder> deleteReplicationConfigRequest)

        Deletes an DMS Serverless replication configuration. This effectively deprovisions any and all replications that use this configuration. You can't delete the configuration for an DMS Serverless replication that is ongoing. You can delete the configuration when the replication is in a non-RUNNING and non-STARTING state.


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

        Parameters:
        deleteReplicationConfigRequest - A Consumer that will call methods on DeleteReplicationConfigRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteReplicationConfig operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteReplicationInstance

        default CompletableFuture<DeleteReplicationInstanceResponse> deleteReplicationInstance​(DeleteReplicationInstanceRequest deleteReplicationInstanceRequest)

        Deletes the specified replication instance.

        You must delete any migration tasks that are associated with the replication instance before you can delete it.

        Parameters:
        deleteReplicationInstanceRequest -
        Returns:
        A Java Future containing the result of the DeleteReplicationInstance operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteReplicationInstance

        default CompletableFuture<DeleteReplicationInstanceResponse> deleteReplicationInstance​(Consumer<DeleteReplicationInstanceRequest.Builder> deleteReplicationInstanceRequest)

        Deletes the specified replication instance.

        You must delete any migration tasks that are associated with the replication instance before you can delete it.


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

        Parameters:
        deleteReplicationInstanceRequest - A Consumer that will call methods on DeleteReplicationInstanceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteReplicationInstance operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteReplicationSubnetGroup

        default CompletableFuture<DeleteReplicationSubnetGroupResponse> deleteReplicationSubnetGroup​(DeleteReplicationSubnetGroupRequest deleteReplicationSubnetGroupRequest)

        Deletes a subnet group.

        Parameters:
        deleteReplicationSubnetGroupRequest -
        Returns:
        A Java Future containing the result of the DeleteReplicationSubnetGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteReplicationSubnetGroup

        default CompletableFuture<DeleteReplicationSubnetGroupResponse> deleteReplicationSubnetGroup​(Consumer<DeleteReplicationSubnetGroupRequest.Builder> deleteReplicationSubnetGroupRequest)

        Deletes a subnet group.


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

        Parameters:
        deleteReplicationSubnetGroupRequest - A Consumer that will call methods on DeleteReplicationSubnetGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteReplicationSubnetGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteReplicationTask

        default CompletableFuture<DeleteReplicationTaskResponse> deleteReplicationTask​(DeleteReplicationTaskRequest deleteReplicationTaskRequest)

        Deletes the specified replication task.

        Parameters:
        deleteReplicationTaskRequest -
        Returns:
        A Java Future containing the result of the DeleteReplicationTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteReplicationTask

        default CompletableFuture<DeleteReplicationTaskResponse> deleteReplicationTask​(Consumer<DeleteReplicationTaskRequest.Builder> deleteReplicationTaskRequest)

        Deletes the specified replication task.


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

        Parameters:
        deleteReplicationTaskRequest - A Consumer that will call methods on DeleteReplicationTaskRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteReplicationTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteReplicationTaskAssessmentRun

        default CompletableFuture<DeleteReplicationTaskAssessmentRunResponse> deleteReplicationTaskAssessmentRun​(DeleteReplicationTaskAssessmentRunRequest deleteReplicationTaskAssessmentRunRequest)

        Deletes the record of a single premigration assessment run.

        This operation removes all metadata that DMS maintains about this assessment run. However, the operation leaves untouched all information about this assessment run that is stored in your Amazon S3 bucket.

        Parameters:
        deleteReplicationTaskAssessmentRunRequest -
        Returns:
        A Java Future containing the result of the DeleteReplicationTaskAssessmentRun operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteReplicationTaskAssessmentRun

        default CompletableFuture<DeleteReplicationTaskAssessmentRunResponse> deleteReplicationTaskAssessmentRun​(Consumer<DeleteReplicationTaskAssessmentRunRequest.Builder> deleteReplicationTaskAssessmentRunRequest)

        Deletes the record of a single premigration assessment run.

        This operation removes all metadata that DMS maintains about this assessment run. However, the operation leaves untouched all information about this assessment run that is stored in your Amazon S3 bucket.


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

        Parameters:
        deleteReplicationTaskAssessmentRunRequest - A Consumer that will call methods on DeleteReplicationTaskAssessmentRunRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteReplicationTaskAssessmentRun operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeAccountAttributes

        default CompletableFuture<DescribeAccountAttributesResponse> describeAccountAttributes​(DescribeAccountAttributesRequest describeAccountAttributesRequest)

        Lists all of the DMS attributes for a customer account. These attributes include DMS quotas for the account and a unique account identifier in a particular DMS region. DMS quotas include a list of resource quotas supported by the account, such as the number of replication instances allowed. The description for each resource quota, includes the quota name, current usage toward that quota, and the quota's maximum value. DMS uses the unique account identifier to name each artifact used by DMS in the given region.

        This command does not take any parameters.

        Parameters:
        describeAccountAttributesRequest -
        Returns:
        A Java Future containing the result of the DescribeAccountAttributes operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeAccountAttributes

        default CompletableFuture<DescribeAccountAttributesResponse> describeAccountAttributes​(Consumer<DescribeAccountAttributesRequest.Builder> describeAccountAttributesRequest)

        Lists all of the DMS attributes for a customer account. These attributes include DMS quotas for the account and a unique account identifier in a particular DMS region. DMS quotas include a list of resource quotas supported by the account, such as the number of replication instances allowed. The description for each resource quota, includes the quota name, current usage toward that quota, and the quota's maximum value. DMS uses the unique account identifier to name each artifact used by DMS in the given region.

        This command does not take any parameters.


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

        Parameters:
        describeAccountAttributesRequest - A Consumer that will call methods on DescribeAccountAttributesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeAccountAttributes operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeAccountAttributes

        default CompletableFuture<DescribeAccountAttributesResponse> describeAccountAttributes()

        Lists all of the DMS attributes for a customer account. These attributes include DMS quotas for the account and a unique account identifier in a particular DMS region. DMS quotas include a list of resource quotas supported by the account, such as the number of replication instances allowed. The description for each resource quota, includes the quota name, current usage toward that quota, and the quota's maximum value. DMS uses the unique account identifier to name each artifact used by DMS in the given region.

        This command does not take any parameters.

        Returns:
        A Java Future containing the result of the DescribeAccountAttributes operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeApplicableIndividualAssessments

        default CompletableFuture<DescribeApplicableIndividualAssessmentsResponse> describeApplicableIndividualAssessments​(DescribeApplicableIndividualAssessmentsRequest describeApplicableIndividualAssessmentsRequest)

        Provides a list of individual assessments that you can specify for a new premigration assessment run, given one or more parameters.

        If you specify an existing migration task, this operation provides the default individual assessments you can specify for that task. Otherwise, the specified parameters model elements of a possible migration task on which to base a premigration assessment run.

        To use these migration task modeling parameters, you must specify an existing replication instance, a source database engine, a target database engine, and a migration type. This combination of parameters potentially limits the default individual assessments available for an assessment run created for a corresponding migration task.

        If you specify no parameters, this operation provides a list of all possible individual assessments that you can specify for an assessment run. If you specify any one of the task modeling parameters, you must specify all of them or the operation cannot provide a list of individual assessments. The only parameter that you can specify alone is for an existing migration task. The specified task definition then determines the default list of individual assessments that you can specify in an assessment run for the task.

        Parameters:
        describeApplicableIndividualAssessmentsRequest -
        Returns:
        A Java Future containing the result of the DescribeApplicableIndividualAssessments operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeApplicableIndividualAssessments

        default CompletableFuture<DescribeApplicableIndividualAssessmentsResponse> describeApplicableIndividualAssessments​(Consumer<DescribeApplicableIndividualAssessmentsRequest.Builder> describeApplicableIndividualAssessmentsRequest)

        Provides a list of individual assessments that you can specify for a new premigration assessment run, given one or more parameters.

        If you specify an existing migration task, this operation provides the default individual assessments you can specify for that task. Otherwise, the specified parameters model elements of a possible migration task on which to base a premigration assessment run.

        To use these migration task modeling parameters, you must specify an existing replication instance, a source database engine, a target database engine, and a migration type. This combination of parameters potentially limits the default individual assessments available for an assessment run created for a corresponding migration task.

        If you specify no parameters, this operation provides a list of all possible individual assessments that you can specify for an assessment run. If you specify any one of the task modeling parameters, you must specify all of them or the operation cannot provide a list of individual assessments. The only parameter that you can specify alone is for an existing migration task. The specified task definition then determines the default list of individual assessments that you can specify in an assessment run for the task.


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

        Parameters:
        describeApplicableIndividualAssessmentsRequest - A Consumer that will call methods on DescribeApplicableIndividualAssessmentsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeApplicableIndividualAssessments operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeApplicableIndividualAssessmentsPaginator

        default DescribeApplicableIndividualAssessmentsPublisher describeApplicableIndividualAssessmentsPaginator​(DescribeApplicableIndividualAssessmentsRequest describeApplicableIndividualAssessmentsRequest)

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

        Parameters:
        describeApplicableIndividualAssessmentsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeApplicableIndividualAssessmentsPaginator

        default DescribeApplicableIndividualAssessmentsPublisher describeApplicableIndividualAssessmentsPaginator​(Consumer<DescribeApplicableIndividualAssessmentsRequest.Builder> describeApplicableIndividualAssessmentsRequest)

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


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

        Parameters:
        describeApplicableIndividualAssessmentsRequest - A Consumer that will call methods on DescribeApplicableIndividualAssessmentsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeCertificates

        default CompletableFuture<DescribeCertificatesResponse> describeCertificates​(DescribeCertificatesRequest describeCertificatesRequest)

        Provides a description of the certificate.

        Parameters:
        describeCertificatesRequest -
        Returns:
        A Java Future containing the result of the DescribeCertificates operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeCertificates

        default CompletableFuture<DescribeCertificatesResponse> describeCertificates​(Consumer<DescribeCertificatesRequest.Builder> describeCertificatesRequest)

        Provides a description of the certificate.


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

        Parameters:
        describeCertificatesRequest - A Consumer that will call methods on DescribeCertificatesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeCertificates operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeCertificates

        default CompletableFuture<DescribeCertificatesResponse> describeCertificates()

        Provides a description of the certificate.

        Returns:
        A Java Future containing the result of the DescribeCertificates operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeCertificatesPaginator

        default DescribeCertificatesPublisher describeCertificatesPaginator()

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

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeCertificatesPaginator

        default DescribeCertificatesPublisher describeCertificatesPaginator​(DescribeCertificatesRequest describeCertificatesRequest)

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

        Parameters:
        describeCertificatesRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeCertificatesPaginator

        default DescribeCertificatesPublisher describeCertificatesPaginator​(Consumer<DescribeCertificatesRequest.Builder> describeCertificatesRequest)

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


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

        Parameters:
        describeCertificatesRequest - A Consumer that will call methods on DescribeCertificatesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeConnections

        default CompletableFuture<DescribeConnectionsResponse> describeConnections​(DescribeConnectionsRequest describeConnectionsRequest)

        Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.

        Parameters:
        describeConnectionsRequest -
        Returns:
        A Java Future containing the result of the DescribeConnections operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeConnections

        default CompletableFuture<DescribeConnectionsResponse> describeConnections​(Consumer<DescribeConnectionsRequest.Builder> describeConnectionsRequest)

        Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.


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

        Parameters:
        describeConnectionsRequest - A Consumer that will call methods on DescribeConnectionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeConnections operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeConnections

        default CompletableFuture<DescribeConnectionsResponse> describeConnections()

        Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.

        Returns:
        A Java Future containing the result of the DescribeConnections operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeConnectionsPaginator

        default DescribeConnectionsPublisher describeConnectionsPaginator()

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

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeConnectionsPaginator

        default DescribeConnectionsPublisher describeConnectionsPaginator​(DescribeConnectionsRequest describeConnectionsRequest)

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

        Parameters:
        describeConnectionsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeConnectionsPaginator

        default DescribeConnectionsPublisher describeConnectionsPaginator​(Consumer<DescribeConnectionsRequest.Builder> describeConnectionsRequest)

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


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

        Parameters:
        describeConnectionsRequest - A Consumer that will call methods on DescribeConnectionsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeConversionConfiguration

        default CompletableFuture<DescribeConversionConfigurationResponse> describeConversionConfiguration​(DescribeConversionConfigurationRequest describeConversionConfigurationRequest)

        Returns configuration parameters for a schema conversion project.

        Parameters:
        describeConversionConfigurationRequest -
        Returns:
        A Java Future containing the result of the DescribeConversionConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeConversionConfiguration

        default CompletableFuture<DescribeConversionConfigurationResponse> describeConversionConfiguration​(Consumer<DescribeConversionConfigurationRequest.Builder> describeConversionConfigurationRequest)

        Returns configuration parameters for a schema conversion project.


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

        Parameters:
        describeConversionConfigurationRequest - A Consumer that will call methods on DescribeConversionConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeConversionConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeDataProviders

        default CompletableFuture<DescribeDataProvidersResponse> describeDataProviders​(DescribeDataProvidersRequest describeDataProvidersRequest)

        Returns a paginated list of data providers for your account in the current region.

        Parameters:
        describeDataProvidersRequest -
        Returns:
        A Java Future containing the result of the DescribeDataProviders operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeDataProviders

        default CompletableFuture<DescribeDataProvidersResponse> describeDataProviders​(Consumer<DescribeDataProvidersRequest.Builder> describeDataProvidersRequest)

        Returns a paginated list of data providers for your account in the current region.


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

        Parameters:
        describeDataProvidersRequest - A Consumer that will call methods on DescribeDataProvidersRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeDataProviders operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeDataProvidersPaginator

        default DescribeDataProvidersPublisher describeDataProvidersPaginator​(DescribeDataProvidersRequest describeDataProvidersRequest)

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

        Parameters:
        describeDataProvidersRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeDataProvidersPaginator

        default DescribeDataProvidersPublisher describeDataProvidersPaginator​(Consumer<DescribeDataProvidersRequest.Builder> describeDataProvidersRequest)

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


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

        Parameters:
        describeDataProvidersRequest - A Consumer that will call methods on DescribeDataProvidersRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpointSettings

        default CompletableFuture<DescribeEndpointSettingsResponse> describeEndpointSettings​(DescribeEndpointSettingsRequest describeEndpointSettingsRequest)

        Returns information about the possible endpoint settings available when you create an endpoint for a specific database engine.

        Parameters:
        describeEndpointSettingsRequest -
        Returns:
        A Java Future containing the result of the DescribeEndpointSettings operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpointSettings

        default CompletableFuture<DescribeEndpointSettingsResponse> describeEndpointSettings​(Consumer<DescribeEndpointSettingsRequest.Builder> describeEndpointSettingsRequest)

        Returns information about the possible endpoint settings available when you create an endpoint for a specific database engine.


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

        Parameters:
        describeEndpointSettingsRequest - A Consumer that will call methods on DescribeEndpointSettingsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeEndpointSettings operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpointSettingsPaginator

        default DescribeEndpointSettingsPublisher describeEndpointSettingsPaginator​(DescribeEndpointSettingsRequest describeEndpointSettingsRequest)

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

        Parameters:
        describeEndpointSettingsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpointSettingsPaginator

        default DescribeEndpointSettingsPublisher describeEndpointSettingsPaginator​(Consumer<DescribeEndpointSettingsRequest.Builder> describeEndpointSettingsRequest)

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


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

        Parameters:
        describeEndpointSettingsRequest - A Consumer that will call methods on DescribeEndpointSettingsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpointTypes

        default CompletableFuture<DescribeEndpointTypesResponse> describeEndpointTypes​(DescribeEndpointTypesRequest describeEndpointTypesRequest)

        Returns information about the type of endpoints available.

        Parameters:
        describeEndpointTypesRequest -
        Returns:
        A Java Future containing the result of the DescribeEndpointTypes operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpointTypes

        default CompletableFuture<DescribeEndpointTypesResponse> describeEndpointTypes​(Consumer<DescribeEndpointTypesRequest.Builder> describeEndpointTypesRequest)

        Returns information about the type of endpoints available.


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

        Parameters:
        describeEndpointTypesRequest - A Consumer that will call methods on DescribeEndpointTypesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeEndpointTypes operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpointTypes

        default CompletableFuture<DescribeEndpointTypesResponse> describeEndpointTypes()

        Returns information about the type of endpoints available.

        Returns:
        A Java Future containing the result of the DescribeEndpointTypes operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpointTypesPaginator

        default DescribeEndpointTypesPublisher describeEndpointTypesPaginator()

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

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpointTypesPaginator

        default DescribeEndpointTypesPublisher describeEndpointTypesPaginator​(DescribeEndpointTypesRequest describeEndpointTypesRequest)

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

        Parameters:
        describeEndpointTypesRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpointTypesPaginator

        default DescribeEndpointTypesPublisher describeEndpointTypesPaginator​(Consumer<DescribeEndpointTypesRequest.Builder> describeEndpointTypesRequest)

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


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

        Parameters:
        describeEndpointTypesRequest - A Consumer that will call methods on DescribeEndpointTypesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpoints

        default CompletableFuture<DescribeEndpointsResponse> describeEndpoints​(DescribeEndpointsRequest describeEndpointsRequest)

        Returns information about the endpoints for your account in the current region.

        Parameters:
        describeEndpointsRequest -
        Returns:
        A Java Future containing the result of the DescribeEndpoints operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpoints

        default CompletableFuture<DescribeEndpointsResponse> describeEndpoints​(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest)

        Returns information about the endpoints for your account in the current region.


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

        Parameters:
        describeEndpointsRequest - A Consumer that will call methods on DescribeEndpointsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeEndpoints operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpoints

        default CompletableFuture<DescribeEndpointsResponse> describeEndpoints()

        Returns information about the endpoints for your account in the current region.

        Returns:
        A Java Future containing the result of the DescribeEndpoints operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpointsPaginator

        default DescribeEndpointsPublisher describeEndpointsPaginator()

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

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpointsPaginator

        default DescribeEndpointsPublisher describeEndpointsPaginator​(DescribeEndpointsRequest describeEndpointsRequest)

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

        Parameters:
        describeEndpointsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEndpointsPaginator

        default DescribeEndpointsPublisher describeEndpointsPaginator​(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest)

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


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

        Parameters:
        describeEndpointsRequest - A Consumer that will call methods on DescribeEndpointsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEngineVersions

        default CompletableFuture<DescribeEngineVersionsResponse> describeEngineVersions​(DescribeEngineVersionsRequest describeEngineVersionsRequest)

        Returns information about the replication instance versions used in the project.

        Parameters:
        describeEngineVersionsRequest -
        Returns:
        A Java Future containing the result of the DescribeEngineVersions operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEngineVersions

        default CompletableFuture<DescribeEngineVersionsResponse> describeEngineVersions​(Consumer<DescribeEngineVersionsRequest.Builder> describeEngineVersionsRequest)

        Returns information about the replication instance versions used in the project.


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

        Parameters:
        describeEngineVersionsRequest - A Consumer that will call methods on DescribeEngineVersionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeEngineVersions operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEngineVersionsPaginator

        default DescribeEngineVersionsPublisher describeEngineVersionsPaginator​(DescribeEngineVersionsRequest describeEngineVersionsRequest)

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

        Parameters:
        describeEngineVersionsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEngineVersionsPaginator

        default DescribeEngineVersionsPublisher describeEngineVersionsPaginator​(Consumer<DescribeEngineVersionsRequest.Builder> describeEngineVersionsRequest)

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


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

        Parameters:
        describeEngineVersionsRequest - A Consumer that will call methods on DescribeEngineVersionsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEventCategories

        default CompletableFuture<DescribeEventCategoriesResponse> describeEventCategories​(DescribeEventCategoriesRequest describeEventCategoriesRequest)

        Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Working with Events and Notifications in the Database Migration Service User Guide.

        Parameters:
        describeEventCategoriesRequest -
        Returns:
        A Java Future containing the result of the DescribeEventCategories operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEventCategories

        default CompletableFuture<DescribeEventCategoriesResponse> describeEventCategories​(Consumer<DescribeEventCategoriesRequest.Builder> describeEventCategoriesRequest)

        Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Working with Events and Notifications in the Database Migration Service User Guide.


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

        Parameters:
        describeEventCategoriesRequest - A Consumer that will call methods on DescribeEventCategoriesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeEventCategories operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEventCategories

        default CompletableFuture<DescribeEventCategoriesResponse> describeEventCategories()

        Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Working with Events and Notifications in the Database Migration Service User Guide.

        Returns:
        A Java Future containing the result of the DescribeEventCategories operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEventSubscriptions

        default CompletableFuture<DescribeEventSubscriptionsResponse> describeEventSubscriptions​(DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest)

        Lists all the event subscriptions for a customer account. The description of a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status.

        If you specify SubscriptionName, this action lists the description for that subscription.

        Parameters:
        describeEventSubscriptionsRequest -
        Returns:
        A Java Future containing the result of the DescribeEventSubscriptions operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEventSubscriptions

        default CompletableFuture<DescribeEventSubscriptionsResponse> describeEventSubscriptions​(Consumer<DescribeEventSubscriptionsRequest.Builder> describeEventSubscriptionsRequest)

        Lists all the event subscriptions for a customer account. The description of a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status.

        If you specify SubscriptionName, this action lists the description for that subscription.


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

        Parameters:
        describeEventSubscriptionsRequest - A Consumer that will call methods on DescribeEventSubscriptionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeEventSubscriptions operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEventSubscriptions

        default CompletableFuture<DescribeEventSubscriptionsResponse> describeEventSubscriptions()

        Lists all the event subscriptions for a customer account. The description of a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status.

        If you specify SubscriptionName, this action lists the description for that subscription.

        Returns:
        A Java Future containing the result of the DescribeEventSubscriptions operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEventSubscriptionsPaginator

        default DescribeEventSubscriptionsPublisher describeEventSubscriptionsPaginator()

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

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEventSubscriptionsPaginator

        default DescribeEventSubscriptionsPublisher describeEventSubscriptionsPaginator​(DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest)

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

        Parameters:
        describeEventSubscriptionsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEventSubscriptionsPaginator

        default DescribeEventSubscriptionsPublisher describeEventSubscriptionsPaginator​(Consumer<DescribeEventSubscriptionsRequest.Builder> describeEventSubscriptionsRequest)

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


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

        Parameters:
        describeEventSubscriptionsRequest - A Consumer that will call methods on DescribeEventSubscriptionsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEvents

        default CompletableFuture<DescribeEventsResponse> describeEvents​(DescribeEventsRequest describeEventsRequest)

        Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on DMS events, see Working with Events and Notifications in the Database Migration Service User Guide.

        Parameters:
        describeEventsRequest -
        Returns:
        A Java Future containing the result of the DescribeEvents operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEvents

        default CompletableFuture<DescribeEventsResponse> describeEvents​(Consumer<DescribeEventsRequest.Builder> describeEventsRequest)

        Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on DMS events, see Working with Events and Notifications in the Database Migration Service User Guide.


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

        Parameters:
        describeEventsRequest - A Consumer that will call methods on DescribeEventsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeEvents operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEvents

        default CompletableFuture<DescribeEventsResponse> describeEvents()

        Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on DMS events, see Working with Events and Notifications in the Database Migration Service User Guide.

        Returns:
        A Java Future containing the result of the DescribeEvents operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEventsPaginator

        default DescribeEventsPublisher describeEventsPaginator()

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

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEventsPaginator

        default DescribeEventsPublisher describeEventsPaginator​(DescribeEventsRequest describeEventsRequest)

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

        Parameters:
        describeEventsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeEventsPaginator

        default DescribeEventsPublisher describeEventsPaginator​(Consumer<DescribeEventsRequest.Builder> describeEventsRequest)

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


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

        Parameters:
        describeEventsRequest - A Consumer that will call methods on DescribeEventsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeExtensionPackAssociations

        default CompletableFuture<DescribeExtensionPackAssociationsResponse> describeExtensionPackAssociations​(DescribeExtensionPackAssociationsRequest describeExtensionPackAssociationsRequest)

        Returns a paginated list of extension pack associations for the specified migration project. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database.

        Parameters:
        describeExtensionPackAssociationsRequest -
        Returns:
        A Java Future containing the result of the DescribeExtensionPackAssociations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeExtensionPackAssociations

        default CompletableFuture<DescribeExtensionPackAssociationsResponse> describeExtensionPackAssociations​(Consumer<DescribeExtensionPackAssociationsRequest.Builder> describeExtensionPackAssociationsRequest)

        Returns a paginated list of extension pack associations for the specified migration project. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database.


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

        Parameters:
        describeExtensionPackAssociationsRequest - A Consumer that will call methods on DescribeExtensionPackAssociationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeExtensionPackAssociations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeExtensionPackAssociationsPaginator

        default DescribeExtensionPackAssociationsPublisher describeExtensionPackAssociationsPaginator​(DescribeExtensionPackAssociationsRequest describeExtensionPackAssociationsRequest)

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

        Parameters:
        describeExtensionPackAssociationsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeExtensionPackAssociationsPaginator

        default DescribeExtensionPackAssociationsPublisher describeExtensionPackAssociationsPaginator​(Consumer<DescribeExtensionPackAssociationsRequest.Builder> describeExtensionPackAssociationsRequest)

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


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

        Parameters:
        describeExtensionPackAssociationsRequest - A Consumer that will call methods on DescribeExtensionPackAssociationsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorCollectors

        default CompletableFuture<DescribeFleetAdvisorCollectorsResponse> describeFleetAdvisorCollectors​(DescribeFleetAdvisorCollectorsRequest describeFleetAdvisorCollectorsRequest)

        Returns a list of the Fleet Advisor collectors in your account.

        Parameters:
        describeFleetAdvisorCollectorsRequest -
        Returns:
        A Java Future containing the result of the DescribeFleetAdvisorCollectors operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorCollectors

        default CompletableFuture<DescribeFleetAdvisorCollectorsResponse> describeFleetAdvisorCollectors​(Consumer<DescribeFleetAdvisorCollectorsRequest.Builder> describeFleetAdvisorCollectorsRequest)

        Returns a list of the Fleet Advisor collectors in your account.


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

        Parameters:
        describeFleetAdvisorCollectorsRequest - A Consumer that will call methods on DescribeFleetAdvisorCollectorsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeFleetAdvisorCollectors operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorCollectorsPaginator

        default DescribeFleetAdvisorCollectorsPublisher describeFleetAdvisorCollectorsPaginator​(DescribeFleetAdvisorCollectorsRequest describeFleetAdvisorCollectorsRequest)

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

        Parameters:
        describeFleetAdvisorCollectorsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorCollectorsPaginator

        default DescribeFleetAdvisorCollectorsPublisher describeFleetAdvisorCollectorsPaginator​(Consumer<DescribeFleetAdvisorCollectorsRequest.Builder> describeFleetAdvisorCollectorsRequest)

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


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

        Parameters:
        describeFleetAdvisorCollectorsRequest - A Consumer that will call methods on DescribeFleetAdvisorCollectorsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorDatabases

        default CompletableFuture<DescribeFleetAdvisorDatabasesResponse> describeFleetAdvisorDatabases​(DescribeFleetAdvisorDatabasesRequest describeFleetAdvisorDatabasesRequest)

        Returns a list of Fleet Advisor databases in your account.

        Parameters:
        describeFleetAdvisorDatabasesRequest -
        Returns:
        A Java Future containing the result of the DescribeFleetAdvisorDatabases operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorDatabases

        default CompletableFuture<DescribeFleetAdvisorDatabasesResponse> describeFleetAdvisorDatabases​(Consumer<DescribeFleetAdvisorDatabasesRequest.Builder> describeFleetAdvisorDatabasesRequest)

        Returns a list of Fleet Advisor databases in your account.


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

        Parameters:
        describeFleetAdvisorDatabasesRequest - A Consumer that will call methods on DescribeFleetAdvisorDatabasesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeFleetAdvisorDatabases operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorDatabasesPaginator

        default DescribeFleetAdvisorDatabasesPublisher describeFleetAdvisorDatabasesPaginator​(DescribeFleetAdvisorDatabasesRequest describeFleetAdvisorDatabasesRequest)

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

        Parameters:
        describeFleetAdvisorDatabasesRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorDatabasesPaginator

        default DescribeFleetAdvisorDatabasesPublisher describeFleetAdvisorDatabasesPaginator​(Consumer<DescribeFleetAdvisorDatabasesRequest.Builder> describeFleetAdvisorDatabasesRequest)

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


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

        Parameters:
        describeFleetAdvisorDatabasesRequest - A Consumer that will call methods on DescribeFleetAdvisorDatabasesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorLsaAnalysis

        default CompletableFuture<DescribeFleetAdvisorLsaAnalysisResponse> describeFleetAdvisorLsaAnalysis​(DescribeFleetAdvisorLsaAnalysisRequest describeFleetAdvisorLsaAnalysisRequest)

        Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.

        Parameters:
        describeFleetAdvisorLsaAnalysisRequest -
        Returns:
        A Java Future containing the result of the DescribeFleetAdvisorLsaAnalysis operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorLsaAnalysis

        default CompletableFuture<DescribeFleetAdvisorLsaAnalysisResponse> describeFleetAdvisorLsaAnalysis​(Consumer<DescribeFleetAdvisorLsaAnalysisRequest.Builder> describeFleetAdvisorLsaAnalysisRequest)

        Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.


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

        Parameters:
        describeFleetAdvisorLsaAnalysisRequest - A Consumer that will call methods on DescribeFleetAdvisorLsaAnalysisRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeFleetAdvisorLsaAnalysis operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorLsaAnalysisPaginator

        default DescribeFleetAdvisorLsaAnalysisPublisher describeFleetAdvisorLsaAnalysisPaginator​(DescribeFleetAdvisorLsaAnalysisRequest describeFleetAdvisorLsaAnalysisRequest)

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

        Parameters:
        describeFleetAdvisorLsaAnalysisRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorLsaAnalysisPaginator

        default DescribeFleetAdvisorLsaAnalysisPublisher describeFleetAdvisorLsaAnalysisPaginator​(Consumer<DescribeFleetAdvisorLsaAnalysisRequest.Builder> describeFleetAdvisorLsaAnalysisRequest)

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


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

        Parameters:
        describeFleetAdvisorLsaAnalysisRequest - A Consumer that will call methods on DescribeFleetAdvisorLsaAnalysisRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorSchemaObjectSummary

        default CompletableFuture<DescribeFleetAdvisorSchemaObjectSummaryResponse> describeFleetAdvisorSchemaObjectSummary​(DescribeFleetAdvisorSchemaObjectSummaryRequest describeFleetAdvisorSchemaObjectSummaryRequest)

        Provides descriptions of the schemas discovered by your Fleet Advisor collectors.

        Parameters:
        describeFleetAdvisorSchemaObjectSummaryRequest -
        Returns:
        A Java Future containing the result of the DescribeFleetAdvisorSchemaObjectSummary operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorSchemaObjectSummaryPaginator

        default DescribeFleetAdvisorSchemaObjectSummaryPublisher describeFleetAdvisorSchemaObjectSummaryPaginator​(DescribeFleetAdvisorSchemaObjectSummaryRequest describeFleetAdvisorSchemaObjectSummaryRequest)

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

        Parameters:
        describeFleetAdvisorSchemaObjectSummaryRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorSchemaObjectSummaryPaginator

        default DescribeFleetAdvisorSchemaObjectSummaryPublisher describeFleetAdvisorSchemaObjectSummaryPaginator​(Consumer<DescribeFleetAdvisorSchemaObjectSummaryRequest.Builder> describeFleetAdvisorSchemaObjectSummaryRequest)

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


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

        Parameters:
        describeFleetAdvisorSchemaObjectSummaryRequest - A Consumer that will call methods on DescribeFleetAdvisorSchemaObjectSummaryRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorSchemas

        default CompletableFuture<DescribeFleetAdvisorSchemasResponse> describeFleetAdvisorSchemas​(DescribeFleetAdvisorSchemasRequest describeFleetAdvisorSchemasRequest)

        Returns a list of schemas detected by Fleet Advisor Collectors in your account.

        Parameters:
        describeFleetAdvisorSchemasRequest -
        Returns:
        A Java Future containing the result of the DescribeFleetAdvisorSchemas operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorSchemas

        default CompletableFuture<DescribeFleetAdvisorSchemasResponse> describeFleetAdvisorSchemas​(Consumer<DescribeFleetAdvisorSchemasRequest.Builder> describeFleetAdvisorSchemasRequest)

        Returns a list of schemas detected by Fleet Advisor Collectors in your account.


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

        Parameters:
        describeFleetAdvisorSchemasRequest - A Consumer that will call methods on DescribeFleetAdvisorSchemasRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeFleetAdvisorSchemas operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorSchemasPaginator

        default DescribeFleetAdvisorSchemasPublisher describeFleetAdvisorSchemasPaginator​(DescribeFleetAdvisorSchemasRequest describeFleetAdvisorSchemasRequest)

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

        Parameters:
        describeFleetAdvisorSchemasRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetAdvisorSchemasPaginator

        default DescribeFleetAdvisorSchemasPublisher describeFleetAdvisorSchemasPaginator​(Consumer<DescribeFleetAdvisorSchemasRequest.Builder> describeFleetAdvisorSchemasRequest)

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


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

        Parameters:
        describeFleetAdvisorSchemasRequest - A Consumer that will call methods on DescribeFleetAdvisorSchemasRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeInstanceProfiles

        default CompletableFuture<DescribeInstanceProfilesResponse> describeInstanceProfiles​(DescribeInstanceProfilesRequest describeInstanceProfilesRequest)

        Returns a paginated list of instance profiles for your account in the current region.

        Parameters:
        describeInstanceProfilesRequest -
        Returns:
        A Java Future containing the result of the DescribeInstanceProfiles operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeInstanceProfiles

        default CompletableFuture<DescribeInstanceProfilesResponse> describeInstanceProfiles​(Consumer<DescribeInstanceProfilesRequest.Builder> describeInstanceProfilesRequest)

        Returns a paginated list of instance profiles for your account in the current region.


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

        Parameters:
        describeInstanceProfilesRequest - A Consumer that will call methods on DescribeInstanceProfilesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeInstanceProfiles operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeInstanceProfilesPaginator

        default DescribeInstanceProfilesPublisher describeInstanceProfilesPaginator​(DescribeInstanceProfilesRequest describeInstanceProfilesRequest)

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

        Parameters:
        describeInstanceProfilesRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeInstanceProfilesPaginator

        default DescribeInstanceProfilesPublisher describeInstanceProfilesPaginator​(Consumer<DescribeInstanceProfilesRequest.Builder> describeInstanceProfilesRequest)

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


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

        Parameters:
        describeInstanceProfilesRequest - A Consumer that will call methods on DescribeInstanceProfilesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelAssessments

        default CompletableFuture<DescribeMetadataModelAssessmentsResponse> describeMetadataModelAssessments​(DescribeMetadataModelAssessmentsRequest describeMetadataModelAssessmentsRequest)

        Returns a paginated list of metadata model assessments for your account in the current region.

        Parameters:
        describeMetadataModelAssessmentsRequest -
        Returns:
        A Java Future containing the result of the DescribeMetadataModelAssessments operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelAssessments

        default CompletableFuture<DescribeMetadataModelAssessmentsResponse> describeMetadataModelAssessments​(Consumer<DescribeMetadataModelAssessmentsRequest.Builder> describeMetadataModelAssessmentsRequest)

        Returns a paginated list of metadata model assessments for your account in the current region.


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

        Parameters:
        describeMetadataModelAssessmentsRequest - A Consumer that will call methods on DescribeMetadataModelAssessmentsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeMetadataModelAssessments operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelAssessmentsPaginator

        default DescribeMetadataModelAssessmentsPublisher describeMetadataModelAssessmentsPaginator​(DescribeMetadataModelAssessmentsRequest describeMetadataModelAssessmentsRequest)

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

        Parameters:
        describeMetadataModelAssessmentsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelAssessmentsPaginator

        default DescribeMetadataModelAssessmentsPublisher describeMetadataModelAssessmentsPaginator​(Consumer<DescribeMetadataModelAssessmentsRequest.Builder> describeMetadataModelAssessmentsRequest)

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


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

        Parameters:
        describeMetadataModelAssessmentsRequest - A Consumer that will call methods on DescribeMetadataModelAssessmentsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelConversions

        default CompletableFuture<DescribeMetadataModelConversionsResponse> describeMetadataModelConversions​(DescribeMetadataModelConversionsRequest describeMetadataModelConversionsRequest)

        Returns a paginated list of metadata model conversions for a migration project.

        Parameters:
        describeMetadataModelConversionsRequest -
        Returns:
        A Java Future containing the result of the DescribeMetadataModelConversions operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelConversionsPaginator

        default DescribeMetadataModelConversionsPublisher describeMetadataModelConversionsPaginator​(DescribeMetadataModelConversionsRequest describeMetadataModelConversionsRequest)

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

        Parameters:
        describeMetadataModelConversionsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelConversionsPaginator

        default DescribeMetadataModelConversionsPublisher describeMetadataModelConversionsPaginator​(Consumer<DescribeMetadataModelConversionsRequest.Builder> describeMetadataModelConversionsRequest)

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


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

        Parameters:
        describeMetadataModelConversionsRequest - A Consumer that will call methods on DescribeMetadataModelConversionsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelExportsAsScript

        default CompletableFuture<DescribeMetadataModelExportsAsScriptResponse> describeMetadataModelExportsAsScript​(DescribeMetadataModelExportsAsScriptRequest describeMetadataModelExportsAsScriptRequest)

        Returns a paginated list of metadata model exports.

        Parameters:
        describeMetadataModelExportsAsScriptRequest -
        Returns:
        A Java Future containing the result of the DescribeMetadataModelExportsAsScript operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelExportsAsScriptPaginator

        default DescribeMetadataModelExportsAsScriptPublisher describeMetadataModelExportsAsScriptPaginator​(DescribeMetadataModelExportsAsScriptRequest describeMetadataModelExportsAsScriptRequest)

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

        Parameters:
        describeMetadataModelExportsAsScriptRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelExportsAsScriptPaginator

        default DescribeMetadataModelExportsAsScriptPublisher describeMetadataModelExportsAsScriptPaginator​(Consumer<DescribeMetadataModelExportsAsScriptRequest.Builder> describeMetadataModelExportsAsScriptRequest)

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


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

        Parameters:
        describeMetadataModelExportsAsScriptRequest - A Consumer that will call methods on DescribeMetadataModelExportsAsScriptRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelExportsToTarget

        default CompletableFuture<DescribeMetadataModelExportsToTargetResponse> describeMetadataModelExportsToTarget​(DescribeMetadataModelExportsToTargetRequest describeMetadataModelExportsToTargetRequest)

        Returns a paginated list of metadata model exports.

        Parameters:
        describeMetadataModelExportsToTargetRequest -
        Returns:
        A Java Future containing the result of the DescribeMetadataModelExportsToTarget operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelExportsToTargetPaginator

        default DescribeMetadataModelExportsToTargetPublisher describeMetadataModelExportsToTargetPaginator​(DescribeMetadataModelExportsToTargetRequest describeMetadataModelExportsToTargetRequest)

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

        Parameters:
        describeMetadataModelExportsToTargetRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelExportsToTargetPaginator

        default DescribeMetadataModelExportsToTargetPublisher describeMetadataModelExportsToTargetPaginator​(Consumer<DescribeMetadataModelExportsToTargetRequest.Builder> describeMetadataModelExportsToTargetRequest)

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


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

        Parameters:
        describeMetadataModelExportsToTargetRequest - A Consumer that will call methods on DescribeMetadataModelExportsToTargetRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelImports

        default CompletableFuture<DescribeMetadataModelImportsResponse> describeMetadataModelImports​(DescribeMetadataModelImportsRequest describeMetadataModelImportsRequest)

        Returns a paginated list of metadata model imports.

        Parameters:
        describeMetadataModelImportsRequest -
        Returns:
        A Java Future containing the result of the DescribeMetadataModelImports operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelImports

        default CompletableFuture<DescribeMetadataModelImportsResponse> describeMetadataModelImports​(Consumer<DescribeMetadataModelImportsRequest.Builder> describeMetadataModelImportsRequest)

        Returns a paginated list of metadata model imports.


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

        Parameters:
        describeMetadataModelImportsRequest - A Consumer that will call methods on DescribeMetadataModelImportsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeMetadataModelImports operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelImportsPaginator

        default DescribeMetadataModelImportsPublisher describeMetadataModelImportsPaginator​(DescribeMetadataModelImportsRequest describeMetadataModelImportsRequest)

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

        Parameters:
        describeMetadataModelImportsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMetadataModelImportsPaginator

        default DescribeMetadataModelImportsPublisher describeMetadataModelImportsPaginator​(Consumer<DescribeMetadataModelImportsRequest.Builder> describeMetadataModelImportsRequest)

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


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

        Parameters:
        describeMetadataModelImportsRequest - A Consumer that will call methods on DescribeMetadataModelImportsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMigrationProjects

        default CompletableFuture<DescribeMigrationProjectsResponse> describeMigrationProjects​(DescribeMigrationProjectsRequest describeMigrationProjectsRequest)

        Returns a paginated list of migration projects for your account in the current region.

        Parameters:
        describeMigrationProjectsRequest -
        Returns:
        A Java Future containing the result of the DescribeMigrationProjects operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMigrationProjects

        default CompletableFuture<DescribeMigrationProjectsResponse> describeMigrationProjects​(Consumer<DescribeMigrationProjectsRequest.Builder> describeMigrationProjectsRequest)

        Returns a paginated list of migration projects for your account in the current region.


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

        Parameters:
        describeMigrationProjectsRequest - A Consumer that will call methods on DescribeMigrationProjectsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeMigrationProjects operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMigrationProjectsPaginator

        default DescribeMigrationProjectsPublisher describeMigrationProjectsPaginator​(DescribeMigrationProjectsRequest describeMigrationProjectsRequest)

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

        Parameters:
        describeMigrationProjectsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeMigrationProjectsPaginator

        default DescribeMigrationProjectsPublisher describeMigrationProjectsPaginator​(Consumer<DescribeMigrationProjectsRequest.Builder> describeMigrationProjectsRequest)

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


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

        Parameters:
        describeMigrationProjectsRequest - A Consumer that will call methods on DescribeMigrationProjectsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeOrderableReplicationInstances

        default CompletableFuture<DescribeOrderableReplicationInstancesResponse> describeOrderableReplicationInstances​(DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest)

        Returns information about the replication instance types that can be created in the specified region.

        Parameters:
        describeOrderableReplicationInstancesRequest -
        Returns:
        A Java Future containing the result of the DescribeOrderableReplicationInstances operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeOrderableReplicationInstances

        default CompletableFuture<DescribeOrderableReplicationInstancesResponse> describeOrderableReplicationInstances()

        Returns information about the replication instance types that can be created in the specified region.

        Returns:
        A Java Future containing the result of the DescribeOrderableReplicationInstances operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeOrderableReplicationInstancesPaginator

        default DescribeOrderableReplicationInstancesPublisher describeOrderableReplicationInstancesPaginator()

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

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeOrderableReplicationInstancesPaginator

        default DescribeOrderableReplicationInstancesPublisher describeOrderableReplicationInstancesPaginator​(DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest)

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

        Parameters:
        describeOrderableReplicationInstancesRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeOrderableReplicationInstancesPaginator

        default DescribeOrderableReplicationInstancesPublisher describeOrderableReplicationInstancesPaginator​(Consumer<DescribeOrderableReplicationInstancesRequest.Builder> describeOrderableReplicationInstancesRequest)

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


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

        Parameters:
        describeOrderableReplicationInstancesRequest - A Consumer that will call methods on DescribeOrderableReplicationInstancesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying 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.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describePendingMaintenanceActions

        default CompletableFuture<DescribePendingMaintenanceActionsResponse> describePendingMaintenanceActions​(DescribePendingMaintenanceActionsRequest describePendingMaintenanceActionsRequest)

        For internal use only

        Parameters:
        describePendingMaintenanceActionsRequest -
        Returns:
        A Java Future containing the result of the DescribePendingMaintenanceActions operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describePendingMaintenanceActionsPaginator

        default DescribePendingMaintenanceActionsPublisher describePendingMaintenanceActionsPaginator​(DescribePendingMaintenanceActionsRequest describePendingMaintenanceActionsRequest)

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

        Parameters:
        describePendingMaintenanceActionsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describePendingMaintenanceActionsPaginator

        default DescribePendingMaintenanceActionsPublisher describePendingMaintenanceActionsPaginator​(Consumer<DescribePendingMaintenanceActionsRequest.Builder> describePendingMaintenanceActionsRequest)

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


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

        Parameters:
        describePendingMaintenanceActionsRequest - A Consumer that will call methods on DescribePendingMaintenanceActionsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeRecommendationLimitations

        default CompletableFuture<DescribeRecommendationLimitationsResponse> describeRecommendationLimitations​(DescribeRecommendationLimitationsRequest describeRecommendationLimitationsRequest)

        Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.

        Parameters:
        describeRecommendationLimitationsRequest -
        Returns:
        A Java Future containing the result of the DescribeRecommendationLimitations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeRecommendationLimitations

        default CompletableFuture<DescribeRecommendationLimitationsResponse> describeRecommendationLimitations​(Consumer<DescribeRecommendationLimitationsRequest.Builder> describeRecommendationLimitationsRequest)

        Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.


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

        Parameters:
        describeRecommendationLimitationsRequest - A Consumer that will call methods on DescribeRecommendationLimitationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeRecommendationLimitations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeRecommendationLimitationsPaginator

        default DescribeRecommendationLimitationsPublisher describeRecommendationLimitationsPaginator​(DescribeRecommendationLimitationsRequest describeRecommendationLimitationsRequest)

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

        Parameters:
        describeRecommendationLimitationsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeRecommendationLimitationsPaginator

        default DescribeRecommendationLimitationsPublisher describeRecommendationLimitationsPaginator​(Consumer<DescribeRecommendationLimitationsRequest.Builder> describeRecommendationLimitationsRequest)

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


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

        Parameters:
        describeRecommendationLimitationsRequest - A Consumer that will call methods on DescribeRecommendationLimitationsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeRecommendations

        default CompletableFuture<DescribeRecommendationsResponse> describeRecommendations​(DescribeRecommendationsRequest describeRecommendationsRequest)

        Returns a paginated list of target engine recommendations for your source databases.

        Parameters:
        describeRecommendationsRequest -
        Returns:
        A Java Future containing the result of the DescribeRecommendations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeRecommendations

        default CompletableFuture<DescribeRecommendationsResponse> describeRecommendations​(Consumer<DescribeRecommendationsRequest.Builder> describeRecommendationsRequest)

        Returns a paginated list of target engine recommendations for your source databases.


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

        Parameters:
        describeRecommendationsRequest - A Consumer that will call methods on DescribeRecommendationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeRecommendations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeRecommendationsPaginator

        default DescribeRecommendationsPublisher describeRecommendationsPaginator​(DescribeRecommendationsRequest describeRecommendationsRequest)

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

        Parameters:
        describeRecommendationsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeRecommendationsPaginator

        default DescribeRecommendationsPublisher describeRecommendationsPaginator​(Consumer<DescribeRecommendationsRequest.Builder> describeRecommendationsRequest)

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


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

        Parameters:
        describeRecommendationsRequest - A Consumer that will call methods on DescribeRecommendationsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeRefreshSchemasStatus

        default CompletableFuture<DescribeRefreshSchemasStatusResponse> describeRefreshSchemasStatus​(DescribeRefreshSchemasStatusRequest describeRefreshSchemasStatusRequest)

        Returns the status of the RefreshSchemas operation.

        Parameters:
        describeRefreshSchemasStatusRequest -
        Returns:
        A Java Future containing the result of the DescribeRefreshSchemasStatus operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeRefreshSchemasStatus

        default CompletableFuture<DescribeRefreshSchemasStatusResponse> describeRefreshSchemasStatus​(Consumer<DescribeRefreshSchemasStatusRequest.Builder> describeRefreshSchemasStatusRequest)

        Returns the status of the RefreshSchemas operation.


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

        Parameters:
        describeRefreshSchemasStatusRequest - A Consumer that will call methods on DescribeRefreshSchemasStatusRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeRefreshSchemasStatus operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationConfigs

        default CompletableFuture<DescribeReplicationConfigsResponse> describeReplicationConfigs​(DescribeReplicationConfigsRequest describeReplicationConfigsRequest)

        Returns one or more existing DMS Serverless replication configurations as a list of structures.

        Parameters:
        describeReplicationConfigsRequest -
        Returns:
        A Java Future containing the result of the DescribeReplicationConfigs operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationConfigs

        default CompletableFuture<DescribeReplicationConfigsResponse> describeReplicationConfigs​(Consumer<DescribeReplicationConfigsRequest.Builder> describeReplicationConfigsRequest)

        Returns one or more existing DMS Serverless replication configurations as a list of structures.


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

        Parameters:
        describeReplicationConfigsRequest - A Consumer that will call methods on DescribeReplicationConfigsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeReplicationConfigs operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationConfigsPaginator

        default DescribeReplicationConfigsPublisher describeReplicationConfigsPaginator​(DescribeReplicationConfigsRequest describeReplicationConfigsRequest)

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

        Parameters:
        describeReplicationConfigsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationConfigsPaginator

        default DescribeReplicationConfigsPublisher describeReplicationConfigsPaginator​(Consumer<DescribeReplicationConfigsRequest.Builder> describeReplicationConfigsRequest)

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


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

        Parameters:
        describeReplicationConfigsRequest - A Consumer that will call methods on DescribeReplicationConfigsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationInstanceTaskLogs

        default CompletableFuture<DescribeReplicationInstanceTaskLogsResponse> describeReplicationInstanceTaskLogs​(DescribeReplicationInstanceTaskLogsRequest describeReplicationInstanceTaskLogsRequest)

        Returns information about the task logs for the specified task.

        Parameters:
        describeReplicationInstanceTaskLogsRequest -
        Returns:
        A Java Future containing the result of the DescribeReplicationInstanceTaskLogs operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationInstanceTaskLogs

        default CompletableFuture<DescribeReplicationInstanceTaskLogsResponse> describeReplicationInstanceTaskLogs​(Consumer<DescribeReplicationInstanceTaskLogsRequest.Builder> describeReplicationInstanceTaskLogsRequest)

        Returns information about the task logs for the specified task.


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

        Parameters:
        describeReplicationInstanceTaskLogsRequest - A Consumer that will call methods on DescribeReplicationInstanceTaskLogsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeReplicationInstanceTaskLogs operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationInstanceTaskLogsPaginator

        default DescribeReplicationInstanceTaskLogsPublisher describeReplicationInstanceTaskLogsPaginator​(DescribeReplicationInstanceTaskLogsRequest describeReplicationInstanceTaskLogsRequest)

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

        Parameters:
        describeReplicationInstanceTaskLogsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationInstanceTaskLogsPaginator

        default DescribeReplicationInstanceTaskLogsPublisher describeReplicationInstanceTaskLogsPaginator​(Consumer<DescribeReplicationInstanceTaskLogsRequest.Builder> describeReplicationInstanceTaskLogsRequest)

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


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

        Parameters:
        describeReplicationInstanceTaskLogsRequest - A Consumer that will call methods on DescribeReplicationInstanceTaskLogsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationInstances

        default CompletableFuture<DescribeReplicationInstancesResponse> describeReplicationInstances​(DescribeReplicationInstancesRequest describeReplicationInstancesRequest)

        Returns information about replication instances for your account in the current region.

        Parameters:
        describeReplicationInstancesRequest -
        Returns:
        A Java Future containing the result of the DescribeReplicationInstances operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationInstances

        default CompletableFuture<DescribeReplicationInstancesResponse> describeReplicationInstances​(Consumer<DescribeReplicationInstancesRequest.Builder> describeReplicationInstancesRequest)

        Returns information about replication instances for your account in the current region.


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

        Parameters:
        describeReplicationInstancesRequest - A Consumer that will call methods on DescribeReplicationInstancesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeReplicationInstances operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationInstances

        default CompletableFuture<DescribeReplicationInstancesResponse> describeReplicationInstances()

        Returns information about replication instances for your account in the current region.

        Returns:
        A Java Future containing the result of the DescribeReplicationInstances operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationInstancesPaginator

        default DescribeReplicationInstancesPublisher describeReplicationInstancesPaginator()

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

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationInstancesPaginator

        default DescribeReplicationInstancesPublisher describeReplicationInstancesPaginator​(DescribeReplicationInstancesRequest describeReplicationInstancesRequest)

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

        Parameters:
        describeReplicationInstancesRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationInstancesPaginator

        default DescribeReplicationInstancesPublisher describeReplicationInstancesPaginator​(Consumer<DescribeReplicationInstancesRequest.Builder> describeReplicationInstancesRequest)

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


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

        Parameters:
        describeReplicationInstancesRequest - A Consumer that will call methods on DescribeReplicationInstancesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationSubnetGroups

        default CompletableFuture<DescribeReplicationSubnetGroupsResponse> describeReplicationSubnetGroups​(DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest)

        Returns information about the replication subnet groups.

        Parameters:
        describeReplicationSubnetGroupsRequest -
        Returns:
        A Java Future containing the result of the DescribeReplicationSubnetGroups operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationSubnetGroups

        default CompletableFuture<DescribeReplicationSubnetGroupsResponse> describeReplicationSubnetGroups()

        Returns information about the replication subnet groups.

        Returns:
        A Java Future containing the result of the DescribeReplicationSubnetGroups operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationSubnetGroupsPaginator

        default DescribeReplicationSubnetGroupsPublisher describeReplicationSubnetGroupsPaginator()

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

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationSubnetGroupsPaginator

        default DescribeReplicationSubnetGroupsPublisher describeReplicationSubnetGroupsPaginator​(DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest)

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

        Parameters:
        describeReplicationSubnetGroupsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationSubnetGroupsPaginator

        default DescribeReplicationSubnetGroupsPublisher describeReplicationSubnetGroupsPaginator​(Consumer<DescribeReplicationSubnetGroupsRequest.Builder> describeReplicationSubnetGroupsRequest)

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


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

        Parameters:
        describeReplicationSubnetGroupsRequest - A Consumer that will call methods on DescribeReplicationSubnetGroupsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTableStatistics

        default CompletableFuture<DescribeReplicationTableStatisticsResponse> describeReplicationTableStatistics​(DescribeReplicationTableStatisticsRequest describeReplicationTableStatisticsRequest)

        Returns table and schema statistics for one or more provisioned replications that use a given DMS Serverless replication configuration.

        Parameters:
        describeReplicationTableStatisticsRequest -
        Returns:
        A Java Future containing the result of the DescribeReplicationTableStatistics operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTableStatistics

        default CompletableFuture<DescribeReplicationTableStatisticsResponse> describeReplicationTableStatistics​(Consumer<DescribeReplicationTableStatisticsRequest.Builder> describeReplicationTableStatisticsRequest)

        Returns table and schema statistics for one or more provisioned replications that use a given DMS Serverless replication configuration.


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

        Parameters:
        describeReplicationTableStatisticsRequest - A Consumer that will call methods on DescribeReplicationTableStatisticsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeReplicationTableStatistics operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTableStatisticsPaginator

        default DescribeReplicationTableStatisticsPublisher describeReplicationTableStatisticsPaginator​(DescribeReplicationTableStatisticsRequest describeReplicationTableStatisticsRequest)

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

        Parameters:
        describeReplicationTableStatisticsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTableStatisticsPaginator

        default DescribeReplicationTableStatisticsPublisher describeReplicationTableStatisticsPaginator​(Consumer<DescribeReplicationTableStatisticsRequest.Builder> describeReplicationTableStatisticsRequest)

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


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

        Parameters:
        describeReplicationTableStatisticsRequest - A Consumer that will call methods on DescribeReplicationTableStatisticsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTaskAssessmentResults

        default CompletableFuture<DescribeReplicationTaskAssessmentResultsResponse> describeReplicationTaskAssessmentResults​(DescribeReplicationTaskAssessmentResultsRequest describeReplicationTaskAssessmentResultsRequest)

        Returns the task assessment results from the Amazon S3 bucket that DMS creates in your Amazon Web Services account. This action always returns the latest results.

        For more information about DMS task assessments, see Creating a task assessment report in the Database Migration Service User Guide.

        Parameters:
        describeReplicationTaskAssessmentResultsRequest -
        Returns:
        A Java Future containing the result of the DescribeReplicationTaskAssessmentResults operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTaskAssessmentResultsPaginator

        default DescribeReplicationTaskAssessmentResultsPublisher describeReplicationTaskAssessmentResultsPaginator​(DescribeReplicationTaskAssessmentResultsRequest describeReplicationTaskAssessmentResultsRequest)

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

        Parameters:
        describeReplicationTaskAssessmentResultsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTaskAssessmentResultsPaginator

        default DescribeReplicationTaskAssessmentResultsPublisher describeReplicationTaskAssessmentResultsPaginator​(Consumer<DescribeReplicationTaskAssessmentResultsRequest.Builder> describeReplicationTaskAssessmentResultsRequest)

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


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

        Parameters:
        describeReplicationTaskAssessmentResultsRequest - A Consumer that will call methods on DescribeReplicationTaskAssessmentResultsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTaskAssessmentRuns

        default CompletableFuture<DescribeReplicationTaskAssessmentRunsResponse> describeReplicationTaskAssessmentRuns​(DescribeReplicationTaskAssessmentRunsRequest describeReplicationTaskAssessmentRunsRequest)

        Returns a paginated list of premigration assessment runs based on filter settings.

        These filter settings can specify a combination of premigration assessment runs, migration tasks, replication instances, and assessment run status values.

        This operation doesn't return information about individual assessments. For this information, see the DescribeReplicationTaskIndividualAssessments operation.

        Parameters:
        describeReplicationTaskAssessmentRunsRequest -
        Returns:
        A Java Future containing the result of the DescribeReplicationTaskAssessmentRuns operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTaskAssessmentRuns

        default CompletableFuture<DescribeReplicationTaskAssessmentRunsResponse> describeReplicationTaskAssessmentRuns​(Consumer<DescribeReplicationTaskAssessmentRunsRequest.Builder> describeReplicationTaskAssessmentRunsRequest)

        Returns a paginated list of premigration assessment runs based on filter settings.

        These filter settings can specify a combination of premigration assessment runs, migration tasks, replication instances, and assessment run status values.

        This operation doesn't return information about individual assessments. For this information, see the DescribeReplicationTaskIndividualAssessments operation.


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

        Parameters:
        describeReplicationTaskAssessmentRunsRequest - A Consumer that will call methods on DescribeReplicationTaskAssessmentRunsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeReplicationTaskAssessmentRuns operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTaskAssessmentRunsPaginator

        default DescribeReplicationTaskAssessmentRunsPublisher describeReplicationTaskAssessmentRunsPaginator​(DescribeReplicationTaskAssessmentRunsRequest describeReplicationTaskAssessmentRunsRequest)

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

        Parameters:
        describeReplicationTaskAssessmentRunsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTaskAssessmentRunsPaginator

        default DescribeReplicationTaskAssessmentRunsPublisher describeReplicationTaskAssessmentRunsPaginator​(Consumer<DescribeReplicationTaskAssessmentRunsRequest.Builder> describeReplicationTaskAssessmentRunsRequest)

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


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

        Parameters:
        describeReplicationTaskAssessmentRunsRequest - A Consumer that will call methods on DescribeReplicationTaskAssessmentRunsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTaskIndividualAssessments

        default CompletableFuture<DescribeReplicationTaskIndividualAssessmentsResponse> describeReplicationTaskIndividualAssessments​(DescribeReplicationTaskIndividualAssessmentsRequest describeReplicationTaskIndividualAssessmentsRequest)

        Returns a paginated list of individual assessments based on filter settings.

        These filter settings can specify a combination of premigration assessment runs, migration tasks, and assessment status values.

        Parameters:
        describeReplicationTaskIndividualAssessmentsRequest -
        Returns:
        A Java Future containing the result of the DescribeReplicationTaskIndividualAssessments operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTaskIndividualAssessmentsPaginator

        default DescribeReplicationTaskIndividualAssessmentsPublisher describeReplicationTaskIndividualAssessmentsPaginator​(DescribeReplicationTaskIndividualAssessmentsRequest describeReplicationTaskIndividualAssessmentsRequest)

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

        Parameters:
        describeReplicationTaskIndividualAssessmentsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTaskIndividualAssessmentsPaginator

        default DescribeReplicationTaskIndividualAssessmentsPublisher describeReplicationTaskIndividualAssessmentsPaginator​(Consumer<DescribeReplicationTaskIndividualAssessmentsRequest.Builder> describeReplicationTaskIndividualAssessmentsRequest)

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


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

        Parameters:
        describeReplicationTaskIndividualAssessmentsRequest - A Consumer that will call methods on DescribeReplicationTaskIndividualAssessmentsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTasks

        default CompletableFuture<DescribeReplicationTasksResponse> describeReplicationTasks​(DescribeReplicationTasksRequest describeReplicationTasksRequest)

        Returns information about replication tasks for your account in the current region.

        Parameters:
        describeReplicationTasksRequest -
        Returns:
        A Java Future containing the result of the DescribeReplicationTasks operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTasks

        default CompletableFuture<DescribeReplicationTasksResponse> describeReplicationTasks​(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest)

        Returns information about replication tasks for your account in the current region.


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

        Parameters:
        describeReplicationTasksRequest - A Consumer that will call methods on DescribeReplicationTasksRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeReplicationTasks operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTasks

        default CompletableFuture<DescribeReplicationTasksResponse> describeReplicationTasks()

        Returns information about replication tasks for your account in the current region.

        Returns:
        A Java Future containing the result of the DescribeReplicationTasks operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTasksPaginator

        default DescribeReplicationTasksPublisher describeReplicationTasksPaginator()

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

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTasksPaginator

        default DescribeReplicationTasksPublisher describeReplicationTasksPaginator​(DescribeReplicationTasksRequest describeReplicationTasksRequest)

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

        Parameters:
        describeReplicationTasksRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationTasksPaginator

        default DescribeReplicationTasksPublisher describeReplicationTasksPaginator​(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest)

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


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

        Parameters:
        describeReplicationTasksRequest - A Consumer that will call methods on DescribeReplicationTasksRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplications

        default CompletableFuture<DescribeReplicationsResponse> describeReplications​(DescribeReplicationsRequest describeReplicationsRequest)

        Provides details on replication progress by returning status information for one or more provisioned DMS Serverless replications.

        Parameters:
        describeReplicationsRequest -
        Returns:
        A Java Future containing the result of the DescribeReplications operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplications

        default CompletableFuture<DescribeReplicationsResponse> describeReplications​(Consumer<DescribeReplicationsRequest.Builder> describeReplicationsRequest)

        Provides details on replication progress by returning status information for one or more provisioned DMS Serverless replications.


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

        Parameters:
        describeReplicationsRequest - A Consumer that will call methods on DescribeReplicationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeReplications operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationsPaginator

        default DescribeReplicationsPublisher describeReplicationsPaginator​(DescribeReplicationsRequest describeReplicationsRequest)

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

        Parameters:
        describeReplicationsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeReplicationsPaginator

        default DescribeReplicationsPublisher describeReplicationsPaginator​(Consumer<DescribeReplicationsRequest.Builder> describeReplicationsRequest)

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


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

        Parameters:
        describeReplicationsRequest - A Consumer that will call methods on DescribeReplicationsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeSchemas

        default CompletableFuture<DescribeSchemasResponse> describeSchemas​(DescribeSchemasRequest describeSchemasRequest)

        Returns information about the schema for the specified endpoint.

        Parameters:
        describeSchemasRequest -
        Returns:
        A Java Future containing the result of the DescribeSchemas operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeSchemas

        default CompletableFuture<DescribeSchemasResponse> describeSchemas​(Consumer<DescribeSchemasRequest.Builder> describeSchemasRequest)

        Returns information about the schema for the specified endpoint.


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

        Parameters:
        describeSchemasRequest - A Consumer that will call methods on DescribeSchemasRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeSchemas operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeSchemasPaginator

        default DescribeSchemasPublisher describeSchemasPaginator​(DescribeSchemasRequest describeSchemasRequest)

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

        Parameters:
        describeSchemasRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeSchemasPaginator

        default DescribeSchemasPublisher describeSchemasPaginator​(Consumer<DescribeSchemasRequest.Builder> describeSchemasRequest)

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


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

        Parameters:
        describeSchemasRequest - A Consumer that will call methods on DescribeSchemasRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeTableStatistics

        default CompletableFuture<DescribeTableStatisticsResponse> describeTableStatistics​(DescribeTableStatisticsRequest describeTableStatisticsRequest)

        Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.

        Note that the "last updated" column the DMS console only indicates the time that DMS last updated the table statistics record for a table. It does not indicate the time of the last update to the table.

        Parameters:
        describeTableStatisticsRequest -
        Returns:
        A Java Future containing the result of the DescribeTableStatistics operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeTableStatistics

        default CompletableFuture<DescribeTableStatisticsResponse> describeTableStatistics​(Consumer<DescribeTableStatisticsRequest.Builder> describeTableStatisticsRequest)

        Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.

        Note that the "last updated" column the DMS console only indicates the time that DMS last updated the table statistics record for a table. It does not indicate the time of the last update to the table.


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

        Parameters:
        describeTableStatisticsRequest - A Consumer that will call methods on DescribeTableStatisticsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeTableStatistics operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeTableStatisticsPaginator

        default DescribeTableStatisticsPublisher describeTableStatisticsPaginator​(DescribeTableStatisticsRequest describeTableStatisticsRequest)

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

        Parameters:
        describeTableStatisticsRequest -
        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeTableStatisticsPaginator

        default DescribeTableStatisticsPublisher describeTableStatisticsPaginator​(Consumer<DescribeTableStatisticsRequest.Builder> describeTableStatisticsRequest)

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


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

        Parameters:
        describeTableStatisticsRequest - A Consumer that will call methods on DescribeTableStatisticsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • exportMetadataModelAssessment

        default CompletableFuture<ExportMetadataModelAssessmentResponse> exportMetadataModelAssessment​(ExportMetadataModelAssessmentRequest exportMetadataModelAssessmentRequest)

        Saves a copy of a database migration assessment report to your Amazon S3 bucket. DMS can save your assessment report as a comma-separated value (CSV) or a PDF file.

        Parameters:
        exportMetadataModelAssessmentRequest -
        Returns:
        A Java Future containing the result of the ExportMetadataModelAssessment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • exportMetadataModelAssessment

        default CompletableFuture<ExportMetadataModelAssessmentResponse> exportMetadataModelAssessment​(Consumer<ExportMetadataModelAssessmentRequest.Builder> exportMetadataModelAssessmentRequest)

        Saves a copy of a database migration assessment report to your Amazon S3 bucket. DMS can save your assessment report as a comma-separated value (CSV) or a PDF file.


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

        Parameters:
        exportMetadataModelAssessmentRequest - A Consumer that will call methods on ExportMetadataModelAssessmentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ExportMetadataModelAssessment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • importCertificate

        default CompletableFuture<ImportCertificateResponse> importCertificate​(ImportCertificateRequest importCertificateRequest)

        Uploads the specified certificate.

        Parameters:
        importCertificateRequest -
        Returns:
        A Java Future containing the result of the ImportCertificate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • InvalidCertificateException The certificate was not valid.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • importCertificate

        default CompletableFuture<ImportCertificateResponse> importCertificate​(Consumer<ImportCertificateRequest.Builder> importCertificateRequest)

        Uploads the specified certificate.


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

        Parameters:
        importCertificateRequest - A Consumer that will call methods on ImportCertificateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ImportCertificate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • InvalidCertificateException The certificate was not valid.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(ListTagsForResourceRequest listTagsForResourceRequest)

        Lists all metadata tags attached to an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see Tag data type description.

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

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

        Lists all metadata tags attached to an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see Tag data type description.


        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyConversionConfiguration

        default CompletableFuture<ModifyConversionConfigurationResponse> modifyConversionConfiguration​(ModifyConversionConfigurationRequest modifyConversionConfigurationRequest)

        Modifies the specified schema conversion configuration using the provided parameters.

        Parameters:
        modifyConversionConfigurationRequest -
        Returns:
        A Java Future containing the result of the ModifyConversionConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyConversionConfiguration

        default CompletableFuture<ModifyConversionConfigurationResponse> modifyConversionConfiguration​(Consumer<ModifyConversionConfigurationRequest.Builder> modifyConversionConfigurationRequest)

        Modifies the specified schema conversion configuration using the provided parameters.


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

        Parameters:
        modifyConversionConfigurationRequest - A Consumer that will call methods on ModifyConversionConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ModifyConversionConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyDataProvider

        default CompletableFuture<ModifyDataProviderResponse> modifyDataProvider​(ModifyDataProviderRequest modifyDataProviderRequest)

        Modifies the specified data provider using the provided settings.

        You must remove the data provider from all migration projects before you can modify it.

        Parameters:
        modifyDataProviderRequest -
        Returns:
        A Java Future containing the result of the ModifyDataProvider operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyDataProvider

        default CompletableFuture<ModifyDataProviderResponse> modifyDataProvider​(Consumer<ModifyDataProviderRequest.Builder> modifyDataProviderRequest)

        Modifies the specified data provider using the provided settings.

        You must remove the data provider from all migration projects before you can modify it.


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

        Parameters:
        modifyDataProviderRequest - A Consumer that will call methods on ModifyDataProviderRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ModifyDataProvider operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyEndpoint

        default CompletableFuture<ModifyEndpointResponse> modifyEndpoint​(ModifyEndpointRequest modifyEndpointRequest)

        Modifies the specified endpoint.

        For a MySQL source or target endpoint, don't explicitly specify the database using the DatabaseName request parameter on the ModifyEndpoint API call. Specifying DatabaseName when you modify a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task.

        Parameters:
        modifyEndpointRequest -
        Returns:
        A Java Future containing the result of the ModifyEndpoint operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyEndpoint

        default CompletableFuture<ModifyEndpointResponse> modifyEndpoint​(Consumer<ModifyEndpointRequest.Builder> modifyEndpointRequest)

        Modifies the specified endpoint.

        For a MySQL source or target endpoint, don't explicitly specify the database using the DatabaseName request parameter on the ModifyEndpoint API call. Specifying DatabaseName when you modify a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task.


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

        Parameters:
        modifyEndpointRequest - A Consumer that will call methods on ModifyEndpointRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ModifyEndpoint operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyEventSubscription

        default CompletableFuture<ModifyEventSubscriptionResponse> modifyEventSubscription​(ModifyEventSubscriptionRequest modifyEventSubscriptionRequest)

        Modifies an existing DMS event notification subscription.

        Parameters:
        modifyEventSubscriptionRequest -
        Returns:
        A Java Future containing the result of the ModifyEventSubscription operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • ResourceNotFoundException The resource could not be found.
        • SnsInvalidTopicException The SNS topic is invalid.
        • SnsNoAuthorizationException You are not authorized for the SNS subscription.
        • KmsAccessDeniedException The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
        • KmsDisabledException The specified KMS key isn't enabled.
        • KmsInvalidStateException The state of the specified KMS resource isn't valid for this request.
        • KmsNotFoundException The specified KMS entity or resource can't be found.
        • KmsThrottlingException This request triggered KMS request throttling.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyEventSubscription

        default CompletableFuture<ModifyEventSubscriptionResponse> modifyEventSubscription​(Consumer<ModifyEventSubscriptionRequest.Builder> modifyEventSubscriptionRequest)

        Modifies an existing DMS event notification subscription.


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

        Parameters:
        modifyEventSubscriptionRequest - A Consumer that will call methods on ModifyEventSubscriptionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ModifyEventSubscription operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • ResourceNotFoundException The resource could not be found.
        • SnsInvalidTopicException The SNS topic is invalid.
        • SnsNoAuthorizationException You are not authorized for the SNS subscription.
        • KmsAccessDeniedException The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
        • KmsDisabledException The specified KMS key isn't enabled.
        • KmsInvalidStateException The state of the specified KMS resource isn't valid for this request.
        • KmsNotFoundException The specified KMS entity or resource can't be found.
        • KmsThrottlingException This request triggered KMS request throttling.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyInstanceProfile

        default CompletableFuture<ModifyInstanceProfileResponse> modifyInstanceProfile​(ModifyInstanceProfileRequest modifyInstanceProfileRequest)

        Modifies the specified instance profile using the provided parameters.

        All migration projects associated with the instance profile must be deleted or modified before you can modify the instance profile.

        Parameters:
        modifyInstanceProfileRequest -
        Returns:
        A Java Future containing the result of the ModifyInstanceProfile operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyInstanceProfile

        default CompletableFuture<ModifyInstanceProfileResponse> modifyInstanceProfile​(Consumer<ModifyInstanceProfileRequest.Builder> modifyInstanceProfileRequest)

        Modifies the specified instance profile using the provided parameters.

        All migration projects associated with the instance profile must be deleted or modified before you can modify the instance profile.


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

        Parameters:
        modifyInstanceProfileRequest - A Consumer that will call methods on ModifyInstanceProfileRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ModifyInstanceProfile operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyMigrationProject

        default CompletableFuture<ModifyMigrationProjectResponse> modifyMigrationProject​(ModifyMigrationProjectRequest modifyMigrationProjectRequest)

        Modifies the specified migration project using the provided parameters.

        The migration project must be closed before you can modify it.

        Parameters:
        modifyMigrationProjectRequest -
        Returns:
        A Java Future containing the result of the ModifyMigrationProject operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyMigrationProject

        default CompletableFuture<ModifyMigrationProjectResponse> modifyMigrationProject​(Consumer<ModifyMigrationProjectRequest.Builder> modifyMigrationProjectRequest)

        Modifies the specified migration project using the provided parameters.

        The migration project must be closed before you can modify it.


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

        Parameters:
        modifyMigrationProjectRequest - A Consumer that will call methods on ModifyMigrationProjectRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ModifyMigrationProject operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyReplicationConfig

        default CompletableFuture<ModifyReplicationConfigResponse> modifyReplicationConfig​(ModifyReplicationConfigRequest modifyReplicationConfigRequest)

        Modifies an existing DMS Serverless replication configuration that you can use to start a replication. This command includes input validation and logic to check the state of any replication that uses this configuration. You can only modify a replication configuration before any replication that uses it has started. As soon as you have initially started a replication with a given configuiration, you can't modify that configuration, even if you stop it.

        Other run statuses that allow you to run this command include FAILED and CREATED. A provisioning state that allows you to run this command is FAILED_PROVISION.

        Parameters:
        modifyReplicationConfigRequest -
        Returns:
        A Java Future containing the result of the ModifyReplicationConfig operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
        • InvalidSubnetException The subnet provided isn't valid.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyReplicationConfig

        default CompletableFuture<ModifyReplicationConfigResponse> modifyReplicationConfig​(Consumer<ModifyReplicationConfigRequest.Builder> modifyReplicationConfigRequest)

        Modifies an existing DMS Serverless replication configuration that you can use to start a replication. This command includes input validation and logic to check the state of any replication that uses this configuration. You can only modify a replication configuration before any replication that uses it has started. As soon as you have initially started a replication with a given configuiration, you can't modify that configuration, even if you stop it.

        Other run statuses that allow you to run this command include FAILED and CREATED. A provisioning state that allows you to run this command is FAILED_PROVISION.


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

        Parameters:
        modifyReplicationConfigRequest - A Consumer that will call methods on ModifyReplicationConfigRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ModifyReplicationConfig operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
        • InvalidSubnetException The subnet provided isn't valid.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyReplicationInstance

        default CompletableFuture<ModifyReplicationInstanceResponse> modifyReplicationInstance​(ModifyReplicationInstanceRequest modifyReplicationInstanceRequest)

        Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request.

        Some settings are applied during the maintenance window.

        Parameters:
        modifyReplicationInstanceRequest -
        Returns:
        A Java Future containing the result of the ModifyReplicationInstance operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • InsufficientResourceCapacityException There are not enough resources allocated to the database migration.
        • StorageQuotaExceededException The storage quota has been exceeded.
        • UpgradeDependencyFailureException An upgrade dependency is preventing the database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyReplicationInstance

        default CompletableFuture<ModifyReplicationInstanceResponse> modifyReplicationInstance​(Consumer<ModifyReplicationInstanceRequest.Builder> modifyReplicationInstanceRequest)

        Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request.

        Some settings are applied during the maintenance window.


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

        Parameters:
        modifyReplicationInstanceRequest - A Consumer that will call methods on ModifyReplicationInstanceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ModifyReplicationInstance operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • InsufficientResourceCapacityException There are not enough resources allocated to the database migration.
        • StorageQuotaExceededException The storage quota has been exceeded.
        • UpgradeDependencyFailureException An upgrade dependency is preventing the database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyReplicationSubnetGroup

        default CompletableFuture<ModifyReplicationSubnetGroupResponse> modifyReplicationSubnetGroup​(ModifyReplicationSubnetGroupRequest modifyReplicationSubnetGroupRequest)

        Modifies the settings for the specified replication subnet group.

        Parameters:
        modifyReplicationSubnetGroupRequest -
        Returns:
        A Java Future containing the result of the ModifyReplicationSubnetGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • SubnetAlreadyInUseException The specified subnet is already in use.
        • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
        • InvalidSubnetException The subnet provided isn't valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyReplicationSubnetGroup

        default CompletableFuture<ModifyReplicationSubnetGroupResponse> modifyReplicationSubnetGroup​(Consumer<ModifyReplicationSubnetGroupRequest.Builder> modifyReplicationSubnetGroupRequest)

        Modifies the settings for the specified replication subnet group.


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

        Parameters:
        modifyReplicationSubnetGroupRequest - A Consumer that will call methods on ModifyReplicationSubnetGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ModifyReplicationSubnetGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • SubnetAlreadyInUseException The specified subnet is already in use.
        • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
        • InvalidSubnetException The subnet provided isn't valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyReplicationTask

        default CompletableFuture<ModifyReplicationTaskResponse> modifyReplicationTask​(ModifyReplicationTaskRequest modifyReplicationTaskRequest)

        Modifies the specified replication task.

        You can't modify the task endpoints. The task must be stopped before you can modify it.

        For more information about DMS tasks, see Working with Migration Tasks in the Database Migration Service User Guide.

        Parameters:
        modifyReplicationTaskRequest -
        Returns:
        A Java Future containing the result of the ModifyReplicationTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • modifyReplicationTask

        default CompletableFuture<ModifyReplicationTaskResponse> modifyReplicationTask​(Consumer<ModifyReplicationTaskRequest.Builder> modifyReplicationTaskRequest)

        Modifies the specified replication task.

        You can't modify the task endpoints. The task must be stopped before you can modify it.

        For more information about DMS tasks, see Working with Migration Tasks in the Database Migration Service User Guide.


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

        Parameters:
        modifyReplicationTaskRequest - A Consumer that will call methods on ModifyReplicationTaskRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ModifyReplicationTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • moveReplicationTask

        default CompletableFuture<MoveReplicationTaskResponse> moveReplicationTask​(MoveReplicationTaskRequest moveReplicationTaskRequest)

        Moves a replication task from its current replication instance to a different target replication instance using the specified parameters. The target replication instance must be created with the same or later DMS version as the current replication instance.

        Parameters:
        moveReplicationTaskRequest -
        Returns:
        A Java Future containing the result of the MoveReplicationTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • moveReplicationTask

        default CompletableFuture<MoveReplicationTaskResponse> moveReplicationTask​(Consumer<MoveReplicationTaskRequest.Builder> moveReplicationTaskRequest)

        Moves a replication task from its current replication instance to a different target replication instance using the specified parameters. The target replication instance must be created with the same or later DMS version as the current replication instance.


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

        Parameters:
        moveReplicationTaskRequest - A Consumer that will call methods on MoveReplicationTaskRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the MoveReplicationTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • rebootReplicationInstance

        default CompletableFuture<RebootReplicationInstanceResponse> rebootReplicationInstance​(RebootReplicationInstanceRequest rebootReplicationInstanceRequest)

        Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes available again.

        Parameters:
        rebootReplicationInstanceRequest -
        Returns:
        A Java Future containing the result of the RebootReplicationInstance operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • rebootReplicationInstance

        default CompletableFuture<RebootReplicationInstanceResponse> rebootReplicationInstance​(Consumer<RebootReplicationInstanceRequest.Builder> rebootReplicationInstanceRequest)

        Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes available again.


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

        Parameters:
        rebootReplicationInstanceRequest - A Consumer that will call methods on RebootReplicationInstanceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the RebootReplicationInstance operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • refreshSchemas

        default CompletableFuture<RefreshSchemasResponse> refreshSchemas​(RefreshSchemasRequest refreshSchemasRequest)

        Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation.

        Parameters:
        refreshSchemasRequest -
        Returns:
        A Java Future containing the result of the RefreshSchemas operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • refreshSchemas

        default CompletableFuture<RefreshSchemasResponse> refreshSchemas​(Consumer<RefreshSchemasRequest.Builder> refreshSchemasRequest)

        Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation.


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

        Parameters:
        refreshSchemasRequest - A Consumer that will call methods on RefreshSchemasRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the RefreshSchemas operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • reloadReplicationTables

        default CompletableFuture<ReloadReplicationTablesResponse> reloadReplicationTables​(ReloadReplicationTablesRequest reloadReplicationTablesRequest)

        Reloads the target database table with the source data for a given DMS Serverless replication configuration.

        You can only use this operation with a task in the RUNNING state, otherwise the service will throw an InvalidResourceStateFault exception.

        Parameters:
        reloadReplicationTablesRequest -
        Returns:
        A Java Future containing the result of the ReloadReplicationTables operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • reloadReplicationTables

        default CompletableFuture<ReloadReplicationTablesResponse> reloadReplicationTables​(Consumer<ReloadReplicationTablesRequest.Builder> reloadReplicationTablesRequest)

        Reloads the target database table with the source data for a given DMS Serverless replication configuration.

        You can only use this operation with a task in the RUNNING state, otherwise the service will throw an InvalidResourceStateFault exception.


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

        Parameters:
        reloadReplicationTablesRequest - A Consumer that will call methods on ReloadReplicationTablesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ReloadReplicationTables operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • reloadTables

        default CompletableFuture<ReloadTablesResponse> reloadTables​(ReloadTablesRequest reloadTablesRequest)

        Reloads the target database table with the source data.

        You can only use this operation with a task in the RUNNING state, otherwise the service will throw an InvalidResourceStateFault exception.

        Parameters:
        reloadTablesRequest -
        Returns:
        A Java Future containing the result of the ReloadTables operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • reloadTables

        default CompletableFuture<ReloadTablesResponse> reloadTables​(Consumer<ReloadTablesRequest.Builder> reloadTablesRequest)

        Reloads the target database table with the source data.

        You can only use this operation with a task in the RUNNING state, otherwise the service will throw an InvalidResourceStateFault exception.


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

        Parameters:
        reloadTablesRequest - A Consumer that will call methods on ReloadTablesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ReloadTables operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • removeTagsFromResource

        default CompletableFuture<RemoveTagsFromResourceResponse> removeTagsFromResource​(RemoveTagsFromResourceRequest removeTagsFromResourceRequest)

        Removes metadata tags from an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see Tag data type description.

        Parameters:
        removeTagsFromResourceRequest - Removes one or more tags from an DMS resource.
        Returns:
        A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • removeTagsFromResource

        default CompletableFuture<RemoveTagsFromResourceResponse> removeTagsFromResource​(Consumer<RemoveTagsFromResourceRequest.Builder> removeTagsFromResourceRequest)

        Removes metadata tags from an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see Tag data type description.


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

        Parameters:
        removeTagsFromResourceRequest - A Consumer that will call methods on RemoveTagsFromResourceRequest.Builder to create a request. Removes one or more tags from an DMS resource.
        Returns:
        A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • runFleetAdvisorLsaAnalysis

        default CompletableFuture<RunFleetAdvisorLsaAnalysisResponse> runFleetAdvisorLsaAnalysis​(RunFleetAdvisorLsaAnalysisRequest runFleetAdvisorLsaAnalysisRequest)

        Runs large-scale assessment (LSA) analysis on every Fleet Advisor collector in your account.

        Parameters:
        runFleetAdvisorLsaAnalysisRequest -
        Returns:
        A Java Future containing the result of the RunFleetAdvisorLsaAnalysis operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • runFleetAdvisorLsaAnalysis

        default CompletableFuture<RunFleetAdvisorLsaAnalysisResponse> runFleetAdvisorLsaAnalysis​(Consumer<RunFleetAdvisorLsaAnalysisRequest.Builder> runFleetAdvisorLsaAnalysisRequest)

        Runs large-scale assessment (LSA) analysis on every Fleet Advisor collector in your account.


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

        Parameters:
        runFleetAdvisorLsaAnalysisRequest - A Consumer that will call methods on RunFleetAdvisorLsaAnalysisRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the RunFleetAdvisorLsaAnalysis operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startExtensionPackAssociation

        default CompletableFuture<StartExtensionPackAssociationResponse> startExtensionPackAssociation​(StartExtensionPackAssociationRequest startExtensionPackAssociationRequest)

        Applies the extension pack to your target database. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database.

        Parameters:
        startExtensionPackAssociationRequest -
        Returns:
        A Java Future containing the result of the StartExtensionPackAssociation operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startExtensionPackAssociation

        default CompletableFuture<StartExtensionPackAssociationResponse> startExtensionPackAssociation​(Consumer<StartExtensionPackAssociationRequest.Builder> startExtensionPackAssociationRequest)

        Applies the extension pack to your target database. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database.


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

        Parameters:
        startExtensionPackAssociationRequest - A Consumer that will call methods on StartExtensionPackAssociationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartExtensionPackAssociation operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startMetadataModelAssessment

        default CompletableFuture<StartMetadataModelAssessmentResponse> startMetadataModelAssessment​(StartMetadataModelAssessmentRequest startMetadataModelAssessmentRequest)

        Creates a database migration assessment report by assessing the migration complexity for your source database. A database migration assessment report summarizes all of the schema conversion tasks. It also details the action items for database objects that can't be converted to the database engine of your target database instance.

        Parameters:
        startMetadataModelAssessmentRequest -
        Returns:
        A Java Future containing the result of the StartMetadataModelAssessment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startMetadataModelAssessment

        default CompletableFuture<StartMetadataModelAssessmentResponse> startMetadataModelAssessment​(Consumer<StartMetadataModelAssessmentRequest.Builder> startMetadataModelAssessmentRequest)

        Creates a database migration assessment report by assessing the migration complexity for your source database. A database migration assessment report summarizes all of the schema conversion tasks. It also details the action items for database objects that can't be converted to the database engine of your target database instance.


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

        Parameters:
        startMetadataModelAssessmentRequest - A Consumer that will call methods on StartMetadataModelAssessmentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartMetadataModelAssessment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startMetadataModelConversion

        default CompletableFuture<StartMetadataModelConversionResponse> startMetadataModelConversion​(StartMetadataModelConversionRequest startMetadataModelConversionRequest)

        Converts your source database objects to a format compatible with the target database.

        Parameters:
        startMetadataModelConversionRequest -
        Returns:
        A Java Future containing the result of the StartMetadataModelConversion operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startMetadataModelConversion

        default CompletableFuture<StartMetadataModelConversionResponse> startMetadataModelConversion​(Consumer<StartMetadataModelConversionRequest.Builder> startMetadataModelConversionRequest)

        Converts your source database objects to a format compatible with the target database.


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

        Parameters:
        startMetadataModelConversionRequest - A Consumer that will call methods on StartMetadataModelConversionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartMetadataModelConversion operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startMetadataModelExportAsScript

        default CompletableFuture<StartMetadataModelExportAsScriptResponse> startMetadataModelExportAsScript​(StartMetadataModelExportAsScriptRequest startMetadataModelExportAsScriptRequest)

        Saves your converted code to a file as a SQL script, and stores this file on your Amazon S3 bucket.

        Parameters:
        startMetadataModelExportAsScriptRequest -
        Returns:
        A Java Future containing the result of the StartMetadataModelExportAsScript operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startMetadataModelExportAsScript

        default CompletableFuture<StartMetadataModelExportAsScriptResponse> startMetadataModelExportAsScript​(Consumer<StartMetadataModelExportAsScriptRequest.Builder> startMetadataModelExportAsScriptRequest)

        Saves your converted code to a file as a SQL script, and stores this file on your Amazon S3 bucket.


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

        Parameters:
        startMetadataModelExportAsScriptRequest - A Consumer that will call methods on StartMetadataModelExportAsScriptRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartMetadataModelExportAsScript operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startMetadataModelExportToTarget

        default CompletableFuture<StartMetadataModelExportToTargetResponse> startMetadataModelExportToTarget​(StartMetadataModelExportToTargetRequest startMetadataModelExportToTargetRequest)

        Applies converted database objects to your target database.

        Parameters:
        startMetadataModelExportToTargetRequest -
        Returns:
        A Java Future containing the result of the StartMetadataModelExportToTarget operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startMetadataModelExportToTarget

        default CompletableFuture<StartMetadataModelExportToTargetResponse> startMetadataModelExportToTarget​(Consumer<StartMetadataModelExportToTargetRequest.Builder> startMetadataModelExportToTargetRequest)

        Applies converted database objects to your target database.


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

        Parameters:
        startMetadataModelExportToTargetRequest - A Consumer that will call methods on StartMetadataModelExportToTargetRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartMetadataModelExportToTarget operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startMetadataModelImport

        default CompletableFuture<StartMetadataModelImportResponse> startMetadataModelImport​(StartMetadataModelImportRequest startMetadataModelImportRequest)

        Loads the metadata for all the dependent database objects of the parent object.

        This operation uses your project's Amazon S3 bucket as a metadata cache to improve performance.

        Parameters:
        startMetadataModelImportRequest -
        Returns:
        A Java Future containing the result of the StartMetadataModelImport operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startMetadataModelImport

        default CompletableFuture<StartMetadataModelImportResponse> startMetadataModelImport​(Consumer<StartMetadataModelImportRequest.Builder> startMetadataModelImportRequest)

        Loads the metadata for all the dependent database objects of the parent object.

        This operation uses your project's Amazon S3 bucket as a metadata cache to improve performance.


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

        Parameters:
        startMetadataModelImportRequest - A Consumer that will call methods on StartMetadataModelImportRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartMetadataModelImport operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • ResourceNotFoundException The resource could not be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startRecommendations

        default CompletableFuture<StartRecommendationsResponse> startRecommendations​(StartRecommendationsRequest startRecommendationsRequest)

        Starts the analysis of your source database to provide recommendations of target engines.

        You can create recommendations for multiple source databases using BatchStartRecommendations.

        Parameters:
        startRecommendationsRequest -
        Returns:
        A Java Future containing the result of the StartRecommendations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startRecommendations

        default CompletableFuture<StartRecommendationsResponse> startRecommendations​(Consumer<StartRecommendationsRequest.Builder> startRecommendationsRequest)

        Starts the analysis of your source database to provide recommendations of target engines.

        You can create recommendations for multiple source databases using BatchStartRecommendations.


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

        Parameters:
        startRecommendationsRequest - A Consumer that will call methods on StartRecommendationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartRecommendations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startReplication

        default CompletableFuture<StartReplicationResponse> startReplication​(StartReplicationRequest startReplicationRequest)

        For a given DMS Serverless replication configuration, DMS connects to the source endpoint and collects the metadata to analyze the replication workload. Using this metadata, DMS then computes and provisions the required capacity and starts replicating to the target endpoint using the server resources that DMS has provisioned for the DMS Serverless replication.

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startReplication

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

        For a given DMS Serverless replication configuration, DMS connects to the source endpoint and collects the metadata to analyze the replication workload. Using this metadata, DMS then computes and provisions the required capacity and starts replicating to the target endpoint using the server resources that DMS has provisioned for the DMS Serverless replication.


        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startReplicationTask

        default CompletableFuture<StartReplicationTaskResponse> startReplicationTask​(StartReplicationTaskRequest startReplicationTaskRequest)

        Starts the replication task.

        For more information about DMS tasks, see Working with Migration Tasks in the Database Migration Service User Guide.

        Parameters:
        startReplicationTaskRequest -
        Returns:
        A Java Future containing the result of the StartReplicationTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startReplicationTask

        default CompletableFuture<StartReplicationTaskResponse> startReplicationTask​(Consumer<StartReplicationTaskRequest.Builder> startReplicationTaskRequest)

        Starts the replication task.

        For more information about DMS tasks, see Working with Migration Tasks in the Database Migration Service User Guide.


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

        Parameters:
        startReplicationTaskRequest - A Consumer that will call methods on StartReplicationTaskRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartReplicationTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startReplicationTaskAssessment

        default CompletableFuture<StartReplicationTaskAssessmentResponse> startReplicationTaskAssessment​(StartReplicationTaskAssessmentRequest startReplicationTaskAssessmentRequest)

        Starts the replication task assessment for unsupported data types in the source database.

        You can only use this operation for a task if the following conditions are true:

        • The task must be in the stopped state.

        • The task must have successful connections to the source and target.

        If either of these conditions are not met, an InvalidResourceStateFault error will result.

        For information about DMS task assessments, see Creating a task assessment report in the Database Migration Service User Guide.

        Parameters:
        startReplicationTaskAssessmentRequest -
        Returns:
        A Java Future containing the result of the StartReplicationTaskAssessment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startReplicationTaskAssessment

        default CompletableFuture<StartReplicationTaskAssessmentResponse> startReplicationTaskAssessment​(Consumer<StartReplicationTaskAssessmentRequest.Builder> startReplicationTaskAssessmentRequest)

        Starts the replication task assessment for unsupported data types in the source database.

        You can only use this operation for a task if the following conditions are true:

        • The task must be in the stopped state.

        • The task must have successful connections to the source and target.

        If either of these conditions are not met, an InvalidResourceStateFault error will result.

        For information about DMS task assessments, see Creating a task assessment report in the Database Migration Service User Guide.


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

        Parameters:
        startReplicationTaskAssessmentRequest - A Consumer that will call methods on StartReplicationTaskAssessmentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartReplicationTaskAssessment operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • ResourceNotFoundException The resource could not be found.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startReplicationTaskAssessmentRun

        default CompletableFuture<StartReplicationTaskAssessmentRunResponse> startReplicationTaskAssessmentRun​(StartReplicationTaskAssessmentRunRequest startReplicationTaskAssessmentRunRequest)

        Starts a new premigration assessment run for one or more individual assessments of a migration task.

        The assessments that you can specify depend on the source and target database engine and the migration type defined for the given task. To run this operation, your migration task must already be created. After you run this operation, you can review the status of each individual assessment. You can also run the migration task manually after the assessment run and its individual assessments complete.

        Parameters:
        startReplicationTaskAssessmentRunRequest -
        Returns:
        A Java Future containing the result of the StartReplicationTaskAssessmentRun operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • KmsAccessDeniedException The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
        • KmsDisabledException The specified KMS key isn't enabled.
        • KmsException An Key Management Service (KMS) error is preventing access to KMS.
        • KmsInvalidStateException The state of the specified KMS resource isn't valid for this request.
        • KmsNotFoundException The specified KMS entity or resource can't be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startReplicationTaskAssessmentRun

        default CompletableFuture<StartReplicationTaskAssessmentRunResponse> startReplicationTaskAssessmentRun​(Consumer<StartReplicationTaskAssessmentRunRequest.Builder> startReplicationTaskAssessmentRunRequest)

        Starts a new premigration assessment run for one or more individual assessments of a migration task.

        The assessments that you can specify depend on the source and target database engine and the migration type defined for the given task. To run this operation, your migration task must already be created. After you run this operation, you can review the status of each individual assessment. You can also run the migration task manually after the assessment run and its individual assessments complete.


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

        Parameters:
        startReplicationTaskAssessmentRunRequest - A Consumer that will call methods on StartReplicationTaskAssessmentRunRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartReplicationTaskAssessmentRun operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • KmsAccessDeniedException The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
        • KmsDisabledException The specified KMS key isn't enabled.
        • KmsException An Key Management Service (KMS) error is preventing access to KMS.
        • KmsInvalidStateException The state of the specified KMS resource isn't valid for this request.
        • KmsNotFoundException The specified KMS entity or resource can't be found.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
        • S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
        • ResourceAlreadyExistsException The resource you are attempting to create already exists.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • stopReplication

        default CompletableFuture<StopReplicationResponse> stopReplication​(StopReplicationRequest stopReplicationRequest)

        For a given DMS Serverless replication configuration, DMS stops any and all ongoing DMS Serverless replications. This command doesn't deprovision the stopped replications.

        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • stopReplication

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

        For a given DMS Serverless replication configuration, DMS stops any and all ongoing DMS Serverless replications. This command doesn't deprovision the stopped replications.


        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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • stopReplicationTask

        default CompletableFuture<StopReplicationTaskResponse> stopReplicationTask​(StopReplicationTaskRequest stopReplicationTaskRequest)

        Stops the replication task.

        Parameters:
        stopReplicationTaskRequest -
        Returns:
        A Java Future containing the result of the StopReplicationTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • stopReplicationTask

        default CompletableFuture<StopReplicationTaskResponse> stopReplicationTask​(Consumer<StopReplicationTaskRequest.Builder> stopReplicationTaskRequest)

        Stops the replication task.


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

        Parameters:
        stopReplicationTaskRequest - A Consumer that will call methods on StopReplicationTaskRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StopReplicationTask operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • testConnection

        default CompletableFuture<TestConnectionResponse> testConnection​(TestConnectionRequest testConnectionRequest)

        Tests the connection between the replication instance and the endpoint.

        Parameters:
        testConnectionRequest -
        Returns:
        A Java Future containing the result of the TestConnection operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • testConnection

        default CompletableFuture<TestConnectionResponse> testConnection​(Consumer<TestConnectionRequest.Builder> testConnectionRequest)

        Tests the connection between the replication instance and the endpoint.


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

        Parameters:
        testConnectionRequest - A Consumer that will call methods on TestConnectionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the TestConnection operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ResourceNotFoundException The resource could not be found.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • KmsKeyNotAccessibleException DMS cannot access the KMS key.
        • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSubscriptionsToEventBridge

        default CompletableFuture<UpdateSubscriptionsToEventBridgeResponse> updateSubscriptionsToEventBridge​(UpdateSubscriptionsToEventBridgeRequest updateSubscriptionsToEventBridgeRequest)

        Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to corresponding Amazon EventBridge rules. By default, this operation migrates subscriptions only when all your replication instance versions are 3.4.5 or higher. If any replication instances are from versions earlier than 3.4.5, the operation raises an error and tells you to upgrade these instances to version 3.4.5 or higher. To enable migration regardless of version, set the Force option to true. However, if you don't upgrade instances earlier than version 3.4.5, some types of events might not be available when you use Amazon EventBridge.

        To call this operation, make sure that you have certain permissions added to your user account. For more information, see Migrating event subscriptions to Amazon EventBridge in the Amazon Web Services Database Migration Service User Guide.

        Parameters:
        updateSubscriptionsToEventBridgeRequest -
        Returns:
        A Java Future containing the result of the UpdateSubscriptionsToEventBridge operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSubscriptionsToEventBridge

        default CompletableFuture<UpdateSubscriptionsToEventBridgeResponse> updateSubscriptionsToEventBridge​(Consumer<UpdateSubscriptionsToEventBridgeRequest.Builder> updateSubscriptionsToEventBridgeRequest)

        Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to corresponding Amazon EventBridge rules. By default, this operation migrates subscriptions only when all your replication instance versions are 3.4.5 or higher. If any replication instances are from versions earlier than 3.4.5, the operation raises an error and tells you to upgrade these instances to version 3.4.5 or higher. To enable migration regardless of version, set the Force option to true. However, if you don't upgrade instances earlier than version 3.4.5, some types of events might not be available when you use Amazon EventBridge.

        To call this operation, make sure that you have certain permissions added to your user account. For more information, see Migrating event subscriptions to Amazon EventBridge in the Amazon Web Services Database Migration Service User Guide.


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

        Parameters:
        updateSubscriptionsToEventBridgeRequest - A Consumer that will call methods on UpdateSubscriptionsToEventBridgeRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateSubscriptionsToEventBridge operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
        • InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation