
software.amazon.awssdk.services.databasemigration.DatabaseMigrationAsyncClient Maven / Gradle / Ivy
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.databasemigration;
import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.databasemigration.model.AddTagsToResourceRequest;
import software.amazon.awssdk.services.databasemigration.model.AddTagsToResourceResponse;
import software.amazon.awssdk.services.databasemigration.model.ApplyPendingMaintenanceActionRequest;
import software.amazon.awssdk.services.databasemigration.model.ApplyPendingMaintenanceActionResponse;
import software.amazon.awssdk.services.databasemigration.model.BatchStartRecommendationsRequest;
import software.amazon.awssdk.services.databasemigration.model.BatchStartRecommendationsResponse;
import software.amazon.awssdk.services.databasemigration.model.CancelReplicationTaskAssessmentRunRequest;
import software.amazon.awssdk.services.databasemigration.model.CancelReplicationTaskAssessmentRunResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateDataProviderRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateDataProviderResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateEndpointRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateEndpointResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateEventSubscriptionRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateEventSubscriptionResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateFleetAdvisorCollectorRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateFleetAdvisorCollectorResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateInstanceProfileRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateInstanceProfileResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateMigrationProjectRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateMigrationProjectResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateReplicationConfigRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateReplicationConfigResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateReplicationInstanceRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateReplicationInstanceResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateReplicationSubnetGroupRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateReplicationSubnetGroupResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateReplicationTaskRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateReplicationTaskResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteCertificateRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteCertificateResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteConnectionRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteConnectionResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteDataProviderRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteDataProviderResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteEndpointRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteEndpointResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteEventSubscriptionRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteEventSubscriptionResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteFleetAdvisorCollectorRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteFleetAdvisorCollectorResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteFleetAdvisorDatabasesRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteFleetAdvisorDatabasesResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteInstanceProfileRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteInstanceProfileResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteMigrationProjectRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteMigrationProjectResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationConfigRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationConfigResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationInstanceRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationInstanceResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationSubnetGroupRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationSubnetGroupResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationTaskAssessmentRunRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationTaskAssessmentRunResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationTaskRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationTaskResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeAccountAttributesRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeAccountAttributesResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeConversionConfigurationRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeConversionConfigurationResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeEventCategoriesRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeEventCategoriesResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeEventsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeRefreshSchemasStatusRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeRefreshSchemasStatusResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeSchemasResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsResponse;
import software.amazon.awssdk.services.databasemigration.model.ExportMetadataModelAssessmentRequest;
import software.amazon.awssdk.services.databasemigration.model.ExportMetadataModelAssessmentResponse;
import software.amazon.awssdk.services.databasemigration.model.ImportCertificateRequest;
import software.amazon.awssdk.services.databasemigration.model.ImportCertificateResponse;
import software.amazon.awssdk.services.databasemigration.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.databasemigration.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyConversionConfigurationRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyConversionConfigurationResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyDataProviderRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyDataProviderResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyEndpointRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyEndpointResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyEventSubscriptionRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyEventSubscriptionResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyInstanceProfileRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyInstanceProfileResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyMigrationProjectRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyMigrationProjectResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyReplicationConfigRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyReplicationConfigResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyReplicationInstanceRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyReplicationInstanceResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyReplicationSubnetGroupRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyReplicationSubnetGroupResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyReplicationTaskRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyReplicationTaskResponse;
import software.amazon.awssdk.services.databasemigration.model.MoveReplicationTaskRequest;
import software.amazon.awssdk.services.databasemigration.model.MoveReplicationTaskResponse;
import software.amazon.awssdk.services.databasemigration.model.RebootReplicationInstanceRequest;
import software.amazon.awssdk.services.databasemigration.model.RebootReplicationInstanceResponse;
import software.amazon.awssdk.services.databasemigration.model.RefreshSchemasRequest;
import software.amazon.awssdk.services.databasemigration.model.RefreshSchemasResponse;
import software.amazon.awssdk.services.databasemigration.model.ReloadReplicationTablesRequest;
import software.amazon.awssdk.services.databasemigration.model.ReloadReplicationTablesResponse;
import software.amazon.awssdk.services.databasemigration.model.ReloadTablesRequest;
import software.amazon.awssdk.services.databasemigration.model.ReloadTablesResponse;
import software.amazon.awssdk.services.databasemigration.model.RemoveTagsFromResourceRequest;
import software.amazon.awssdk.services.databasemigration.model.RemoveTagsFromResourceResponse;
import software.amazon.awssdk.services.databasemigration.model.RunFleetAdvisorLsaAnalysisRequest;
import software.amazon.awssdk.services.databasemigration.model.RunFleetAdvisorLsaAnalysisResponse;
import software.amazon.awssdk.services.databasemigration.model.StartExtensionPackAssociationRequest;
import software.amazon.awssdk.services.databasemigration.model.StartExtensionPackAssociationResponse;
import software.amazon.awssdk.services.databasemigration.model.StartMetadataModelAssessmentRequest;
import software.amazon.awssdk.services.databasemigration.model.StartMetadataModelAssessmentResponse;
import software.amazon.awssdk.services.databasemigration.model.StartMetadataModelConversionRequest;
import software.amazon.awssdk.services.databasemigration.model.StartMetadataModelConversionResponse;
import software.amazon.awssdk.services.databasemigration.model.StartMetadataModelExportAsScriptRequest;
import software.amazon.awssdk.services.databasemigration.model.StartMetadataModelExportAsScriptResponse;
import software.amazon.awssdk.services.databasemigration.model.StartMetadataModelExportToTargetRequest;
import software.amazon.awssdk.services.databasemigration.model.StartMetadataModelExportToTargetResponse;
import software.amazon.awssdk.services.databasemigration.model.StartMetadataModelImportRequest;
import software.amazon.awssdk.services.databasemigration.model.StartMetadataModelImportResponse;
import software.amazon.awssdk.services.databasemigration.model.StartRecommendationsRequest;
import software.amazon.awssdk.services.databasemigration.model.StartRecommendationsResponse;
import software.amazon.awssdk.services.databasemigration.model.StartReplicationRequest;
import software.amazon.awssdk.services.databasemigration.model.StartReplicationResponse;
import software.amazon.awssdk.services.databasemigration.model.StartReplicationTaskAssessmentRequest;
import software.amazon.awssdk.services.databasemigration.model.StartReplicationTaskAssessmentResponse;
import software.amazon.awssdk.services.databasemigration.model.StartReplicationTaskAssessmentRunRequest;
import software.amazon.awssdk.services.databasemigration.model.StartReplicationTaskAssessmentRunResponse;
import software.amazon.awssdk.services.databasemigration.model.StartReplicationTaskRequest;
import software.amazon.awssdk.services.databasemigration.model.StartReplicationTaskResponse;
import software.amazon.awssdk.services.databasemigration.model.StopReplicationRequest;
import software.amazon.awssdk.services.databasemigration.model.StopReplicationResponse;
import software.amazon.awssdk.services.databasemigration.model.StopReplicationTaskRequest;
import software.amazon.awssdk.services.databasemigration.model.StopReplicationTaskResponse;
import software.amazon.awssdk.services.databasemigration.model.TestConnectionRequest;
import software.amazon.awssdk.services.databasemigration.model.TestConnectionResponse;
import software.amazon.awssdk.services.databasemigration.model.UpdateSubscriptionsToEventBridgeRequest;
import software.amazon.awssdk.services.databasemigration.model.UpdateSubscriptionsToEventBridgeResponse;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationsPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasPublisher;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsPublisher;
import software.amazon.awssdk.services.databasemigration.waiters.DatabaseMigrationAsyncWaiter;
/**
* Service client for accessing AWS Database Migration Service asynchronously. This can be created using the static
* {@link #builder()} method.
*
* 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.
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface DatabaseMigrationAsyncClient extends AwsClient {
String SERVICE_NAME = "dms";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "dms";
/**
*
* 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.
*
*
* @param addTagsToResourceRequest
* Associates a set of tags with an DMS resource.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.AddTagsToResource
* @see AWS API
* Documentation
*/
default CompletableFuture addTagsToResource(AddTagsToResourceRequest addTagsToResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link AddTagsToResourceRequest.Builder} avoiding the need
* to create one manually via {@link AddTagsToResourceRequest#builder()}
*
*
* @param addTagsToResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.AddTagsToResourceRequest.Builder} to create
* a request. Associates a set of tags with an DMS resource.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.AddTagsToResource
* @see AWS API
* Documentation
*/
default CompletableFuture addTagsToResource(
Consumer addTagsToResourceRequest) {
return addTagsToResource(AddTagsToResourceRequest.builder().applyMutation(addTagsToResourceRequest).build());
}
/**
*
* Applies a pending maintenance action to a resource (for example, to a replication instance).
*
*
* @param applyPendingMaintenanceActionRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.ApplyPendingMaintenanceAction
* @see AWS API Documentation
*/
default CompletableFuture applyPendingMaintenanceAction(
ApplyPendingMaintenanceActionRequest applyPendingMaintenanceActionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Applies a pending maintenance action to a resource (for example, to a replication instance).
*
*
*
* This is a convenience which creates an instance of the {@link ApplyPendingMaintenanceActionRequest.Builder}
* avoiding the need to create one manually via {@link ApplyPendingMaintenanceActionRequest#builder()}
*
*
* @param applyPendingMaintenanceActionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ApplyPendingMaintenanceActionRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.ApplyPendingMaintenanceAction
* @see AWS API Documentation
*/
default CompletableFuture applyPendingMaintenanceAction(
Consumer applyPendingMaintenanceActionRequest) {
return applyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest.builder()
.applyMutation(applyPendingMaintenanceActionRequest).build());
}
/**
*
* 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
.
*
*
* @param batchStartRecommendationsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.BatchStartRecommendations
* @see AWS
* API Documentation
*/
default CompletableFuture batchStartRecommendations(
BatchStartRecommendationsRequest batchStartRecommendationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link BatchStartRecommendationsRequest.Builder} avoiding
* the need to create one manually via {@link BatchStartRecommendationsRequest#builder()}
*
*
* @param batchStartRecommendationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.BatchStartRecommendationsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.BatchStartRecommendations
* @see AWS
* API Documentation
*/
default CompletableFuture batchStartRecommendations(
Consumer batchStartRecommendationsRequest) {
return batchStartRecommendations(BatchStartRecommendationsRequest.builder()
.applyMutation(batchStartRecommendationsRequest).build());
}
/**
*
* 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.
*
*
* @param cancelReplicationTaskAssessmentRunRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CancelReplicationTaskAssessmentRun
* @see AWS API Documentation
*/
default CompletableFuture cancelReplicationTaskAssessmentRun(
CancelReplicationTaskAssessmentRunRequest cancelReplicationTaskAssessmentRunRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CancelReplicationTaskAssessmentRunRequest.Builder}
* avoiding the need to create one manually via {@link CancelReplicationTaskAssessmentRunRequest#builder()}
*
*
* @param cancelReplicationTaskAssessmentRunRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.CancelReplicationTaskAssessmentRunRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CancelReplicationTaskAssessmentRun
* @see AWS API Documentation
*/
default CompletableFuture cancelReplicationTaskAssessmentRun(
Consumer cancelReplicationTaskAssessmentRunRequest) {
return cancelReplicationTaskAssessmentRun(CancelReplicationTaskAssessmentRunRequest.builder()
.applyMutation(cancelReplicationTaskAssessmentRunRequest).build());
}
/**
*
* Creates a data provider using the provided settings. A data provider stores a data store type and location
* information about your database.
*
*
* @param createDataProviderRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateDataProvider
* @see AWS API
* Documentation
*/
default CompletableFuture createDataProvider(CreateDataProviderRequest createDataProviderRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateDataProviderRequest.Builder} avoiding the
* need to create one manually via {@link CreateDataProviderRequest#builder()}
*
*
* @param createDataProviderRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.CreateDataProviderRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateDataProvider
* @see AWS API
* Documentation
*/
default CompletableFuture createDataProvider(
Consumer createDataProviderRequest) {
return createDataProvider(CreateDataProviderRequest.builder().applyMutation(createDataProviderRequest).build());
}
/**
*
* 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.
*
*
*
* @param createEndpointRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateEndpoint
* @see AWS API
* Documentation
*/
default CompletableFuture createEndpoint(CreateEndpointRequest createEndpointRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateEndpointRequest.Builder} avoiding the need to
* create one manually via {@link CreateEndpointRequest#builder()}
*
*
* @param createEndpointRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.CreateEndpointRequest.Builder} to create a
* request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateEndpoint
* @see AWS API
* Documentation
*/
default CompletableFuture createEndpoint(Consumer createEndpointRequest) {
return createEndpoint(CreateEndpointRequest.builder().applyMutation(createEndpointRequest).build());
}
/**
*
* 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.
*
*
* @param createEventSubscriptionRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateEventSubscription
* @see AWS
* API Documentation
*/
default CompletableFuture createEventSubscription(
CreateEventSubscriptionRequest createEventSubscriptionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateEventSubscriptionRequest.Builder} avoiding
* the need to create one manually via {@link CreateEventSubscriptionRequest#builder()}
*
*
* @param createEventSubscriptionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.CreateEventSubscriptionRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateEventSubscription
* @see AWS
* API Documentation
*/
default CompletableFuture createEventSubscription(
Consumer createEventSubscriptionRequest) {
return createEventSubscription(CreateEventSubscriptionRequest.builder().applyMutation(createEventSubscriptionRequest)
.build());
}
/**
*
* Creates a Fleet Advisor collector using the specified parameters.
*
*
* @param createFleetAdvisorCollectorRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateFleetAdvisorCollector
* @see AWS API Documentation
*/
default CompletableFuture createFleetAdvisorCollector(
CreateFleetAdvisorCollectorRequest createFleetAdvisorCollectorRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a Fleet Advisor collector using the specified parameters.
*
*
*
* This is a convenience which creates an instance of the {@link CreateFleetAdvisorCollectorRequest.Builder}
* avoiding the need to create one manually via {@link CreateFleetAdvisorCollectorRequest#builder()}
*
*
* @param createFleetAdvisorCollectorRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.CreateFleetAdvisorCollectorRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateFleetAdvisorCollector
* @see AWS API Documentation
*/
default CompletableFuture createFleetAdvisorCollector(
Consumer createFleetAdvisorCollectorRequest) {
return createFleetAdvisorCollector(CreateFleetAdvisorCollectorRequest.builder()
.applyMutation(createFleetAdvisorCollectorRequest).build());
}
/**
*
* Creates the instance profile using the specified parameters.
*
*
* @param createInstanceProfileRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateInstanceProfile
* @see AWS API
* Documentation
*/
default CompletableFuture createInstanceProfile(
CreateInstanceProfileRequest createInstanceProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates the instance profile using the specified parameters.
*
*
*
* This is a convenience which creates an instance of the {@link CreateInstanceProfileRequest.Builder} avoiding the
* need to create one manually via {@link CreateInstanceProfileRequest#builder()}
*
*
* @param createInstanceProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.CreateInstanceProfileRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateInstanceProfile
* @see AWS API
* Documentation
*/
default CompletableFuture createInstanceProfile(
Consumer createInstanceProfileRequest) {
return createInstanceProfile(CreateInstanceProfileRequest.builder().applyMutation(createInstanceProfileRequest).build());
}
/**
*
* 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.
*
*
* @param createMigrationProjectRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateMigrationProject
* @see AWS
* API Documentation
*/
default CompletableFuture createMigrationProject(
CreateMigrationProjectRequest createMigrationProjectRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateMigrationProjectRequest.Builder} avoiding the
* need to create one manually via {@link CreateMigrationProjectRequest#builder()}
*
*
* @param createMigrationProjectRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.CreateMigrationProjectRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateMigrationProject
* @see AWS
* API Documentation
*/
default CompletableFuture createMigrationProject(
Consumer createMigrationProjectRequest) {
return createMigrationProject(CreateMigrationProjectRequest.builder().applyMutation(createMigrationProjectRequest)
.build());
}
/**
*
* 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.
*
*
* @param createReplicationConfigRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateReplicationConfig
* @see AWS
* API Documentation
*/
default CompletableFuture createReplicationConfig(
CreateReplicationConfigRequest createReplicationConfigRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateReplicationConfigRequest.Builder} avoiding
* the need to create one manually via {@link CreateReplicationConfigRequest#builder()}
*
*
* @param createReplicationConfigRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.CreateReplicationConfigRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateReplicationConfig
* @see AWS
* API Documentation
*/
default CompletableFuture createReplicationConfig(
Consumer createReplicationConfigRequest) {
return createReplicationConfig(CreateReplicationConfigRequest.builder().applyMutation(createReplicationConfigRequest)
.build());
}
/**
*
* 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.
*
*
*
* @param createReplicationInstanceRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateReplicationInstance
* @see AWS
* API Documentation
*/
default CompletableFuture createReplicationInstance(
CreateReplicationInstanceRequest createReplicationInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateReplicationInstanceRequest.Builder} avoiding
* the need to create one manually via {@link CreateReplicationInstanceRequest#builder()}
*
*
* @param createReplicationInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.CreateReplicationInstanceRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateReplicationInstance
* @see AWS
* API Documentation
*/
default CompletableFuture createReplicationInstance(
Consumer createReplicationInstanceRequest) {
return createReplicationInstance(CreateReplicationInstanceRequest.builder()
.applyMutation(createReplicationInstanceRequest).build());
}
/**
*
* 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.
*
*
* @param createReplicationSubnetGroupRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateReplicationSubnetGroup
* @see AWS API Documentation
*/
default CompletableFuture createReplicationSubnetGroup(
CreateReplicationSubnetGroupRequest createReplicationSubnetGroupRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link CreateReplicationSubnetGroupRequest.Builder}
* avoiding the need to create one manually via {@link CreateReplicationSubnetGroupRequest#builder()}
*
*
* @param createReplicationSubnetGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.CreateReplicationSubnetGroupRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateReplicationSubnetGroup
* @see AWS API Documentation
*/
default CompletableFuture createReplicationSubnetGroup(
Consumer createReplicationSubnetGroupRequest) {
return createReplicationSubnetGroup(CreateReplicationSubnetGroupRequest.builder()
.applyMutation(createReplicationSubnetGroupRequest).build());
}
/**
*
* Creates a replication task using the specified parameters.
*
*
* @param createReplicationTaskRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateReplicationTask
* @see AWS API
* Documentation
*/
default CompletableFuture createReplicationTask(
CreateReplicationTaskRequest createReplicationTaskRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a replication task using the specified parameters.
*
*
*
* This is a convenience which creates an instance of the {@link CreateReplicationTaskRequest.Builder} avoiding the
* need to create one manually via {@link CreateReplicationTaskRequest#builder()}
*
*
* @param createReplicationTaskRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.CreateReplicationTaskRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.CreateReplicationTask
* @see AWS API
* Documentation
*/
default CompletableFuture createReplicationTask(
Consumer createReplicationTaskRequest) {
return createReplicationTask(CreateReplicationTaskRequest.builder().applyMutation(createReplicationTaskRequest).build());
}
/**
*
* Deletes the specified certificate.
*
*
* @param deleteCertificateRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteCertificate
* @see AWS API
* Documentation
*/
default CompletableFuture deleteCertificate(DeleteCertificateRequest deleteCertificateRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified certificate.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteCertificateRequest.Builder} avoiding the need
* to create one manually via {@link DeleteCertificateRequest#builder()}
*
*
* @param deleteCertificateRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteCertificateRequest.Builder} to create
* a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteCertificate
* @see AWS API
* Documentation
*/
default CompletableFuture deleteCertificate(
Consumer deleteCertificateRequest) {
return deleteCertificate(DeleteCertificateRequest.builder().applyMutation(deleteCertificateRequest).build());
}
/**
*
* Deletes the connection between a replication instance and an endpoint.
*
*
* @param deleteConnectionRequest
* @return A Java Future containing the result of the DeleteConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteConnection
* @see AWS API
* Documentation
*/
default CompletableFuture deleteConnection(DeleteConnectionRequest deleteConnectionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the connection between a replication instance and an endpoint.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteConnectionRequest.Builder} avoiding the need
* to create one manually via {@link DeleteConnectionRequest#builder()}
*
*
* @param deleteConnectionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteConnectionRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the DeleteConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteConnection
* @see AWS API
* Documentation
*/
default CompletableFuture deleteConnection(
Consumer deleteConnectionRequest) {
return deleteConnection(DeleteConnectionRequest.builder().applyMutation(deleteConnectionRequest).build());
}
/**
*
* 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.
*
*
*
* @param deleteDataProviderRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteDataProvider
* @see AWS API
* Documentation
*/
default CompletableFuture deleteDataProvider(DeleteDataProviderRequest deleteDataProviderRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DeleteDataProviderRequest.Builder} avoiding the
* need to create one manually via {@link DeleteDataProviderRequest#builder()}
*
*
* @param deleteDataProviderRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteDataProviderRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteDataProvider
* @see AWS API
* Documentation
*/
default CompletableFuture deleteDataProvider(
Consumer deleteDataProviderRequest) {
return deleteDataProvider(DeleteDataProviderRequest.builder().applyMutation(deleteDataProviderRequest).build());
}
/**
*
* Deletes the specified endpoint.
*
*
*
* All tasks associated with the endpoint must be deleted before you can delete the endpoint.
*
*
*
*
* @param deleteEndpointRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteEndpoint
* @see AWS API
* Documentation
*/
default CompletableFuture deleteEndpoint(DeleteEndpointRequest deleteEndpointRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DeleteEndpointRequest.Builder} avoiding the need to
* create one manually via {@link DeleteEndpointRequest#builder()}
*
*
* @param deleteEndpointRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteEndpointRequest.Builder} to create a
* request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteEndpoint
* @see AWS API
* Documentation
*/
default CompletableFuture deleteEndpoint(Consumer deleteEndpointRequest) {
return deleteEndpoint(DeleteEndpointRequest.builder().applyMutation(deleteEndpointRequest).build());
}
/**
*
* Deletes an DMS event subscription.
*
*
* @param deleteEventSubscriptionRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteEventSubscription
* @see AWS
* API Documentation
*/
default CompletableFuture deleteEventSubscription(
DeleteEventSubscriptionRequest deleteEventSubscriptionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an DMS event subscription.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteEventSubscriptionRequest.Builder} avoiding
* the need to create one manually via {@link DeleteEventSubscriptionRequest#builder()}
*
*
* @param deleteEventSubscriptionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteEventSubscriptionRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteEventSubscription
* @see AWS
* API Documentation
*/
default CompletableFuture deleteEventSubscription(
Consumer deleteEventSubscriptionRequest) {
return deleteEventSubscription(DeleteEventSubscriptionRequest.builder().applyMutation(deleteEventSubscriptionRequest)
.build());
}
/**
*
* Deletes the specified Fleet Advisor collector.
*
*
* @param deleteFleetAdvisorCollectorRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteFleetAdvisorCollector
* @see AWS API Documentation
*/
default CompletableFuture deleteFleetAdvisorCollector(
DeleteFleetAdvisorCollectorRequest deleteFleetAdvisorCollectorRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified Fleet Advisor collector.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteFleetAdvisorCollectorRequest.Builder}
* avoiding the need to create one manually via {@link DeleteFleetAdvisorCollectorRequest#builder()}
*
*
* @param deleteFleetAdvisorCollectorRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteFleetAdvisorCollectorRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteFleetAdvisorCollector
* @see AWS API Documentation
*/
default CompletableFuture deleteFleetAdvisorCollector(
Consumer deleteFleetAdvisorCollectorRequest) {
return deleteFleetAdvisorCollector(DeleteFleetAdvisorCollectorRequest.builder()
.applyMutation(deleteFleetAdvisorCollectorRequest).build());
}
/**
*
* Deletes the specified Fleet Advisor collector databases.
*
*
* @param deleteFleetAdvisorDatabasesRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteFleetAdvisorDatabases
* @see AWS API Documentation
*/
default CompletableFuture deleteFleetAdvisorDatabases(
DeleteFleetAdvisorDatabasesRequest deleteFleetAdvisorDatabasesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified Fleet Advisor collector databases.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteFleetAdvisorDatabasesRequest.Builder}
* avoiding the need to create one manually via {@link DeleteFleetAdvisorDatabasesRequest#builder()}
*
*
* @param deleteFleetAdvisorDatabasesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteFleetAdvisorDatabasesRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteFleetAdvisorDatabases
* @see AWS API Documentation
*/
default CompletableFuture deleteFleetAdvisorDatabases(
Consumer deleteFleetAdvisorDatabasesRequest) {
return deleteFleetAdvisorDatabases(DeleteFleetAdvisorDatabasesRequest.builder()
.applyMutation(deleteFleetAdvisorDatabasesRequest).build());
}
/**
*
* 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.
*
*
*
* @param deleteInstanceProfileRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteInstanceProfile
* @see AWS API
* Documentation
*/
default CompletableFuture deleteInstanceProfile(
DeleteInstanceProfileRequest deleteInstanceProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DeleteInstanceProfileRequest.Builder} avoiding the
* need to create one manually via {@link DeleteInstanceProfileRequest#builder()}
*
*
* @param deleteInstanceProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteInstanceProfileRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteInstanceProfile
* @see AWS API
* Documentation
*/
default CompletableFuture deleteInstanceProfile(
Consumer deleteInstanceProfileRequest) {
return deleteInstanceProfile(DeleteInstanceProfileRequest.builder().applyMutation(deleteInstanceProfileRequest).build());
}
/**
*
* Deletes the specified migration project.
*
*
*
* The migration project must be closed before you can delete it.
*
*
*
* @param deleteMigrationProjectRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteMigrationProject
* @see AWS
* API Documentation
*/
default CompletableFuture deleteMigrationProject(
DeleteMigrationProjectRequest deleteMigrationProjectRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DeleteMigrationProjectRequest.Builder} avoiding the
* need to create one manually via {@link DeleteMigrationProjectRequest#builder()}
*
*
* @param deleteMigrationProjectRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteMigrationProjectRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteMigrationProject
* @see AWS
* API Documentation
*/
default CompletableFuture deleteMigrationProject(
Consumer deleteMigrationProjectRequest) {
return deleteMigrationProject(DeleteMigrationProjectRequest.builder().applyMutation(deleteMigrationProjectRequest)
.build());
}
/**
*
* 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.
*
*
* @param deleteReplicationConfigRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteReplicationConfig
* @see AWS
* API Documentation
*/
default CompletableFuture deleteReplicationConfig(
DeleteReplicationConfigRequest deleteReplicationConfigRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DeleteReplicationConfigRequest.Builder} avoiding
* the need to create one manually via {@link DeleteReplicationConfigRequest#builder()}
*
*
* @param deleteReplicationConfigRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteReplicationConfigRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteReplicationConfig
* @see AWS
* API Documentation
*/
default CompletableFuture deleteReplicationConfig(
Consumer deleteReplicationConfigRequest) {
return deleteReplicationConfig(DeleteReplicationConfigRequest.builder().applyMutation(deleteReplicationConfigRequest)
.build());
}
/**
*
* Deletes the specified replication instance.
*
*
*
* You must delete any migration tasks that are associated with the replication instance before you can delete it.
*
*
*
*
* @param deleteReplicationInstanceRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteReplicationInstance
* @see AWS
* API Documentation
*/
default CompletableFuture deleteReplicationInstance(
DeleteReplicationInstanceRequest deleteReplicationInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DeleteReplicationInstanceRequest.Builder} avoiding
* the need to create one manually via {@link DeleteReplicationInstanceRequest#builder()}
*
*
* @param deleteReplicationInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteReplicationInstanceRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteReplicationInstance
* @see AWS
* API Documentation
*/
default CompletableFuture deleteReplicationInstance(
Consumer deleteReplicationInstanceRequest) {
return deleteReplicationInstance(DeleteReplicationInstanceRequest.builder()
.applyMutation(deleteReplicationInstanceRequest).build());
}
/**
*
* Deletes a subnet group.
*
*
* @param deleteReplicationSubnetGroupRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteReplicationSubnetGroup
* @see AWS API Documentation
*/
default CompletableFuture deleteReplicationSubnetGroup(
DeleteReplicationSubnetGroupRequest deleteReplicationSubnetGroupRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a subnet group.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteReplicationSubnetGroupRequest.Builder}
* avoiding the need to create one manually via {@link DeleteReplicationSubnetGroupRequest#builder()}
*
*
* @param deleteReplicationSubnetGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteReplicationSubnetGroupRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteReplicationSubnetGroup
* @see AWS API Documentation
*/
default CompletableFuture deleteReplicationSubnetGroup(
Consumer deleteReplicationSubnetGroupRequest) {
return deleteReplicationSubnetGroup(DeleteReplicationSubnetGroupRequest.builder()
.applyMutation(deleteReplicationSubnetGroupRequest).build());
}
/**
*
* Deletes the specified replication task.
*
*
* @param deleteReplicationTaskRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteReplicationTask
* @see AWS API
* Documentation
*/
default CompletableFuture deleteReplicationTask(
DeleteReplicationTaskRequest deleteReplicationTaskRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified replication task.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteReplicationTaskRequest.Builder} avoiding the
* need to create one manually via {@link DeleteReplicationTaskRequest#builder()}
*
*
* @param deleteReplicationTaskRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteReplicationTaskRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteReplicationTask
* @see AWS API
* Documentation
*/
default CompletableFuture deleteReplicationTask(
Consumer deleteReplicationTaskRequest) {
return deleteReplicationTask(DeleteReplicationTaskRequest.builder().applyMutation(deleteReplicationTaskRequest).build());
}
/**
*
* 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.
*
*
* @param deleteReplicationTaskAssessmentRunRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteReplicationTaskAssessmentRun
* @see AWS API Documentation
*/
default CompletableFuture deleteReplicationTaskAssessmentRun(
DeleteReplicationTaskAssessmentRunRequest deleteReplicationTaskAssessmentRunRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DeleteReplicationTaskAssessmentRunRequest.Builder}
* avoiding the need to create one manually via {@link DeleteReplicationTaskAssessmentRunRequest#builder()}
*
*
* @param deleteReplicationTaskAssessmentRunRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteReplicationTaskAssessmentRunRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DeleteReplicationTaskAssessmentRun
* @see AWS API Documentation
*/
default CompletableFuture deleteReplicationTaskAssessmentRun(
Consumer deleteReplicationTaskAssessmentRunRequest) {
return deleteReplicationTaskAssessmentRun(DeleteReplicationTaskAssessmentRunRequest.builder()
.applyMutation(deleteReplicationTaskAssessmentRunRequest).build());
}
/**
*
* 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.
*
*
* @param describeAccountAttributesRequest
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeAccountAttributes
* @see AWS
* API Documentation
*/
default CompletableFuture describeAccountAttributes(
DescribeAccountAttributesRequest describeAccountAttributesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DescribeAccountAttributesRequest.Builder} avoiding
* the need to create one manually via {@link DescribeAccountAttributesRequest#builder()}
*
*
* @param describeAccountAttributesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeAccountAttributesRequest.Builder}
* to create a request.
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeAccountAttributes
* @see AWS
* API Documentation
*/
default CompletableFuture describeAccountAttributes(
Consumer describeAccountAttributesRequest) {
return describeAccountAttributes(DescribeAccountAttributesRequest.builder()
.applyMutation(describeAccountAttributesRequest).build());
}
/**
*
* 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.
*
*
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeAccountAttributes
* @see AWS
* API Documentation
*/
default CompletableFuture describeAccountAttributes() {
return describeAccountAttributes(DescribeAccountAttributesRequest.builder().build());
}
/**
*
* 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.
*
*
* @param describeApplicableIndividualAssessmentsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeApplicableIndividualAssessments
* @see AWS API Documentation
*/
default CompletableFuture describeApplicableIndividualAssessments(
DescribeApplicableIndividualAssessmentsRequest describeApplicableIndividualAssessmentsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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
* {@link DescribeApplicableIndividualAssessmentsRequest.Builder} avoiding the need to create one manually via
* {@link DescribeApplicableIndividualAssessmentsRequest#builder()}
*
*
* @param describeApplicableIndividualAssessmentsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeApplicableIndividualAssessments
* @see AWS API Documentation
*/
default CompletableFuture describeApplicableIndividualAssessments(
Consumer describeApplicableIndividualAssessmentsRequest) {
return describeApplicableIndividualAssessments(DescribeApplicableIndividualAssessmentsRequest.builder()
.applyMutation(describeApplicableIndividualAssessmentsRequest).build());
}
/**
*
* 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsPublisher publisher = client.describeApplicableIndividualAssessmentsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsPublisher publisher = client.describeApplicableIndividualAssessmentsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeApplicableIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsRequest)}
* operation.
*
*
* @param describeApplicableIndividualAssessmentsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeApplicableIndividualAssessments
* @see AWS API Documentation
*/
default DescribeApplicableIndividualAssessmentsPublisher describeApplicableIndividualAssessmentsPaginator(
DescribeApplicableIndividualAssessmentsRequest describeApplicableIndividualAssessmentsRequest) {
return new DescribeApplicableIndividualAssessmentsPublisher(this, 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsPublisher publisher = client.describeApplicableIndividualAssessmentsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsPublisher publisher = client.describeApplicableIndividualAssessmentsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeApplicableIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the
* {@link DescribeApplicableIndividualAssessmentsRequest.Builder} avoiding the need to create one manually via
* {@link DescribeApplicableIndividualAssessmentsRequest#builder()}
*
*
* @param describeApplicableIndividualAssessmentsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeApplicableIndividualAssessments
* @see AWS API Documentation
*/
default DescribeApplicableIndividualAssessmentsPublisher describeApplicableIndividualAssessmentsPaginator(
Consumer describeApplicableIndividualAssessmentsRequest) {
return describeApplicableIndividualAssessmentsPaginator(DescribeApplicableIndividualAssessmentsRequest.builder()
.applyMutation(describeApplicableIndividualAssessmentsRequest).build());
}
/**
*
* Provides a description of the certificate.
*
*
* @param describeCertificatesRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeCertificates
* @see AWS API
* Documentation
*/
default CompletableFuture describeCertificates(
DescribeCertificatesRequest describeCertificatesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Provides a description of the certificate.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeCertificatesRequest.Builder} avoiding the
* need to create one manually via {@link DescribeCertificatesRequest#builder()}
*
*
* @param describeCertificatesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeCertificates
* @see AWS API
* Documentation
*/
default CompletableFuture describeCertificates(
Consumer describeCertificatesRequest) {
return describeCertificates(DescribeCertificatesRequest.builder().applyMutation(describeCertificatesRequest).build());
}
/**
*
* Provides a description of the certificate.
*
*
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeCertificates
* @see AWS API
* Documentation
*/
default CompletableFuture describeCertificates() {
return describeCertificates(DescribeCertificatesRequest.builder().build());
}
/**
*
* Provides a description of the certificate.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPublisher publisher = client.describeCertificatesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPublisher publisher = client.describeCertificatesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)}
* operation.
*
*
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeCertificates
* @see AWS API
* Documentation
*/
default DescribeCertificatesPublisher describeCertificatesPaginator() {
return describeCertificatesPaginator(DescribeCertificatesRequest.builder().build());
}
/**
*
* Provides a description of the certificate.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPublisher publisher = client.describeCertificatesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPublisher publisher = client.describeCertificatesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)}
* operation.
*
*
* @param describeCertificatesRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeCertificates
* @see AWS API
* Documentation
*/
default DescribeCertificatesPublisher describeCertificatesPaginator(DescribeCertificatesRequest describeCertificatesRequest) {
return new DescribeCertificatesPublisher(this, describeCertificatesRequest);
}
/**
*
* Provides a description of the certificate.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPublisher publisher = client.describeCertificatesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPublisher publisher = client.describeCertificatesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeCertificatesRequest.Builder} avoiding the
* need to create one manually via {@link DescribeCertificatesRequest#builder()}
*
*
* @param describeCertificatesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeCertificates
* @see AWS API
* Documentation
*/
default DescribeCertificatesPublisher describeCertificatesPaginator(
Consumer describeCertificatesRequest) {
return describeCertificatesPaginator(DescribeCertificatesRequest.builder().applyMutation(describeCertificatesRequest)
.build());
}
/**
*
* 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.
*
*
* @param describeConnectionsRequest
* @return A Java Future containing the result of the DescribeConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeConnections
* @see AWS API
* Documentation
*/
default CompletableFuture describeConnections(
DescribeConnectionsRequest describeConnectionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DescribeConnectionsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeConnectionsRequest#builder()}
*
*
* @param describeConnectionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DescribeConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeConnections
* @see AWS API
* Documentation
*/
default CompletableFuture describeConnections(
Consumer describeConnectionsRequest) {
return describeConnections(DescribeConnectionsRequest.builder().applyMutation(describeConnectionsRequest).build());
}
/**
*
* 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.
*
*
* @return A Java Future containing the result of the DescribeConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeConnections
* @see AWS API
* Documentation
*/
default CompletableFuture describeConnections() {
return describeConnections(DescribeConnectionsRequest.builder().build());
}
/**
*
* 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPublisher publisher = client.describeConnectionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPublisher publisher = client.describeConnectionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)}
* operation.
*
*
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeConnections
* @see AWS API
* Documentation
*/
default DescribeConnectionsPublisher describeConnectionsPaginator() {
return describeConnectionsPaginator(DescribeConnectionsRequest.builder().build());
}
/**
*
* 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPublisher publisher = client.describeConnectionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPublisher publisher = client.describeConnectionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)}
* operation.
*
*
* @param describeConnectionsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeConnections
* @see AWS API
* Documentation
*/
default DescribeConnectionsPublisher describeConnectionsPaginator(DescribeConnectionsRequest describeConnectionsRequest) {
return new DescribeConnectionsPublisher(this, 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPublisher publisher = client.describeConnectionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPublisher publisher = client.describeConnectionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeConnectionsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeConnectionsRequest#builder()}
*
*
* @param describeConnectionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeConnections
* @see AWS API
* Documentation
*/
default DescribeConnectionsPublisher describeConnectionsPaginator(
Consumer describeConnectionsRequest) {
return describeConnectionsPaginator(DescribeConnectionsRequest.builder().applyMutation(describeConnectionsRequest)
.build());
}
/**
*
* Returns configuration parameters for a schema conversion project.
*
*
* @param describeConversionConfigurationRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeConversionConfiguration
* @see AWS API Documentation
*/
default CompletableFuture describeConversionConfiguration(
DescribeConversionConfigurationRequest describeConversionConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns configuration parameters for a schema conversion project.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeConversionConfigurationRequest.Builder}
* avoiding the need to create one manually via {@link DescribeConversionConfigurationRequest#builder()}
*
*
* @param describeConversionConfigurationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeConversionConfigurationRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeConversionConfiguration
* @see AWS API Documentation
*/
default CompletableFuture describeConversionConfiguration(
Consumer describeConversionConfigurationRequest) {
return describeConversionConfiguration(DescribeConversionConfigurationRequest.builder()
.applyMutation(describeConversionConfigurationRequest).build());
}
/**
*
* Returns a paginated list of data providers for your account in the current region.
*
*
* @param describeDataProvidersRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeDataProviders
* @see AWS API
* Documentation
*/
default CompletableFuture describeDataProviders(
DescribeDataProvidersRequest describeDataProvidersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a paginated list of data providers for your account in the current region.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDataProvidersRequest.Builder} avoiding the
* need to create one manually via {@link DescribeDataProvidersRequest#builder()}
*
*
* @param describeDataProvidersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeDataProviders
* @see AWS API
* Documentation
*/
default CompletableFuture describeDataProviders(
Consumer describeDataProvidersRequest) {
return describeDataProviders(DescribeDataProvidersRequest.builder().applyMutation(describeDataProvidersRequest).build());
}
/**
*
* Returns a paginated list of data providers for your account in the current region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersPublisher publisher = client.describeDataProvidersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersPublisher publisher = client.describeDataProvidersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeDataProviders(software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersRequest)}
* operation.
*
*
* @param describeDataProvidersRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeDataProviders
* @see AWS API
* Documentation
*/
default DescribeDataProvidersPublisher describeDataProvidersPaginator(
DescribeDataProvidersRequest describeDataProvidersRequest) {
return new DescribeDataProvidersPublisher(this, describeDataProvidersRequest);
}
/**
*
* Returns a paginated list of data providers for your account in the current region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersPublisher publisher = client.describeDataProvidersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersPublisher publisher = client.describeDataProvidersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeDataProviders(software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeDataProvidersRequest.Builder} avoiding the
* need to create one manually via {@link DescribeDataProvidersRequest#builder()}
*
*
* @param describeDataProvidersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeDataProviders
* @see AWS API
* Documentation
*/
default DescribeDataProvidersPublisher describeDataProvidersPaginator(
Consumer describeDataProvidersRequest) {
return describeDataProvidersPaginator(DescribeDataProvidersRequest.builder().applyMutation(describeDataProvidersRequest)
.build());
}
/**
*
* Returns information about the possible endpoint settings available when you create an endpoint for a specific
* database engine.
*
*
* @param describeEndpointSettingsRequest
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpointSettings
* @see AWS
* API Documentation
*/
default CompletableFuture describeEndpointSettings(
DescribeEndpointSettingsRequest describeEndpointSettingsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DescribeEndpointSettingsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeEndpointSettingsRequest#builder()}
*
*
* @param describeEndpointSettingsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsRequest.Builder} to
* create a request.
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpointSettings
* @see AWS
* API Documentation
*/
default CompletableFuture describeEndpointSettings(
Consumer describeEndpointSettingsRequest) {
return describeEndpointSettings(DescribeEndpointSettingsRequest.builder().applyMutation(describeEndpointSettingsRequest)
.build());
}
/**
*
* Returns information about the possible endpoint settings available when you create an endpoint for a specific
* database engine.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsPublisher publisher = client.describeEndpointSettingsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsPublisher publisher = client.describeEndpointSettingsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEndpointSettings(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsRequest)}
* operation.
*
*
* @param describeEndpointSettingsRequest
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpointSettings
* @see AWS
* API Documentation
*/
default DescribeEndpointSettingsPublisher describeEndpointSettingsPaginator(
DescribeEndpointSettingsRequest describeEndpointSettingsRequest) {
return new DescribeEndpointSettingsPublisher(this, describeEndpointSettingsRequest);
}
/**
*
* Returns information about the possible endpoint settings available when you create an endpoint for a specific
* database engine.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsPublisher publisher = client.describeEndpointSettingsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsPublisher publisher = client.describeEndpointSettingsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEndpointSettings(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeEndpointSettingsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeEndpointSettingsRequest#builder()}
*
*
* @param describeEndpointSettingsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsRequest.Builder} to
* create a request.
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpointSettings
* @see AWS
* API Documentation
*/
default DescribeEndpointSettingsPublisher describeEndpointSettingsPaginator(
Consumer describeEndpointSettingsRequest) {
return describeEndpointSettingsPaginator(DescribeEndpointSettingsRequest.builder()
.applyMutation(describeEndpointSettingsRequest).build());
}
/**
*
* Returns information about the type of endpoints available.
*
*
* @param describeEndpointTypesRequest
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpointTypes
* @see AWS API
* Documentation
*/
default CompletableFuture describeEndpointTypes(
DescribeEndpointTypesRequest describeEndpointTypesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the type of endpoints available.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEndpointTypesRequest.Builder} avoiding the
* need to create one manually via {@link DescribeEndpointTypesRequest#builder()}
*
*
* @param describeEndpointTypesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest.Builder} to
* create a request.
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpointTypes
* @see AWS API
* Documentation
*/
default CompletableFuture describeEndpointTypes(
Consumer describeEndpointTypesRequest) {
return describeEndpointTypes(DescribeEndpointTypesRequest.builder().applyMutation(describeEndpointTypesRequest).build());
}
/**
*
* Returns information about the type of endpoints available.
*
*
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpointTypes
* @see AWS API
* Documentation
*/
default CompletableFuture describeEndpointTypes() {
return describeEndpointTypes(DescribeEndpointTypesRequest.builder().build());
}
/**
*
* Returns information about the type of endpoints available.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPublisher publisher = client.describeEndpointTypesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPublisher publisher = client.describeEndpointTypesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)}
* operation.
*
*
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpointTypes
* @see AWS API
* Documentation
*/
default DescribeEndpointTypesPublisher describeEndpointTypesPaginator() {
return describeEndpointTypesPaginator(DescribeEndpointTypesRequest.builder().build());
}
/**
*
* Returns information about the type of endpoints available.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPublisher publisher = client.describeEndpointTypesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPublisher publisher = client.describeEndpointTypesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)}
* operation.
*
*
* @param describeEndpointTypesRequest
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpointTypes
* @see AWS API
* Documentation
*/
default DescribeEndpointTypesPublisher describeEndpointTypesPaginator(
DescribeEndpointTypesRequest describeEndpointTypesRequest) {
return new DescribeEndpointTypesPublisher(this, describeEndpointTypesRequest);
}
/**
*
* Returns information about the type of endpoints available.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPublisher publisher = client.describeEndpointTypesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPublisher publisher = client.describeEndpointTypesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeEndpointTypesRequest.Builder} avoiding the
* need to create one manually via {@link DescribeEndpointTypesRequest#builder()}
*
*
* @param describeEndpointTypesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest.Builder} to
* create a request.
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpointTypes
* @see AWS API
* Documentation
*/
default DescribeEndpointTypesPublisher describeEndpointTypesPaginator(
Consumer describeEndpointTypesRequest) {
return describeEndpointTypesPaginator(DescribeEndpointTypesRequest.builder().applyMutation(describeEndpointTypesRequest)
.build());
}
/**
*
* Returns information about the endpoints for your account in the current region.
*
*
* @param describeEndpointsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpoints
* @see AWS API
* Documentation
*/
default CompletableFuture describeEndpoints(DescribeEndpointsRequest describeEndpointsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the endpoints for your account in the current region.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEndpointsRequest.Builder} avoiding the need
* to create one manually via {@link DescribeEndpointsRequest#builder()}
*
*
* @param describeEndpointsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest.Builder} to create
* a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpoints
* @see AWS API
* Documentation
*/
default CompletableFuture describeEndpoints(
Consumer describeEndpointsRequest) {
return describeEndpoints(DescribeEndpointsRequest.builder().applyMutation(describeEndpointsRequest).build());
}
/**
*
* Returns information about the endpoints for your account in the current region.
*
*
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpoints
* @see AWS API
* Documentation
*/
default CompletableFuture describeEndpoints() {
return describeEndpoints(DescribeEndpointsRequest.builder().build());
}
/**
*
* Returns information about the endpoints for your account in the current region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)}
* operation.
*
*
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpoints
* @see AWS API
* Documentation
*/
default DescribeEndpointsPublisher describeEndpointsPaginator() {
return describeEndpointsPaginator(DescribeEndpointsRequest.builder().build());
}
/**
*
* Returns information about the endpoints for your account in the current region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)}
* operation.
*
*
* @param describeEndpointsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpoints
* @see AWS API
* Documentation
*/
default DescribeEndpointsPublisher describeEndpointsPaginator(DescribeEndpointsRequest describeEndpointsRequest) {
return new DescribeEndpointsPublisher(this, describeEndpointsRequest);
}
/**
*
* Returns information about the endpoints for your account in the current region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeEndpointsRequest.Builder} avoiding the need
* to create one manually via {@link DescribeEndpointsRequest#builder()}
*
*
* @param describeEndpointsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest.Builder} to create
* a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeEndpoints
* @see AWS API
* Documentation
*/
default DescribeEndpointsPublisher describeEndpointsPaginator(
Consumer describeEndpointsRequest) {
return describeEndpointsPaginator(DescribeEndpointsRequest.builder().applyMutation(describeEndpointsRequest).build());
}
/**
*
* Returns information about the replication instance versions used in the project.
*
*
* @param describeEngineVersionsRequest
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEngineVersions
* @see AWS
* API Documentation
*/
default CompletableFuture describeEngineVersions(
DescribeEngineVersionsRequest describeEngineVersionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the replication instance versions used in the project.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEngineVersionsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeEngineVersionsRequest#builder()}
*
*
* @param describeEngineVersionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsRequest.Builder} to
* create a request.
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEngineVersions
* @see AWS
* API Documentation
*/
default CompletableFuture describeEngineVersions(
Consumer describeEngineVersionsRequest) {
return describeEngineVersions(DescribeEngineVersionsRequest.builder().applyMutation(describeEngineVersionsRequest)
.build());
}
/**
*
* Returns information about the replication instance versions used in the project.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsPublisher publisher = client.describeEngineVersionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsPublisher publisher = client.describeEngineVersionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEngineVersions(software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsRequest)}
* operation.
*
*
* @param describeEngineVersionsRequest
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEngineVersions
* @see AWS
* API Documentation
*/
default DescribeEngineVersionsPublisher describeEngineVersionsPaginator(
DescribeEngineVersionsRequest describeEngineVersionsRequest) {
return new DescribeEngineVersionsPublisher(this, describeEngineVersionsRequest);
}
/**
*
* Returns information about the replication instance versions used in the project.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsPublisher publisher = client.describeEngineVersionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsPublisher publisher = client.describeEngineVersionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEngineVersions(software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeEngineVersionsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeEngineVersionsRequest#builder()}
*
*
* @param describeEngineVersionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsRequest.Builder} to
* create a request.
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEngineVersions
* @see AWS
* API Documentation
*/
default DescribeEngineVersionsPublisher describeEngineVersionsPaginator(
Consumer describeEngineVersionsRequest) {
return describeEngineVersionsPaginator(DescribeEngineVersionsRequest.builder()
.applyMutation(describeEngineVersionsRequest).build());
}
/**
*
* 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.
*
*
* @param describeEventCategoriesRequest
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEventCategories
* @see AWS
* API Documentation
*/
default CompletableFuture describeEventCategories(
DescribeEventCategoriesRequest describeEventCategoriesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DescribeEventCategoriesRequest.Builder} avoiding
* the need to create one manually via {@link DescribeEventCategoriesRequest#builder()}
*
*
* @param describeEventCategoriesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeEventCategoriesRequest.Builder} to
* create a request.
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEventCategories
* @see AWS
* API Documentation
*/
default CompletableFuture describeEventCategories(
Consumer describeEventCategoriesRequest) {
return describeEventCategories(DescribeEventCategoriesRequest.builder().applyMutation(describeEventCategoriesRequest)
.build());
}
/**
*
* 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.
*
*
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEventCategories
* @see AWS
* API Documentation
*/
default CompletableFuture describeEventCategories() {
return describeEventCategories(DescribeEventCategoriesRequest.builder().build());
}
/**
*
* 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.
*
*
* @param describeEventSubscriptionsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeEventSubscriptions
* @see AWS API Documentation
*/
default CompletableFuture describeEventSubscriptions(
DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DescribeEventSubscriptionsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeEventSubscriptionsRequest#builder()}
*
*
* @param describeEventSubscriptionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeEventSubscriptions
* @see AWS API Documentation
*/
default CompletableFuture describeEventSubscriptions(
Consumer describeEventSubscriptionsRequest) {
return describeEventSubscriptions(DescribeEventSubscriptionsRequest.builder()
.applyMutation(describeEventSubscriptionsRequest).build());
}
/**
*
* 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.
*
*
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeEventSubscriptions
* @see AWS API Documentation
*/
default CompletableFuture describeEventSubscriptions() {
return describeEventSubscriptions(DescribeEventSubscriptionsRequest.builder().build());
}
/**
*
* 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPublisher publisher = client.describeEventSubscriptionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPublisher publisher = client.describeEventSubscriptionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)}
* operation.
*
*
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeEventSubscriptions
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsPublisher describeEventSubscriptionsPaginator() {
return describeEventSubscriptionsPaginator(DescribeEventSubscriptionsRequest.builder().build());
}
/**
*
* 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPublisher publisher = client.describeEventSubscriptionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPublisher publisher = client.describeEventSubscriptionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)}
* operation.
*
*
* @param describeEventSubscriptionsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeEventSubscriptions
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsPublisher describeEventSubscriptionsPaginator(
DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest) {
return new DescribeEventSubscriptionsPublisher(this, 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPublisher publisher = client.describeEventSubscriptionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPublisher publisher = client.describeEventSubscriptionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeEventSubscriptionsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeEventSubscriptionsRequest#builder()}
*
*
* @param describeEventSubscriptionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeEventSubscriptions
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsPublisher describeEventSubscriptionsPaginator(
Consumer describeEventSubscriptionsRequest) {
return describeEventSubscriptionsPaginator(DescribeEventSubscriptionsRequest.builder()
.applyMutation(describeEventSubscriptionsRequest).build());
}
/**
*
* 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.
*
*
* @param describeEventsRequest
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEvents
* @see AWS API
* Documentation
*/
default CompletableFuture describeEvents(DescribeEventsRequest describeEventsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DescribeEventsRequest.Builder} avoiding the need to
* create one manually via {@link DescribeEventsRequest#builder()}
*
*
* @param describeEventsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest.Builder} to create a
* request.
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEvents
* @see AWS API
* Documentation
*/
default CompletableFuture describeEvents(Consumer describeEventsRequest) {
return describeEvents(DescribeEventsRequest.builder().applyMutation(describeEventsRequest).build());
}
/**
*
* 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.
*
*
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEvents
* @see AWS API
* Documentation
*/
default CompletableFuture describeEvents() {
return describeEvents(DescribeEventsRequest.builder().build());
}
/**
*
* 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)}
* operation.
*
*
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEvents
* @see AWS API
* Documentation
*/
default DescribeEventsPublisher describeEventsPaginator() {
return describeEventsPaginator(DescribeEventsRequest.builder().build());
}
/**
*
* 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)}
* operation.
*
*
* @param describeEventsRequest
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEvents
* @see AWS API
* Documentation
*/
default DescribeEventsPublisher describeEventsPaginator(DescribeEventsRequest describeEventsRequest) {
return new DescribeEventsPublisher(this, 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeEventsRequest.Builder} avoiding the need to
* create one manually via {@link DescribeEventsRequest#builder()}
*
*
* @param describeEventsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest.Builder} to create a
* request.
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeEvents
* @see AWS API
* Documentation
*/
default DescribeEventsPublisher describeEventsPaginator(Consumer describeEventsRequest) {
return describeEventsPaginator(DescribeEventsRequest.builder().applyMutation(describeEventsRequest).build());
}
/**
*
* 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.
*
*
* @param describeExtensionPackAssociationsRequest
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeExtensionPackAssociations
* @see AWS API Documentation
*/
default CompletableFuture describeExtensionPackAssociations(
DescribeExtensionPackAssociationsRequest describeExtensionPackAssociationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DescribeExtensionPackAssociationsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeExtensionPackAssociationsRequest#builder()}
*
*
* @param describeExtensionPackAssociationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsRequest.Builder}
* to create a request.
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeExtensionPackAssociations
* @see AWS API Documentation
*/
default CompletableFuture describeExtensionPackAssociations(
Consumer describeExtensionPackAssociationsRequest) {
return describeExtensionPackAssociations(DescribeExtensionPackAssociationsRequest.builder()
.applyMutation(describeExtensionPackAssociationsRequest).build());
}
/**
*
* 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsPublisher publisher = client.describeExtensionPackAssociationsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsPublisher publisher = client.describeExtensionPackAssociationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeExtensionPackAssociations(software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsRequest)}
* operation.
*
*
* @param describeExtensionPackAssociationsRequest
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeExtensionPackAssociations
* @see AWS API Documentation
*/
default DescribeExtensionPackAssociationsPublisher describeExtensionPackAssociationsPaginator(
DescribeExtensionPackAssociationsRequest describeExtensionPackAssociationsRequest) {
return new DescribeExtensionPackAssociationsPublisher(this, 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsPublisher publisher = client.describeExtensionPackAssociationsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsPublisher publisher = client.describeExtensionPackAssociationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeExtensionPackAssociations(software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeExtensionPackAssociationsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeExtensionPackAssociationsRequest#builder()}
*
*
* @param describeExtensionPackAssociationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsRequest.Builder}
* to create a request.
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeExtensionPackAssociations
* @see AWS API Documentation
*/
default DescribeExtensionPackAssociationsPublisher describeExtensionPackAssociationsPaginator(
Consumer describeExtensionPackAssociationsRequest) {
return describeExtensionPackAssociationsPaginator(DescribeExtensionPackAssociationsRequest.builder()
.applyMutation(describeExtensionPackAssociationsRequest).build());
}
/**
*
* Returns a list of the Fleet Advisor collectors in your account.
*
*
* @param describeFleetAdvisorCollectorsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorCollectors
* @see AWS API Documentation
*/
default CompletableFuture describeFleetAdvisorCollectors(
DescribeFleetAdvisorCollectorsRequest describeFleetAdvisorCollectorsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of the Fleet Advisor collectors in your account.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeFleetAdvisorCollectorsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeFleetAdvisorCollectorsRequest#builder()}
*
*
* @param describeFleetAdvisorCollectorsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorCollectors
* @see AWS API Documentation
*/
default CompletableFuture describeFleetAdvisorCollectors(
Consumer describeFleetAdvisorCollectorsRequest) {
return describeFleetAdvisorCollectors(DescribeFleetAdvisorCollectorsRequest.builder()
.applyMutation(describeFleetAdvisorCollectorsRequest).build());
}
/**
*
* Returns a list of the Fleet Advisor collectors in your account.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsPublisher publisher = client.describeFleetAdvisorCollectorsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsPublisher publisher = client.describeFleetAdvisorCollectorsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeFleetAdvisorCollectors(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsRequest)}
* operation.
*
*
* @param describeFleetAdvisorCollectorsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorCollectors
* @see AWS API Documentation
*/
default DescribeFleetAdvisorCollectorsPublisher describeFleetAdvisorCollectorsPaginator(
DescribeFleetAdvisorCollectorsRequest describeFleetAdvisorCollectorsRequest) {
return new DescribeFleetAdvisorCollectorsPublisher(this, describeFleetAdvisorCollectorsRequest);
}
/**
*
* Returns a list of the Fleet Advisor collectors in your account.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsPublisher publisher = client.describeFleetAdvisorCollectorsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsPublisher publisher = client.describeFleetAdvisorCollectorsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeFleetAdvisorCollectors(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeFleetAdvisorCollectorsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeFleetAdvisorCollectorsRequest#builder()}
*
*
* @param describeFleetAdvisorCollectorsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorCollectors
* @see AWS API Documentation
*/
default DescribeFleetAdvisorCollectorsPublisher describeFleetAdvisorCollectorsPaginator(
Consumer describeFleetAdvisorCollectorsRequest) {
return describeFleetAdvisorCollectorsPaginator(DescribeFleetAdvisorCollectorsRequest.builder()
.applyMutation(describeFleetAdvisorCollectorsRequest).build());
}
/**
*
* Returns a list of Fleet Advisor databases in your account.
*
*
* @param describeFleetAdvisorDatabasesRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorDatabases
* @see AWS API Documentation
*/
default CompletableFuture describeFleetAdvisorDatabases(
DescribeFleetAdvisorDatabasesRequest describeFleetAdvisorDatabasesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of Fleet Advisor databases in your account.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeFleetAdvisorDatabasesRequest.Builder}
* avoiding the need to create one manually via {@link DescribeFleetAdvisorDatabasesRequest#builder()}
*
*
* @param describeFleetAdvisorDatabasesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorDatabases
* @see AWS API Documentation
*/
default CompletableFuture describeFleetAdvisorDatabases(
Consumer describeFleetAdvisorDatabasesRequest) {
return describeFleetAdvisorDatabases(DescribeFleetAdvisorDatabasesRequest.builder()
.applyMutation(describeFleetAdvisorDatabasesRequest).build());
}
/**
*
* Returns a list of Fleet Advisor databases in your account.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesPublisher publisher = client.describeFleetAdvisorDatabasesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesPublisher publisher = client.describeFleetAdvisorDatabasesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeFleetAdvisorDatabases(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesRequest)}
* operation.
*
*
* @param describeFleetAdvisorDatabasesRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorDatabases
* @see AWS API Documentation
*/
default DescribeFleetAdvisorDatabasesPublisher describeFleetAdvisorDatabasesPaginator(
DescribeFleetAdvisorDatabasesRequest describeFleetAdvisorDatabasesRequest) {
return new DescribeFleetAdvisorDatabasesPublisher(this, describeFleetAdvisorDatabasesRequest);
}
/**
*
* Returns a list of Fleet Advisor databases in your account.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesPublisher publisher = client.describeFleetAdvisorDatabasesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesPublisher publisher = client.describeFleetAdvisorDatabasesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeFleetAdvisorDatabases(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeFleetAdvisorDatabasesRequest.Builder}
* avoiding the need to create one manually via {@link DescribeFleetAdvisorDatabasesRequest#builder()}
*
*
* @param describeFleetAdvisorDatabasesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorDatabases
* @see AWS API Documentation
*/
default DescribeFleetAdvisorDatabasesPublisher describeFleetAdvisorDatabasesPaginator(
Consumer describeFleetAdvisorDatabasesRequest) {
return describeFleetAdvisorDatabasesPaginator(DescribeFleetAdvisorDatabasesRequest.builder()
.applyMutation(describeFleetAdvisorDatabasesRequest).build());
}
/**
*
* Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.
*
*
* @param describeFleetAdvisorLsaAnalysisRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorLsaAnalysis
* @see AWS API Documentation
*/
default CompletableFuture describeFleetAdvisorLsaAnalysis(
DescribeFleetAdvisorLsaAnalysisRequest describeFleetAdvisorLsaAnalysisRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeFleetAdvisorLsaAnalysisRequest.Builder}
* avoiding the need to create one manually via {@link DescribeFleetAdvisorLsaAnalysisRequest#builder()}
*
*
* @param describeFleetAdvisorLsaAnalysisRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorLsaAnalysis
* @see AWS API Documentation
*/
default CompletableFuture describeFleetAdvisorLsaAnalysis(
Consumer describeFleetAdvisorLsaAnalysisRequest) {
return describeFleetAdvisorLsaAnalysis(DescribeFleetAdvisorLsaAnalysisRequest.builder()
.applyMutation(describeFleetAdvisorLsaAnalysisRequest).build());
}
/**
*
* Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisPublisher publisher = client.describeFleetAdvisorLsaAnalysisPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisPublisher publisher = client.describeFleetAdvisorLsaAnalysisPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeFleetAdvisorLsaAnalysis(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisRequest)}
* operation.
*
*
* @param describeFleetAdvisorLsaAnalysisRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorLsaAnalysis
* @see AWS API Documentation
*/
default DescribeFleetAdvisorLsaAnalysisPublisher describeFleetAdvisorLsaAnalysisPaginator(
DescribeFleetAdvisorLsaAnalysisRequest describeFleetAdvisorLsaAnalysisRequest) {
return new DescribeFleetAdvisorLsaAnalysisPublisher(this, describeFleetAdvisorLsaAnalysisRequest);
}
/**
*
* Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisPublisher publisher = client.describeFleetAdvisorLsaAnalysisPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisPublisher publisher = client.describeFleetAdvisorLsaAnalysisPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeFleetAdvisorLsaAnalysis(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeFleetAdvisorLsaAnalysisRequest.Builder}
* avoiding the need to create one manually via {@link DescribeFleetAdvisorLsaAnalysisRequest#builder()}
*
*
* @param describeFleetAdvisorLsaAnalysisRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorLsaAnalysis
* @see AWS API Documentation
*/
default DescribeFleetAdvisorLsaAnalysisPublisher describeFleetAdvisorLsaAnalysisPaginator(
Consumer describeFleetAdvisorLsaAnalysisRequest) {
return describeFleetAdvisorLsaAnalysisPaginator(DescribeFleetAdvisorLsaAnalysisRequest.builder()
.applyMutation(describeFleetAdvisorLsaAnalysisRequest).build());
}
/**
*
* Provides descriptions of the schemas discovered by your Fleet Advisor collectors.
*
*
* @param describeFleetAdvisorSchemaObjectSummaryRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorSchemaObjectSummary
* @see AWS API Documentation
*/
default CompletableFuture describeFleetAdvisorSchemaObjectSummary(
DescribeFleetAdvisorSchemaObjectSummaryRequest describeFleetAdvisorSchemaObjectSummaryRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Provides descriptions of the schemas discovered by your Fleet Advisor collectors.
*
*
*
* This is a convenience which creates an instance of the
* {@link DescribeFleetAdvisorSchemaObjectSummaryRequest.Builder} avoiding the need to create one manually via
* {@link DescribeFleetAdvisorSchemaObjectSummaryRequest#builder()}
*
*
* @param describeFleetAdvisorSchemaObjectSummaryRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorSchemaObjectSummary
* @see AWS API Documentation
*/
default CompletableFuture describeFleetAdvisorSchemaObjectSummary(
Consumer describeFleetAdvisorSchemaObjectSummaryRequest) {
return describeFleetAdvisorSchemaObjectSummary(DescribeFleetAdvisorSchemaObjectSummaryRequest.builder()
.applyMutation(describeFleetAdvisorSchemaObjectSummaryRequest).build());
}
/**
*
* Provides descriptions of the schemas discovered by your Fleet Advisor collectors.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryPublisher publisher = client.describeFleetAdvisorSchemaObjectSummaryPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryPublisher publisher = client.describeFleetAdvisorSchemaObjectSummaryPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeFleetAdvisorSchemaObjectSummary(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryRequest)}
* operation.
*
*
* @param describeFleetAdvisorSchemaObjectSummaryRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorSchemaObjectSummary
* @see AWS API Documentation
*/
default DescribeFleetAdvisorSchemaObjectSummaryPublisher describeFleetAdvisorSchemaObjectSummaryPaginator(
DescribeFleetAdvisorSchemaObjectSummaryRequest describeFleetAdvisorSchemaObjectSummaryRequest) {
return new DescribeFleetAdvisorSchemaObjectSummaryPublisher(this, describeFleetAdvisorSchemaObjectSummaryRequest);
}
/**
*
* Provides descriptions of the schemas discovered by your Fleet Advisor collectors.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryPublisher publisher = client.describeFleetAdvisorSchemaObjectSummaryPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryPublisher publisher = client.describeFleetAdvisorSchemaObjectSummaryPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeFleetAdvisorSchemaObjectSummary(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the
* {@link DescribeFleetAdvisorSchemaObjectSummaryRequest.Builder} avoiding the need to create one manually via
* {@link DescribeFleetAdvisorSchemaObjectSummaryRequest#builder()}
*
*
* @param describeFleetAdvisorSchemaObjectSummaryRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorSchemaObjectSummary
* @see AWS API Documentation
*/
default DescribeFleetAdvisorSchemaObjectSummaryPublisher describeFleetAdvisorSchemaObjectSummaryPaginator(
Consumer describeFleetAdvisorSchemaObjectSummaryRequest) {
return describeFleetAdvisorSchemaObjectSummaryPaginator(DescribeFleetAdvisorSchemaObjectSummaryRequest.builder()
.applyMutation(describeFleetAdvisorSchemaObjectSummaryRequest).build());
}
/**
*
* Returns a list of schemas detected by Fleet Advisor Collectors in your account.
*
*
* @param describeFleetAdvisorSchemasRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorSchemas
* @see AWS API Documentation
*/
default CompletableFuture describeFleetAdvisorSchemas(
DescribeFleetAdvisorSchemasRequest describeFleetAdvisorSchemasRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of schemas detected by Fleet Advisor Collectors in your account.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeFleetAdvisorSchemasRequest.Builder}
* avoiding the need to create one manually via {@link DescribeFleetAdvisorSchemasRequest#builder()}
*
*
* @param describeFleetAdvisorSchemasRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorSchemas
* @see AWS API Documentation
*/
default CompletableFuture describeFleetAdvisorSchemas(
Consumer describeFleetAdvisorSchemasRequest) {
return describeFleetAdvisorSchemas(DescribeFleetAdvisorSchemasRequest.builder()
.applyMutation(describeFleetAdvisorSchemasRequest).build());
}
/**
*
* Returns a list of schemas detected by Fleet Advisor Collectors in your account.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasPublisher publisher = client.describeFleetAdvisorSchemasPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasPublisher publisher = client.describeFleetAdvisorSchemasPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeFleetAdvisorSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasRequest)}
* operation.
*
*
* @param describeFleetAdvisorSchemasRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorSchemas
* @see AWS API Documentation
*/
default DescribeFleetAdvisorSchemasPublisher describeFleetAdvisorSchemasPaginator(
DescribeFleetAdvisorSchemasRequest describeFleetAdvisorSchemasRequest) {
return new DescribeFleetAdvisorSchemasPublisher(this, describeFleetAdvisorSchemasRequest);
}
/**
*
* Returns a list of schemas detected by Fleet Advisor Collectors in your account.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasPublisher publisher = client.describeFleetAdvisorSchemasPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasPublisher publisher = client.describeFleetAdvisorSchemasPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeFleetAdvisorSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeFleetAdvisorSchemasRequest.Builder}
* avoiding the need to create one manually via {@link DescribeFleetAdvisorSchemasRequest#builder()}
*
*
* @param describeFleetAdvisorSchemasRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeFleetAdvisorSchemas
* @see AWS API Documentation
*/
default DescribeFleetAdvisorSchemasPublisher describeFleetAdvisorSchemasPaginator(
Consumer describeFleetAdvisorSchemasRequest) {
return describeFleetAdvisorSchemasPaginator(DescribeFleetAdvisorSchemasRequest.builder()
.applyMutation(describeFleetAdvisorSchemasRequest).build());
}
/**
*
* Returns a paginated list of instance profiles for your account in the current region.
*
*
* @param describeInstanceProfilesRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeInstanceProfiles
* @see AWS
* API Documentation
*/
default CompletableFuture describeInstanceProfiles(
DescribeInstanceProfilesRequest describeInstanceProfilesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a paginated list of instance profiles for your account in the current region.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeInstanceProfilesRequest.Builder} avoiding
* the need to create one manually via {@link DescribeInstanceProfilesRequest#builder()}
*
*
* @param describeInstanceProfilesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeInstanceProfiles
* @see AWS
* API Documentation
*/
default CompletableFuture describeInstanceProfiles(
Consumer describeInstanceProfilesRequest) {
return describeInstanceProfiles(DescribeInstanceProfilesRequest.builder().applyMutation(describeInstanceProfilesRequest)
.build());
}
/**
*
* Returns a paginated list of instance profiles for your account in the current region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesPublisher publisher = client.describeInstanceProfilesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesPublisher publisher = client.describeInstanceProfilesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeInstanceProfiles(software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesRequest)}
* operation.
*
*
* @param describeInstanceProfilesRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeInstanceProfiles
* @see AWS
* API Documentation
*/
default DescribeInstanceProfilesPublisher describeInstanceProfilesPaginator(
DescribeInstanceProfilesRequest describeInstanceProfilesRequest) {
return new DescribeInstanceProfilesPublisher(this, describeInstanceProfilesRequest);
}
/**
*
* Returns a paginated list of instance profiles for your account in the current region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesPublisher publisher = client.describeInstanceProfilesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesPublisher publisher = client.describeInstanceProfilesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeInstanceProfiles(software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeInstanceProfilesRequest.Builder} avoiding
* the need to create one manually via {@link DescribeInstanceProfilesRequest#builder()}
*
*
* @param describeInstanceProfilesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeInstanceProfiles
* @see AWS
* API Documentation
*/
default DescribeInstanceProfilesPublisher describeInstanceProfilesPaginator(
Consumer describeInstanceProfilesRequest) {
return describeInstanceProfilesPaginator(DescribeInstanceProfilesRequest.builder()
.applyMutation(describeInstanceProfilesRequest).build());
}
/**
*
* Returns a paginated list of metadata model assessments for your account in the current region.
*
*
* @param describeMetadataModelAssessmentsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelAssessments
* @see AWS API Documentation
*/
default CompletableFuture describeMetadataModelAssessments(
DescribeMetadataModelAssessmentsRequest describeMetadataModelAssessmentsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DescribeMetadataModelAssessmentsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeMetadataModelAssessmentsRequest#builder()}
*
*
* @param describeMetadataModelAssessmentsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelAssessments
* @see AWS API Documentation
*/
default CompletableFuture describeMetadataModelAssessments(
Consumer describeMetadataModelAssessmentsRequest) {
return describeMetadataModelAssessments(DescribeMetadataModelAssessmentsRequest.builder()
.applyMutation(describeMetadataModelAssessmentsRequest).build());
}
/**
*
* Returns a paginated list of metadata model assessments for your account in the current region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsPublisher publisher = client.describeMetadataModelAssessmentsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsPublisher publisher = client.describeMetadataModelAssessmentsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeMetadataModelAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsRequest)}
* operation.
*
*
* @param describeMetadataModelAssessmentsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelAssessments
* @see AWS API Documentation
*/
default DescribeMetadataModelAssessmentsPublisher describeMetadataModelAssessmentsPaginator(
DescribeMetadataModelAssessmentsRequest describeMetadataModelAssessmentsRequest) {
return new DescribeMetadataModelAssessmentsPublisher(this, describeMetadataModelAssessmentsRequest);
}
/**
*
* Returns a paginated list of metadata model assessments for your account in the current region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsPublisher publisher = client.describeMetadataModelAssessmentsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsPublisher publisher = client.describeMetadataModelAssessmentsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeMetadataModelAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeMetadataModelAssessmentsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeMetadataModelAssessmentsRequest#builder()}
*
*
* @param describeMetadataModelAssessmentsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelAssessments
* @see AWS API Documentation
*/
default DescribeMetadataModelAssessmentsPublisher describeMetadataModelAssessmentsPaginator(
Consumer describeMetadataModelAssessmentsRequest) {
return describeMetadataModelAssessmentsPaginator(DescribeMetadataModelAssessmentsRequest.builder()
.applyMutation(describeMetadataModelAssessmentsRequest).build());
}
/**
*
* Returns a paginated list of metadata model conversions for a migration project.
*
*
* @param describeMetadataModelConversionsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelConversions
* @see AWS API Documentation
*/
default CompletableFuture describeMetadataModelConversions(
DescribeMetadataModelConversionsRequest describeMetadataModelConversionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a paginated list of metadata model conversions for a migration project.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeMetadataModelConversionsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeMetadataModelConversionsRequest#builder()}
*
*
* @param describeMetadataModelConversionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelConversions
* @see AWS API Documentation
*/
default CompletableFuture describeMetadataModelConversions(
Consumer describeMetadataModelConversionsRequest) {
return describeMetadataModelConversions(DescribeMetadataModelConversionsRequest.builder()
.applyMutation(describeMetadataModelConversionsRequest).build());
}
/**
*
* Returns a paginated list of metadata model conversions for a migration project.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsPublisher publisher = client.describeMetadataModelConversionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsPublisher publisher = client.describeMetadataModelConversionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeMetadataModelConversions(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsRequest)}
* operation.
*
*
* @param describeMetadataModelConversionsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelConversions
* @see AWS API Documentation
*/
default DescribeMetadataModelConversionsPublisher describeMetadataModelConversionsPaginator(
DescribeMetadataModelConversionsRequest describeMetadataModelConversionsRequest) {
return new DescribeMetadataModelConversionsPublisher(this, describeMetadataModelConversionsRequest);
}
/**
*
* Returns a paginated list of metadata model conversions for a migration project.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsPublisher publisher = client.describeMetadataModelConversionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsPublisher publisher = client.describeMetadataModelConversionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeMetadataModelConversions(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeMetadataModelConversionsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeMetadataModelConversionsRequest#builder()}
*
*
* @param describeMetadataModelConversionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelConversions
* @see AWS API Documentation
*/
default DescribeMetadataModelConversionsPublisher describeMetadataModelConversionsPaginator(
Consumer describeMetadataModelConversionsRequest) {
return describeMetadataModelConversionsPaginator(DescribeMetadataModelConversionsRequest.builder()
.applyMutation(describeMetadataModelConversionsRequest).build());
}
/**
*
* Returns a paginated list of metadata model exports.
*
*
* @param describeMetadataModelExportsAsScriptRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelExportsAsScript
* @see AWS API Documentation
*/
default CompletableFuture describeMetadataModelExportsAsScript(
DescribeMetadataModelExportsAsScriptRequest describeMetadataModelExportsAsScriptRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a paginated list of metadata model exports.
*
*
*
* This is a convenience which creates an instance of the
* {@link DescribeMetadataModelExportsAsScriptRequest.Builder} avoiding the need to create one manually via
* {@link DescribeMetadataModelExportsAsScriptRequest#builder()}
*
*
* @param describeMetadataModelExportsAsScriptRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelExportsAsScript
* @see AWS API Documentation
*/
default CompletableFuture describeMetadataModelExportsAsScript(
Consumer describeMetadataModelExportsAsScriptRequest) {
return describeMetadataModelExportsAsScript(DescribeMetadataModelExportsAsScriptRequest.builder()
.applyMutation(describeMetadataModelExportsAsScriptRequest).build());
}
/**
*
* Returns a paginated list of metadata model exports.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptPublisher publisher = client.describeMetadataModelExportsAsScriptPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptPublisher publisher = client.describeMetadataModelExportsAsScriptPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeMetadataModelExportsAsScript(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptRequest)}
* operation.
*
*
* @param describeMetadataModelExportsAsScriptRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelExportsAsScript
* @see AWS API Documentation
*/
default DescribeMetadataModelExportsAsScriptPublisher describeMetadataModelExportsAsScriptPaginator(
DescribeMetadataModelExportsAsScriptRequest describeMetadataModelExportsAsScriptRequest) {
return new DescribeMetadataModelExportsAsScriptPublisher(this, describeMetadataModelExportsAsScriptRequest);
}
/**
*
* Returns a paginated list of metadata model exports.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptPublisher publisher = client.describeMetadataModelExportsAsScriptPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptPublisher publisher = client.describeMetadataModelExportsAsScriptPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeMetadataModelExportsAsScript(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the
* {@link DescribeMetadataModelExportsAsScriptRequest.Builder} avoiding the need to create one manually via
* {@link DescribeMetadataModelExportsAsScriptRequest#builder()}
*
*
* @param describeMetadataModelExportsAsScriptRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelExportsAsScript
* @see AWS API Documentation
*/
default DescribeMetadataModelExportsAsScriptPublisher describeMetadataModelExportsAsScriptPaginator(
Consumer describeMetadataModelExportsAsScriptRequest) {
return describeMetadataModelExportsAsScriptPaginator(DescribeMetadataModelExportsAsScriptRequest.builder()
.applyMutation(describeMetadataModelExportsAsScriptRequest).build());
}
/**
*
* Returns a paginated list of metadata model exports.
*
*
* @param describeMetadataModelExportsToTargetRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelExportsToTarget
* @see AWS API Documentation
*/
default CompletableFuture describeMetadataModelExportsToTarget(
DescribeMetadataModelExportsToTargetRequest describeMetadataModelExportsToTargetRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a paginated list of metadata model exports.
*
*
*
* This is a convenience which creates an instance of the
* {@link DescribeMetadataModelExportsToTargetRequest.Builder} avoiding the need to create one manually via
* {@link DescribeMetadataModelExportsToTargetRequest#builder()}
*
*
* @param describeMetadataModelExportsToTargetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelExportsToTarget
* @see AWS API Documentation
*/
default CompletableFuture describeMetadataModelExportsToTarget(
Consumer describeMetadataModelExportsToTargetRequest) {
return describeMetadataModelExportsToTarget(DescribeMetadataModelExportsToTargetRequest.builder()
.applyMutation(describeMetadataModelExportsToTargetRequest).build());
}
/**
*
* Returns a paginated list of metadata model exports.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetPublisher publisher = client.describeMetadataModelExportsToTargetPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetPublisher publisher = client.describeMetadataModelExportsToTargetPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeMetadataModelExportsToTarget(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetRequest)}
* operation.
*
*
* @param describeMetadataModelExportsToTargetRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelExportsToTarget
* @see AWS API Documentation
*/
default DescribeMetadataModelExportsToTargetPublisher describeMetadataModelExportsToTargetPaginator(
DescribeMetadataModelExportsToTargetRequest describeMetadataModelExportsToTargetRequest) {
return new DescribeMetadataModelExportsToTargetPublisher(this, describeMetadataModelExportsToTargetRequest);
}
/**
*
* Returns a paginated list of metadata model exports.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetPublisher publisher = client.describeMetadataModelExportsToTargetPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetPublisher publisher = client.describeMetadataModelExportsToTargetPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeMetadataModelExportsToTarget(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the
* {@link DescribeMetadataModelExportsToTargetRequest.Builder} avoiding the need to create one manually via
* {@link DescribeMetadataModelExportsToTargetRequest#builder()}
*
*
* @param describeMetadataModelExportsToTargetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelExportsToTarget
* @see AWS API Documentation
*/
default DescribeMetadataModelExportsToTargetPublisher describeMetadataModelExportsToTargetPaginator(
Consumer describeMetadataModelExportsToTargetRequest) {
return describeMetadataModelExportsToTargetPaginator(DescribeMetadataModelExportsToTargetRequest.builder()
.applyMutation(describeMetadataModelExportsToTargetRequest).build());
}
/**
*
* Returns a paginated list of metadata model imports.
*
*
* @param describeMetadataModelImportsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelImports
* @see AWS API Documentation
*/
default CompletableFuture describeMetadataModelImports(
DescribeMetadataModelImportsRequest describeMetadataModelImportsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a paginated list of metadata model imports.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeMetadataModelImportsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeMetadataModelImportsRequest#builder()}
*
*
* @param describeMetadataModelImportsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelImports
* @see AWS API Documentation
*/
default CompletableFuture describeMetadataModelImports(
Consumer describeMetadataModelImportsRequest) {
return describeMetadataModelImports(DescribeMetadataModelImportsRequest.builder()
.applyMutation(describeMetadataModelImportsRequest).build());
}
/**
*
* Returns a paginated list of metadata model imports.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsPublisher publisher = client.describeMetadataModelImportsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsPublisher publisher = client.describeMetadataModelImportsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeMetadataModelImports(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsRequest)}
* operation.
*
*
* @param describeMetadataModelImportsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelImports
* @see AWS API Documentation
*/
default DescribeMetadataModelImportsPublisher describeMetadataModelImportsPaginator(
DescribeMetadataModelImportsRequest describeMetadataModelImportsRequest) {
return new DescribeMetadataModelImportsPublisher(this, describeMetadataModelImportsRequest);
}
/**
*
* Returns a paginated list of metadata model imports.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsPublisher publisher = client.describeMetadataModelImportsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsPublisher publisher = client.describeMetadataModelImportsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeMetadataModelImports(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeMetadataModelImportsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeMetadataModelImportsRequest#builder()}
*
*
* @param describeMetadataModelImportsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMetadataModelImports
* @see AWS API Documentation
*/
default DescribeMetadataModelImportsPublisher describeMetadataModelImportsPaginator(
Consumer describeMetadataModelImportsRequest) {
return describeMetadataModelImportsPaginator(DescribeMetadataModelImportsRequest.builder()
.applyMutation(describeMetadataModelImportsRequest).build());
}
/**
*
* Returns a paginated list of migration projects for your account in the current region.
*
*
* @param describeMigrationProjectsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMigrationProjects
* @see AWS
* API Documentation
*/
default CompletableFuture describeMigrationProjects(
DescribeMigrationProjectsRequest describeMigrationProjectsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a paginated list of migration projects for your account in the current region.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeMigrationProjectsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeMigrationProjectsRequest#builder()}
*
*
* @param describeMigrationProjectsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMigrationProjects
* @see AWS
* API Documentation
*/
default CompletableFuture describeMigrationProjects(
Consumer describeMigrationProjectsRequest) {
return describeMigrationProjects(DescribeMigrationProjectsRequest.builder()
.applyMutation(describeMigrationProjectsRequest).build());
}
/**
*
* Returns a paginated list of migration projects for your account in the current region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsPublisher publisher = client.describeMigrationProjectsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsPublisher publisher = client.describeMigrationProjectsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeMigrationProjects(software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsRequest)}
* operation.
*
*
* @param describeMigrationProjectsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMigrationProjects
* @see AWS
* API Documentation
*/
default DescribeMigrationProjectsPublisher describeMigrationProjectsPaginator(
DescribeMigrationProjectsRequest describeMigrationProjectsRequest) {
return new DescribeMigrationProjectsPublisher(this, describeMigrationProjectsRequest);
}
/**
*
* Returns a paginated list of migration projects for your account in the current region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsPublisher publisher = client.describeMigrationProjectsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsPublisher publisher = client.describeMigrationProjectsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeMigrationProjects(software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeMigrationProjectsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeMigrationProjectsRequest#builder()}
*
*
* @param describeMigrationProjectsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeMigrationProjects
* @see AWS
* API Documentation
*/
default DescribeMigrationProjectsPublisher describeMigrationProjectsPaginator(
Consumer describeMigrationProjectsRequest) {
return describeMigrationProjectsPaginator(DescribeMigrationProjectsRequest.builder()
.applyMutation(describeMigrationProjectsRequest).build());
}
/**
*
* Returns information about the replication instance types that can be created in the specified region.
*
*
* @param describeOrderableReplicationInstancesRequest
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeOrderableReplicationInstances
* @see AWS API Documentation
*/
default CompletableFuture describeOrderableReplicationInstances(
DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the replication instance types that can be created in the specified region.
*
*
*
* This is a convenience which creates an instance of the
* {@link DescribeOrderableReplicationInstancesRequest.Builder} avoiding the need to create one manually via
* {@link DescribeOrderableReplicationInstancesRequest#builder()}
*
*
* @param describeOrderableReplicationInstancesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest.Builder}
* to create a request.
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeOrderableReplicationInstances
* @see AWS API Documentation
*/
default CompletableFuture describeOrderableReplicationInstances(
Consumer describeOrderableReplicationInstancesRequest) {
return describeOrderableReplicationInstances(DescribeOrderableReplicationInstancesRequest.builder()
.applyMutation(describeOrderableReplicationInstancesRequest).build());
}
/**
*
* Returns information about the replication instance types that can be created in the specified region.
*
*
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeOrderableReplicationInstances
* @see AWS API Documentation
*/
default CompletableFuture describeOrderableReplicationInstances() {
return describeOrderableReplicationInstances(DescribeOrderableReplicationInstancesRequest.builder().build());
}
/**
*
* Returns information about the replication instance types that can be created in the specified region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPublisher publisher = client.describeOrderableReplicationInstancesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPublisher publisher = client.describeOrderableReplicationInstancesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)}
* operation.
*
*
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeOrderableReplicationInstances
* @see AWS API Documentation
*/
default DescribeOrderableReplicationInstancesPublisher describeOrderableReplicationInstancesPaginator() {
return describeOrderableReplicationInstancesPaginator(DescribeOrderableReplicationInstancesRequest.builder().build());
}
/**
*
* Returns information about the replication instance types that can be created in the specified region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPublisher publisher = client.describeOrderableReplicationInstancesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPublisher publisher = client.describeOrderableReplicationInstancesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)}
* operation.
*
*
* @param describeOrderableReplicationInstancesRequest
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeOrderableReplicationInstances
* @see AWS API Documentation
*/
default DescribeOrderableReplicationInstancesPublisher describeOrderableReplicationInstancesPaginator(
DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest) {
return new DescribeOrderableReplicationInstancesPublisher(this, describeOrderableReplicationInstancesRequest);
}
/**
*
* Returns information about the replication instance types that can be created in the specified region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPublisher publisher = client.describeOrderableReplicationInstancesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPublisher publisher = client.describeOrderableReplicationInstancesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the
* {@link DescribeOrderableReplicationInstancesRequest.Builder} avoiding the need to create one manually via
* {@link DescribeOrderableReplicationInstancesRequest#builder()}
*
*
* @param describeOrderableReplicationInstancesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest.Builder}
* to create a request.
* @return 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown
* as an instance of this type.
*
* @sample DatabaseMigrationAsyncClient.DescribeOrderableReplicationInstances
* @see AWS API Documentation
*/
default DescribeOrderableReplicationInstancesPublisher describeOrderableReplicationInstancesPaginator(
Consumer describeOrderableReplicationInstancesRequest) {
return describeOrderableReplicationInstancesPaginator(DescribeOrderableReplicationInstancesRequest.builder()
.applyMutation(describeOrderableReplicationInstancesRequest).build());
}
/**
*
* For internal use only
*
*
* @param describePendingMaintenanceActionsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribePendingMaintenanceActions
* @see AWS API Documentation
*/
default CompletableFuture describePendingMaintenanceActions(
DescribePendingMaintenanceActionsRequest describePendingMaintenanceActionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* For internal use only
*
*
*
* This is a convenience which creates an instance of the {@link DescribePendingMaintenanceActionsRequest.Builder}
* avoiding the need to create one manually via {@link DescribePendingMaintenanceActionsRequest#builder()}
*
*
* @param describePendingMaintenanceActionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribePendingMaintenanceActions
* @see AWS API Documentation
*/
default CompletableFuture describePendingMaintenanceActions(
Consumer describePendingMaintenanceActionsRequest) {
return describePendingMaintenanceActions(DescribePendingMaintenanceActionsRequest.builder()
.applyMutation(describePendingMaintenanceActionsRequest).build());
}
/**
*
* For internal use only
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsPublisher publisher = client.describePendingMaintenanceActionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsPublisher publisher = client.describePendingMaintenanceActionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describePendingMaintenanceActions(software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsRequest)}
* operation.
*
*
* @param describePendingMaintenanceActionsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribePendingMaintenanceActions
* @see AWS API Documentation
*/
default DescribePendingMaintenanceActionsPublisher describePendingMaintenanceActionsPaginator(
DescribePendingMaintenanceActionsRequest describePendingMaintenanceActionsRequest) {
return new DescribePendingMaintenanceActionsPublisher(this, describePendingMaintenanceActionsRequest);
}
/**
*
* For internal use only
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsPublisher publisher = client.describePendingMaintenanceActionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsPublisher publisher = client.describePendingMaintenanceActionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describePendingMaintenanceActions(software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribePendingMaintenanceActionsRequest.Builder}
* avoiding the need to create one manually via {@link DescribePendingMaintenanceActionsRequest#builder()}
*
*
* @param describePendingMaintenanceActionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribePendingMaintenanceActions
* @see AWS API Documentation
*/
default DescribePendingMaintenanceActionsPublisher describePendingMaintenanceActionsPaginator(
Consumer describePendingMaintenanceActionsRequest) {
return describePendingMaintenanceActionsPaginator(DescribePendingMaintenanceActionsRequest.builder()
.applyMutation(describePendingMaintenanceActionsRequest).build());
}
/**
*
* Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.
*
*
* @param describeRecommendationLimitationsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeRecommendationLimitations
* @see AWS API Documentation
*/
default CompletableFuture describeRecommendationLimitations(
DescribeRecommendationLimitationsRequest describeRecommendationLimitationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeRecommendationLimitationsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeRecommendationLimitationsRequest#builder()}
*
*
* @param describeRecommendationLimitationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeRecommendationLimitations
* @see AWS API Documentation
*/
default CompletableFuture describeRecommendationLimitations(
Consumer describeRecommendationLimitationsRequest) {
return describeRecommendationLimitations(DescribeRecommendationLimitationsRequest.builder()
.applyMutation(describeRecommendationLimitationsRequest).build());
}
/**
*
* Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsPublisher publisher = client.describeRecommendationLimitationsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsPublisher publisher = client.describeRecommendationLimitationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeRecommendationLimitations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsRequest)}
* operation.
*
*
* @param describeRecommendationLimitationsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeRecommendationLimitations
* @see AWS API Documentation
*/
default DescribeRecommendationLimitationsPublisher describeRecommendationLimitationsPaginator(
DescribeRecommendationLimitationsRequest describeRecommendationLimitationsRequest) {
return new DescribeRecommendationLimitationsPublisher(this, describeRecommendationLimitationsRequest);
}
/**
*
* Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsPublisher publisher = client.describeRecommendationLimitationsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsPublisher publisher = client.describeRecommendationLimitationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeRecommendationLimitations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeRecommendationLimitationsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeRecommendationLimitationsRequest#builder()}
*
*
* @param describeRecommendationLimitationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeRecommendationLimitations
* @see AWS API Documentation
*/
default DescribeRecommendationLimitationsPublisher describeRecommendationLimitationsPaginator(
Consumer describeRecommendationLimitationsRequest) {
return describeRecommendationLimitationsPaginator(DescribeRecommendationLimitationsRequest.builder()
.applyMutation(describeRecommendationLimitationsRequest).build());
}
/**
*
* Returns a paginated list of target engine recommendations for your source databases.
*
*
* @param describeRecommendationsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeRecommendations
* @see AWS
* API Documentation
*/
default CompletableFuture describeRecommendations(
DescribeRecommendationsRequest describeRecommendationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a paginated list of target engine recommendations for your source databases.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeRecommendationsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeRecommendationsRequest#builder()}
*
*
* @param describeRecommendationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeRecommendations
* @see AWS
* API Documentation
*/
default CompletableFuture describeRecommendations(
Consumer describeRecommendationsRequest) {
return describeRecommendations(DescribeRecommendationsRequest.builder().applyMutation(describeRecommendationsRequest)
.build());
}
/**
*
* Returns a paginated list of target engine recommendations for your source databases.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsPublisher publisher = client.describeRecommendationsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsPublisher publisher = client.describeRecommendationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeRecommendations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsRequest)}
* operation.
*
*
* @param describeRecommendationsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeRecommendations
* @see AWS
* API Documentation
*/
default DescribeRecommendationsPublisher describeRecommendationsPaginator(
DescribeRecommendationsRequest describeRecommendationsRequest) {
return new DescribeRecommendationsPublisher(this, describeRecommendationsRequest);
}
/**
*
* Returns a paginated list of target engine recommendations for your source databases.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsPublisher publisher = client.describeRecommendationsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsPublisher publisher = client.describeRecommendationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeRecommendations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeRecommendationsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeRecommendationsRequest#builder()}
*
*
* @param describeRecommendationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeRecommendations
* @see AWS
* API Documentation
*/
default DescribeRecommendationsPublisher describeRecommendationsPaginator(
Consumer describeRecommendationsRequest) {
return describeRecommendationsPaginator(DescribeRecommendationsRequest.builder()
.applyMutation(describeRecommendationsRequest).build());
}
/**
*
* Returns the status of the RefreshSchemas operation.
*
*
* @param describeRefreshSchemasStatusRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeRefreshSchemasStatus
* @see AWS API Documentation
*/
default CompletableFuture describeRefreshSchemasStatus(
DescribeRefreshSchemasStatusRequest describeRefreshSchemasStatusRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the status of the RefreshSchemas operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeRefreshSchemasStatusRequest.Builder}
* avoiding the need to create one manually via {@link DescribeRefreshSchemasStatusRequest#builder()}
*
*
* @param describeRefreshSchemasStatusRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeRefreshSchemasStatusRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeRefreshSchemasStatus
* @see AWS API Documentation
*/
default CompletableFuture describeRefreshSchemasStatus(
Consumer describeRefreshSchemasStatusRequest) {
return describeRefreshSchemasStatus(DescribeRefreshSchemasStatusRequest.builder()
.applyMutation(describeRefreshSchemasStatusRequest).build());
}
/**
*
* Returns one or more existing DMS Serverless replication configurations as a list of structures.
*
*
* @param describeReplicationConfigsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationConfigs
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationConfigs(
DescribeReplicationConfigsRequest describeReplicationConfigsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns one or more existing DMS Serverless replication configurations as a list of structures.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeReplicationConfigsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeReplicationConfigsRequest#builder()}
*
*
* @param describeReplicationConfigsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationConfigs
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationConfigs(
Consumer describeReplicationConfigsRequest) {
return describeReplicationConfigs(DescribeReplicationConfigsRequest.builder()
.applyMutation(describeReplicationConfigsRequest).build());
}
/**
*
* Returns one or more existing DMS Serverless replication configurations as a list of structures.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsPublisher publisher = client.describeReplicationConfigsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsPublisher publisher = client.describeReplicationConfigsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationConfigs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsRequest)}
* operation.
*
*
* @param describeReplicationConfigsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationConfigs
* @see AWS API Documentation
*/
default DescribeReplicationConfigsPublisher describeReplicationConfigsPaginator(
DescribeReplicationConfigsRequest describeReplicationConfigsRequest) {
return new DescribeReplicationConfigsPublisher(this, describeReplicationConfigsRequest);
}
/**
*
* Returns one or more existing DMS Serverless replication configurations as a list of structures.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsPublisher publisher = client.describeReplicationConfigsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsPublisher publisher = client.describeReplicationConfigsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationConfigs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeReplicationConfigsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeReplicationConfigsRequest#builder()}
*
*
* @param describeReplicationConfigsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationConfigs
* @see AWS API Documentation
*/
default DescribeReplicationConfigsPublisher describeReplicationConfigsPaginator(
Consumer describeReplicationConfigsRequest) {
return describeReplicationConfigsPaginator(DescribeReplicationConfigsRequest.builder()
.applyMutation(describeReplicationConfigsRequest).build());
}
/**
*
* Returns information about the task logs for the specified task.
*
*
* @param describeReplicationInstanceTaskLogsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationInstanceTaskLogs
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationInstanceTaskLogs(
DescribeReplicationInstanceTaskLogsRequest describeReplicationInstanceTaskLogsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the task logs for the specified task.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeReplicationInstanceTaskLogsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeReplicationInstanceTaskLogsRequest#builder()}
*
*
* @param describeReplicationInstanceTaskLogsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationInstanceTaskLogs
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationInstanceTaskLogs(
Consumer describeReplicationInstanceTaskLogsRequest) {
return describeReplicationInstanceTaskLogs(DescribeReplicationInstanceTaskLogsRequest.builder()
.applyMutation(describeReplicationInstanceTaskLogsRequest).build());
}
/**
*
* Returns information about the task logs for the specified task.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsPublisher publisher = client.describeReplicationInstanceTaskLogsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsPublisher publisher = client.describeReplicationInstanceTaskLogsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationInstanceTaskLogs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsRequest)}
* operation.
*
*
* @param describeReplicationInstanceTaskLogsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationInstanceTaskLogs
* @see AWS API Documentation
*/
default DescribeReplicationInstanceTaskLogsPublisher describeReplicationInstanceTaskLogsPaginator(
DescribeReplicationInstanceTaskLogsRequest describeReplicationInstanceTaskLogsRequest) {
return new DescribeReplicationInstanceTaskLogsPublisher(this, describeReplicationInstanceTaskLogsRequest);
}
/**
*
* Returns information about the task logs for the specified task.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsPublisher publisher = client.describeReplicationInstanceTaskLogsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsPublisher publisher = client.describeReplicationInstanceTaskLogsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationInstanceTaskLogs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeReplicationInstanceTaskLogsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeReplicationInstanceTaskLogsRequest#builder()}
*
*
* @param describeReplicationInstanceTaskLogsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationInstanceTaskLogs
* @see AWS API Documentation
*/
default DescribeReplicationInstanceTaskLogsPublisher describeReplicationInstanceTaskLogsPaginator(
Consumer describeReplicationInstanceTaskLogsRequest) {
return describeReplicationInstanceTaskLogsPaginator(DescribeReplicationInstanceTaskLogsRequest.builder()
.applyMutation(describeReplicationInstanceTaskLogsRequest).build());
}
/**
*
* Returns information about replication instances for your account in the current region.
*
*
* @param describeReplicationInstancesRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationInstances
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationInstances(
DescribeReplicationInstancesRequest describeReplicationInstancesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about replication instances for your account in the current region.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeReplicationInstancesRequest.Builder}
* avoiding the need to create one manually via {@link DescribeReplicationInstancesRequest#builder()}
*
*
* @param describeReplicationInstancesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationInstances
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationInstances(
Consumer describeReplicationInstancesRequest) {
return describeReplicationInstances(DescribeReplicationInstancesRequest.builder()
.applyMutation(describeReplicationInstancesRequest).build());
}
/**
*
* Returns information about replication instances for your account in the current region.
*
*
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationInstances
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationInstances() {
return describeReplicationInstances(DescribeReplicationInstancesRequest.builder().build());
}
/**
*
* Returns information about replication instances for your account in the current region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPublisher publisher = client.describeReplicationInstancesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPublisher publisher = client.describeReplicationInstancesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)}
* operation.
*
*
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationInstances
* @see AWS API Documentation
*/
default DescribeReplicationInstancesPublisher describeReplicationInstancesPaginator() {
return describeReplicationInstancesPaginator(DescribeReplicationInstancesRequest.builder().build());
}
/**
*
* Returns information about replication instances for your account in the current region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPublisher publisher = client.describeReplicationInstancesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPublisher publisher = client.describeReplicationInstancesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)}
* operation.
*
*
* @param describeReplicationInstancesRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationInstances
* @see AWS API Documentation
*/
default DescribeReplicationInstancesPublisher describeReplicationInstancesPaginator(
DescribeReplicationInstancesRequest describeReplicationInstancesRequest) {
return new DescribeReplicationInstancesPublisher(this, describeReplicationInstancesRequest);
}
/**
*
* Returns information about replication instances for your account in the current region.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPublisher publisher = client.describeReplicationInstancesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPublisher publisher = client.describeReplicationInstancesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeReplicationInstancesRequest.Builder}
* avoiding the need to create one manually via {@link DescribeReplicationInstancesRequest#builder()}
*
*
* @param describeReplicationInstancesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationInstances
* @see AWS API Documentation
*/
default DescribeReplicationInstancesPublisher describeReplicationInstancesPaginator(
Consumer describeReplicationInstancesRequest) {
return describeReplicationInstancesPaginator(DescribeReplicationInstancesRequest.builder()
.applyMutation(describeReplicationInstancesRequest).build());
}
/**
*
* Returns information about the replication subnet groups.
*
*
* @param describeReplicationSubnetGroupsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationSubnetGroups
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationSubnetGroups(
DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the replication subnet groups.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeReplicationSubnetGroupsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeReplicationSubnetGroupsRequest#builder()}
*
*
* @param describeReplicationSubnetGroupsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationSubnetGroups
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationSubnetGroups(
Consumer describeReplicationSubnetGroupsRequest) {
return describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest.builder()
.applyMutation(describeReplicationSubnetGroupsRequest).build());
}
/**
*
* Returns information about the replication subnet groups.
*
*
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationSubnetGroups
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationSubnetGroups() {
return describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest.builder().build());
}
/**
*
* Returns information about the replication subnet groups.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPublisher publisher = client.describeReplicationSubnetGroupsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPublisher publisher = client.describeReplicationSubnetGroupsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)}
* operation.
*
*
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationSubnetGroups
* @see AWS API Documentation
*/
default DescribeReplicationSubnetGroupsPublisher describeReplicationSubnetGroupsPaginator() {
return describeReplicationSubnetGroupsPaginator(DescribeReplicationSubnetGroupsRequest.builder().build());
}
/**
*
* Returns information about the replication subnet groups.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPublisher publisher = client.describeReplicationSubnetGroupsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPublisher publisher = client.describeReplicationSubnetGroupsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)}
* operation.
*
*
* @param describeReplicationSubnetGroupsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationSubnetGroups
* @see AWS API Documentation
*/
default DescribeReplicationSubnetGroupsPublisher describeReplicationSubnetGroupsPaginator(
DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest) {
return new DescribeReplicationSubnetGroupsPublisher(this, describeReplicationSubnetGroupsRequest);
}
/**
*
* Returns information about the replication subnet groups.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPublisher publisher = client.describeReplicationSubnetGroupsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPublisher publisher = client.describeReplicationSubnetGroupsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeReplicationSubnetGroupsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeReplicationSubnetGroupsRequest#builder()}
*
*
* @param describeReplicationSubnetGroupsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationSubnetGroups
* @see AWS API Documentation
*/
default DescribeReplicationSubnetGroupsPublisher describeReplicationSubnetGroupsPaginator(
Consumer describeReplicationSubnetGroupsRequest) {
return describeReplicationSubnetGroupsPaginator(DescribeReplicationSubnetGroupsRequest.builder()
.applyMutation(describeReplicationSubnetGroupsRequest).build());
}
/**
*
* Returns table and schema statistics for one or more provisioned replications that use a given DMS Serverless
* replication configuration.
*
*
* @param describeReplicationTableStatisticsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTableStatistics
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationTableStatistics(
DescribeReplicationTableStatisticsRequest describeReplicationTableStatisticsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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 {@link DescribeReplicationTableStatisticsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeReplicationTableStatisticsRequest#builder()}
*
*
* @param describeReplicationTableStatisticsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTableStatistics
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationTableStatistics(
Consumer describeReplicationTableStatisticsRequest) {
return describeReplicationTableStatistics(DescribeReplicationTableStatisticsRequest.builder()
.applyMutation(describeReplicationTableStatisticsRequest).build());
}
/**
*
* Returns table and schema statistics for one or more provisioned replications that use a given DMS Serverless
* replication configuration.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsPublisher publisher = client.describeReplicationTableStatisticsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsPublisher publisher = client.describeReplicationTableStatisticsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsRequest)}
* operation.
*
*
* @param describeReplicationTableStatisticsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTableStatistics
* @see AWS API Documentation
*/
default DescribeReplicationTableStatisticsPublisher describeReplicationTableStatisticsPaginator(
DescribeReplicationTableStatisticsRequest describeReplicationTableStatisticsRequest) {
return new DescribeReplicationTableStatisticsPublisher(this, describeReplicationTableStatisticsRequest);
}
/**
*
* Returns table and schema statistics for one or more provisioned replications that use a given DMS Serverless
* replication configuration.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsPublisher publisher = client.describeReplicationTableStatisticsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsPublisher publisher = client.describeReplicationTableStatisticsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeReplicationTableStatisticsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeReplicationTableStatisticsRequest#builder()}
*
*
* @param describeReplicationTableStatisticsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTableStatistics
* @see AWS API Documentation
*/
default DescribeReplicationTableStatisticsPublisher describeReplicationTableStatisticsPaginator(
Consumer describeReplicationTableStatisticsRequest) {
return describeReplicationTableStatisticsPaginator(DescribeReplicationTableStatisticsRequest.builder()
.applyMutation(describeReplicationTableStatisticsRequest).build());
}
/**
*
* 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.
*
*
* @param describeReplicationTaskAssessmentResultsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTaskAssessmentResults
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationTaskAssessmentResults(
DescribeReplicationTaskAssessmentResultsRequest describeReplicationTaskAssessmentResultsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the
* {@link DescribeReplicationTaskAssessmentResultsRequest.Builder} avoiding the need to create one manually via
* {@link DescribeReplicationTaskAssessmentResultsRequest#builder()}
*
*
* @param describeReplicationTaskAssessmentResultsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTaskAssessmentResults
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationTaskAssessmentResults(
Consumer describeReplicationTaskAssessmentResultsRequest) {
return describeReplicationTaskAssessmentResults(DescribeReplicationTaskAssessmentResultsRequest.builder()
.applyMutation(describeReplicationTaskAssessmentResultsRequest).build());
}
/**
*
* 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.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsPublisher publisher = client.describeReplicationTaskAssessmentResultsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsPublisher publisher = client.describeReplicationTaskAssessmentResultsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationTaskAssessmentResults(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsRequest)}
* operation.
*
*
* @param describeReplicationTaskAssessmentResultsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTaskAssessmentResults
* @see AWS API Documentation
*/
default DescribeReplicationTaskAssessmentResultsPublisher describeReplicationTaskAssessmentResultsPaginator(
DescribeReplicationTaskAssessmentResultsRequest describeReplicationTaskAssessmentResultsRequest) {
return new DescribeReplicationTaskAssessmentResultsPublisher(this, 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.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsPublisher publisher = client.describeReplicationTaskAssessmentResultsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsPublisher publisher = client.describeReplicationTaskAssessmentResultsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationTaskAssessmentResults(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the
* {@link DescribeReplicationTaskAssessmentResultsRequest.Builder} avoiding the need to create one manually via
* {@link DescribeReplicationTaskAssessmentResultsRequest#builder()}
*
*
* @param describeReplicationTaskAssessmentResultsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTaskAssessmentResults
* @see AWS API Documentation
*/
default DescribeReplicationTaskAssessmentResultsPublisher describeReplicationTaskAssessmentResultsPaginator(
Consumer describeReplicationTaskAssessmentResultsRequest) {
return describeReplicationTaskAssessmentResultsPaginator(DescribeReplicationTaskAssessmentResultsRequest.builder()
.applyMutation(describeReplicationTaskAssessmentResultsRequest).build());
}
/**
*
* 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.
*
*
*
* @param describeReplicationTaskAssessmentRunsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTaskAssessmentRuns
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationTaskAssessmentRuns(
DescribeReplicationTaskAssessmentRunsRequest describeReplicationTaskAssessmentRunsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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
* {@link DescribeReplicationTaskAssessmentRunsRequest.Builder} avoiding the need to create one manually via
* {@link DescribeReplicationTaskAssessmentRunsRequest#builder()}
*
*
* @param describeReplicationTaskAssessmentRunsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTaskAssessmentRuns
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationTaskAssessmentRuns(
Consumer describeReplicationTaskAssessmentRunsRequest) {
return describeReplicationTaskAssessmentRuns(DescribeReplicationTaskAssessmentRunsRequest.builder()
.applyMutation(describeReplicationTaskAssessmentRunsRequest).build());
}
/**
*
* 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsPublisher publisher = client.describeReplicationTaskAssessmentRunsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsPublisher publisher = client.describeReplicationTaskAssessmentRunsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationTaskAssessmentRuns(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsRequest)}
* operation.
*
*
* @param describeReplicationTaskAssessmentRunsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTaskAssessmentRuns
* @see AWS API Documentation
*/
default DescribeReplicationTaskAssessmentRunsPublisher describeReplicationTaskAssessmentRunsPaginator(
DescribeReplicationTaskAssessmentRunsRequest describeReplicationTaskAssessmentRunsRequest) {
return new DescribeReplicationTaskAssessmentRunsPublisher(this, 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 variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsPublisher publisher = client.describeReplicationTaskAssessmentRunsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsPublisher publisher = client.describeReplicationTaskAssessmentRunsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationTaskAssessmentRuns(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the
* {@link DescribeReplicationTaskAssessmentRunsRequest.Builder} avoiding the need to create one manually via
* {@link DescribeReplicationTaskAssessmentRunsRequest#builder()}
*
*
* @param describeReplicationTaskAssessmentRunsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTaskAssessmentRuns
* @see AWS API Documentation
*/
default DescribeReplicationTaskAssessmentRunsPublisher describeReplicationTaskAssessmentRunsPaginator(
Consumer describeReplicationTaskAssessmentRunsRequest) {
return describeReplicationTaskAssessmentRunsPaginator(DescribeReplicationTaskAssessmentRunsRequest.builder()
.applyMutation(describeReplicationTaskAssessmentRunsRequest).build());
}
/**
*
* 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.
*
*
* @param describeReplicationTaskIndividualAssessmentsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTaskIndividualAssessments
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationTaskIndividualAssessments(
DescribeReplicationTaskIndividualAssessmentsRequest describeReplicationTaskIndividualAssessmentsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the
* {@link DescribeReplicationTaskIndividualAssessmentsRequest.Builder} avoiding the need to create one manually via
* {@link DescribeReplicationTaskIndividualAssessmentsRequest#builder()}
*
*
* @param describeReplicationTaskIndividualAssessmentsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTaskIndividualAssessments
* @see AWS API Documentation
*/
default CompletableFuture describeReplicationTaskIndividualAssessments(
Consumer describeReplicationTaskIndividualAssessmentsRequest) {
return describeReplicationTaskIndividualAssessments(DescribeReplicationTaskIndividualAssessmentsRequest.builder()
.applyMutation(describeReplicationTaskIndividualAssessmentsRequest).build());
}
/**
*
* 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.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsPublisher publisher = client.describeReplicationTaskIndividualAssessmentsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsPublisher publisher = client.describeReplicationTaskIndividualAssessmentsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationTaskIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsRequest)}
* operation.
*
*
* @param describeReplicationTaskIndividualAssessmentsRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTaskIndividualAssessments
* @see AWS API Documentation
*/
default DescribeReplicationTaskIndividualAssessmentsPublisher describeReplicationTaskIndividualAssessmentsPaginator(
DescribeReplicationTaskIndividualAssessmentsRequest describeReplicationTaskIndividualAssessmentsRequest) {
return new DescribeReplicationTaskIndividualAssessmentsPublisher(this,
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.
*
*
*
* This is a variant of
* {@link #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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsPublisher publisher = client.describeReplicationTaskIndividualAssessmentsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsPublisher publisher = client.describeReplicationTaskIndividualAssessmentsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* 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
* {@link #describeReplicationTaskIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the
* {@link DescribeReplicationTaskIndividualAssessmentsRequest.Builder} avoiding the need to create one manually via
* {@link DescribeReplicationTaskIndividualAssessmentsRequest#builder()}
*
*
* @param describeReplicationTaskIndividualAssessmentsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsRequest.Builder}
* to create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTaskIndividualAssessments
* @see AWS API Documentation
*/
default DescribeReplicationTaskIndividualAssessmentsPublisher describeReplicationTaskIndividualAssessmentsPaginator(
Consumer describeReplicationTaskIndividualAssessmentsRequest) {
return describeReplicationTaskIndividualAssessmentsPaginator(DescribeReplicationTaskIndividualAssessmentsRequest
.builder().applyMutation(describeReplicationTaskIndividualAssessmentsRequest).build());
}
/**
*
* Returns information about replication tasks for your account in the current region.
*
*
* @param describeReplicationTasksRequest
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTasks
* @see AWS
* API Documentation
*/
default CompletableFuture describeReplicationTasks(
DescribeReplicationTasksRequest describeReplicationTasksRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about replication tasks for your account in the current region.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeReplicationTasksRequest.Builder} avoiding
* the need to create one manually via {@link DescribeReplicationTasksRequest#builder()}
*
*
* @param describeReplicationTasksRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest.Builder} to
* create a request.
* @return 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.
*
* - 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.
*
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTasks
* @see AWS
* API Documentation
*/
default CompletableFuture describeReplicationTasks(
Consumer describeReplicationTasksRequest) {
return describeReplicationTasks(DescribeReplicationTasksRequest.builder().applyMutation(describeReplicationTasksRequest)
.build());
}
/**
*