software.amazon.awssdk.services.databasemigration.DatabaseMigrationClient Maven / Gradle / Ivy
Show all versions of databasemigration Show documentation
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.databasemigration;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.databasemigration.model.AccessDeniedException;
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.CollectorNotFoundException;
import software.amazon.awssdk.services.databasemigration.model.CreateDataMigrationRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateDataMigrationResponse;
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.DatabaseMigrationException;
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.DeleteDataMigrationRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteDataMigrationResponse;
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.DescribeDataMigrationsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeDataMigrationsResponse;
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.FailedDependencyException;
import software.amazon.awssdk.services.databasemigration.model.ImportCertificateRequest;
import software.amazon.awssdk.services.databasemigration.model.ImportCertificateResponse;
import software.amazon.awssdk.services.databasemigration.model.InsufficientResourceCapacityException;
import software.amazon.awssdk.services.databasemigration.model.InvalidCertificateException;
import software.amazon.awssdk.services.databasemigration.model.InvalidOperationException;
import software.amazon.awssdk.services.databasemigration.model.InvalidResourceStateException;
import software.amazon.awssdk.services.databasemigration.model.InvalidSubnetException;
import software.amazon.awssdk.services.databasemigration.model.KmsAccessDeniedException;
import software.amazon.awssdk.services.databasemigration.model.KmsDisabledException;
import software.amazon.awssdk.services.databasemigration.model.KmsException;
import software.amazon.awssdk.services.databasemigration.model.KmsInvalidStateException;
import software.amazon.awssdk.services.databasemigration.model.KmsKeyNotAccessibleException;
import software.amazon.awssdk.services.databasemigration.model.KmsNotFoundException;
import software.amazon.awssdk.services.databasemigration.model.KmsThrottlingException;
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.ModifyDataMigrationRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyDataMigrationResponse;
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.ReplicationSubnetGroupDoesNotCoverEnoughAZsException;
import software.amazon.awssdk.services.databasemigration.model.ResourceAlreadyExistsException;
import software.amazon.awssdk.services.databasemigration.model.ResourceNotFoundException;
import software.amazon.awssdk.services.databasemigration.model.ResourceQuotaExceededException;
import software.amazon.awssdk.services.databasemigration.model.RunFleetAdvisorLsaAnalysisRequest;
import software.amazon.awssdk.services.databasemigration.model.RunFleetAdvisorLsaAnalysisResponse;
import software.amazon.awssdk.services.databasemigration.model.S3AccessDeniedException;
import software.amazon.awssdk.services.databasemigration.model.S3ResourceNotFoundException;
import software.amazon.awssdk.services.databasemigration.model.SnsInvalidTopicException;
import software.amazon.awssdk.services.databasemigration.model.SnsNoAuthorizationException;
import software.amazon.awssdk.services.databasemigration.model.StartDataMigrationRequest;
import software.amazon.awssdk.services.databasemigration.model.StartDataMigrationResponse;
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.StopDataMigrationRequest;
import software.amazon.awssdk.services.databasemigration.model.StopDataMigrationResponse;
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.StorageQuotaExceededException;
import software.amazon.awssdk.services.databasemigration.model.SubnetAlreadyInUseException;
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.model.UpgradeDependencyFailureException;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeDataMigrationsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationsIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasIterable;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsIterable;
import software.amazon.awssdk.services.databasemigration.waiters.DatabaseMigrationWaiter;
/**
* Service client for accessing AWS Database Migration Service. 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 DatabaseMigrationClient 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 Result of the AddTagsToResource operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.AddTagsToResource
* @see AWS API
* Documentation
*/
default AddTagsToResourceResponse addTagsToResource(AddTagsToResourceRequest addTagsToResourceRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the AddTagsToResource operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.AddTagsToResource
* @see AWS API
* Documentation
*/
default AddTagsToResourceResponse addTagsToResource(Consumer addTagsToResourceRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return addTagsToResource(AddTagsToResourceRequest.builder().applyMutation(addTagsToResourceRequest).build());
}
/**
*
* Applies a pending maintenance action to a resource (for example, to a replication instance).
*
*
* @param applyPendingMaintenanceActionRequest
* @return Result of the ApplyPendingMaintenanceAction operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ApplyPendingMaintenanceAction
* @see AWS API Documentation
*/
default ApplyPendingMaintenanceActionResponse applyPendingMaintenanceAction(
ApplyPendingMaintenanceActionRequest applyPendingMaintenanceActionRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the ApplyPendingMaintenanceAction operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ApplyPendingMaintenanceAction
* @see AWS API Documentation
*/
default ApplyPendingMaintenanceActionResponse applyPendingMaintenanceAction(
Consumer applyPendingMaintenanceActionRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the BatchStartRecommendations operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.BatchStartRecommendations
* @see AWS
* API Documentation
*/
default BatchStartRecommendationsResponse batchStartRecommendations(
BatchStartRecommendationsRequest batchStartRecommendationsRequest) throws InvalidResourceStateException,
AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the BatchStartRecommendations operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.BatchStartRecommendations
* @see AWS
* API Documentation
*/
default BatchStartRecommendationsResponse batchStartRecommendations(
Consumer batchStartRecommendationsRequest)
throws InvalidResourceStateException, AccessDeniedException, ResourceNotFoundException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the CancelReplicationTaskAssessmentRun operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CancelReplicationTaskAssessmentRun
* @see AWS API Documentation
*/
default CancelReplicationTaskAssessmentRunResponse cancelReplicationTaskAssessmentRun(
CancelReplicationTaskAssessmentRunRequest cancelReplicationTaskAssessmentRunRequest) throws AccessDeniedException,
ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the CancelReplicationTaskAssessmentRun operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CancelReplicationTaskAssessmentRun
* @see AWS API Documentation
*/
default CancelReplicationTaskAssessmentRunResponse cancelReplicationTaskAssessmentRun(
Consumer cancelReplicationTaskAssessmentRunRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return cancelReplicationTaskAssessmentRun(CancelReplicationTaskAssessmentRunRequest.builder()
.applyMutation(cancelReplicationTaskAssessmentRunRequest).build());
}
/**
*
* Creates a data migration using the provided settings.
*
*
* @param createDataMigrationRequest
* @return Result of the CreateDataMigration operation returned by the service.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws InvalidOperationException
* The action or operation requested isn't valid.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateDataMigration
* @see AWS API
* Documentation
*/
default CreateDataMigrationResponse createDataMigration(CreateDataMigrationRequest createDataMigrationRequest)
throws ResourceQuotaExceededException, ResourceNotFoundException, ResourceAlreadyExistsException,
InvalidOperationException, FailedDependencyException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a data migration using the provided settings.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDataMigrationRequest.Builder} avoiding the
* need to create one manually via {@link CreateDataMigrationRequest#builder()}
*
*
* @param createDataMigrationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.CreateDataMigrationRequest.Builder} to
* create a request.
* @return Result of the CreateDataMigration operation returned by the service.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws InvalidOperationException
* The action or operation requested isn't valid.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateDataMigration
* @see AWS API
* Documentation
*/
default CreateDataMigrationResponse createDataMigration(
Consumer createDataMigrationRequest) throws ResourceQuotaExceededException,
ResourceNotFoundException, ResourceAlreadyExistsException, InvalidOperationException, FailedDependencyException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return createDataMigration(CreateDataMigrationRequest.builder().applyMutation(createDataMigrationRequest).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 Result of the CreateDataProvider operation returned by the service.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateDataProvider
* @see AWS API
* Documentation
*/
default CreateDataProviderResponse createDataProvider(CreateDataProviderRequest createDataProviderRequest)
throws ResourceQuotaExceededException, AccessDeniedException, ResourceAlreadyExistsException,
FailedDependencyException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the CreateDataProvider operation returned by the service.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateDataProvider
* @see AWS API
* Documentation
*/
default CreateDataProviderResponse createDataProvider(Consumer createDataProviderRequest)
throws ResourceQuotaExceededException, AccessDeniedException, ResourceAlreadyExistsException,
FailedDependencyException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the CreateEndpoint operation returned by the service.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateEndpoint
* @see AWS API
* Documentation
*/
default CreateEndpointResponse createEndpoint(CreateEndpointRequest createEndpointRequest)
throws KmsKeyNotAccessibleException, ResourceAlreadyExistsException, ResourceQuotaExceededException,
InvalidResourceStateException, ResourceNotFoundException, AccessDeniedException, S3AccessDeniedException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the CreateEndpoint operation returned by the service.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateEndpoint
* @see AWS API
* Documentation
*/
default CreateEndpointResponse createEndpoint(Consumer createEndpointRequest)
throws KmsKeyNotAccessibleException, ResourceAlreadyExistsException, ResourceQuotaExceededException,
InvalidResourceStateException, ResourceNotFoundException, AccessDeniedException, S3AccessDeniedException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the CreateEventSubscription operation returned by the service.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws SnsInvalidTopicException
* The SNS topic is invalid.
* @throws SnsNoAuthorizationException
* You are not authorized for the SNS subscription.
* @throws KmsAccessDeniedException
* The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
* @throws KmsDisabledException
* The specified KMS key isn't enabled.
* @throws KmsInvalidStateException
* The state of the specified KMS resource isn't valid for this request.
* @throws KmsNotFoundException
* The specified KMS entity or resource can't be found.
* @throws KmsThrottlingException
* This request triggered KMS request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateEventSubscription
* @see AWS
* API Documentation
*/
default CreateEventSubscriptionResponse createEventSubscription(CreateEventSubscriptionRequest createEventSubscriptionRequest)
throws ResourceQuotaExceededException, ResourceNotFoundException, ResourceAlreadyExistsException,
SnsInvalidTopicException, SnsNoAuthorizationException, KmsAccessDeniedException, KmsDisabledException,
KmsInvalidStateException, KmsNotFoundException, KmsThrottlingException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the CreateEventSubscription operation returned by the service.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws SnsInvalidTopicException
* The SNS topic is invalid.
* @throws SnsNoAuthorizationException
* You are not authorized for the SNS subscription.
* @throws KmsAccessDeniedException
* The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
* @throws KmsDisabledException
* The specified KMS key isn't enabled.
* @throws KmsInvalidStateException
* The state of the specified KMS resource isn't valid for this request.
* @throws KmsNotFoundException
* The specified KMS entity or resource can't be found.
* @throws KmsThrottlingException
* This request triggered KMS request throttling.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateEventSubscription
* @see AWS
* API Documentation
*/
default CreateEventSubscriptionResponse createEventSubscription(
Consumer createEventSubscriptionRequest)
throws ResourceQuotaExceededException, ResourceNotFoundException, ResourceAlreadyExistsException,
SnsInvalidTopicException, SnsNoAuthorizationException, KmsAccessDeniedException, KmsDisabledException,
KmsInvalidStateException, KmsNotFoundException, KmsThrottlingException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return createEventSubscription(CreateEventSubscriptionRequest.builder().applyMutation(createEventSubscriptionRequest)
.build());
}
/**
*
* Creates a Fleet Advisor collector using the specified parameters.
*
*
* @param createFleetAdvisorCollectorRequest
* @return Result of the CreateFleetAdvisorCollector operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateFleetAdvisorCollector
* @see AWS API Documentation
*/
default CreateFleetAdvisorCollectorResponse createFleetAdvisorCollector(
CreateFleetAdvisorCollectorRequest createFleetAdvisorCollectorRequest) throws InvalidResourceStateException,
AccessDeniedException, S3AccessDeniedException, S3ResourceNotFoundException, ResourceQuotaExceededException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the CreateFleetAdvisorCollector operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateFleetAdvisorCollector
* @see AWS API Documentation
*/
default CreateFleetAdvisorCollectorResponse createFleetAdvisorCollector(
Consumer createFleetAdvisorCollectorRequest)
throws InvalidResourceStateException, AccessDeniedException, S3AccessDeniedException, S3ResourceNotFoundException,
ResourceQuotaExceededException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return createFleetAdvisorCollector(CreateFleetAdvisorCollectorRequest.builder()
.applyMutation(createFleetAdvisorCollectorRequest).build());
}
/**
*
* Creates the instance profile using the specified parameters.
*
*
* @param createInstanceProfileRequest
* @return Result of the CreateInstanceProfile operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateInstanceProfile
* @see AWS API
* Documentation
*/
default CreateInstanceProfileResponse createInstanceProfile(CreateInstanceProfileRequest createInstanceProfileRequest)
throws AccessDeniedException, ResourceAlreadyExistsException, ResourceNotFoundException,
ResourceQuotaExceededException, InvalidResourceStateException, KmsKeyNotAccessibleException,
S3ResourceNotFoundException, S3AccessDeniedException, FailedDependencyException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the CreateInstanceProfile operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateInstanceProfile
* @see AWS API
* Documentation
*/
default CreateInstanceProfileResponse createInstanceProfile(
Consumer createInstanceProfileRequest) throws AccessDeniedException,
ResourceAlreadyExistsException, ResourceNotFoundException, ResourceQuotaExceededException,
InvalidResourceStateException, KmsKeyNotAccessibleException, S3ResourceNotFoundException, S3AccessDeniedException,
FailedDependencyException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the CreateMigrationProject operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateMigrationProject
* @see AWS
* API Documentation
*/
default CreateMigrationProjectResponse createMigrationProject(CreateMigrationProjectRequest createMigrationProjectRequest)
throws AccessDeniedException, ResourceAlreadyExistsException, ResourceQuotaExceededException,
ResourceNotFoundException, S3ResourceNotFoundException, S3AccessDeniedException, FailedDependencyException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the CreateMigrationProject operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateMigrationProject
* @see AWS
* API Documentation
*/
default CreateMigrationProjectResponse createMigrationProject(
Consumer createMigrationProjectRequest) throws AccessDeniedException,
ResourceAlreadyExistsException, ResourceQuotaExceededException, ResourceNotFoundException,
S3ResourceNotFoundException, S3AccessDeniedException, FailedDependencyException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the CreateReplicationConfig operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ReplicationSubnetGroupDoesNotCoverEnoughAZsException
* The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
* group and add more AZs.
* @throws InvalidSubnetException
* The subnet provided isn't valid.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateReplicationConfig
* @see AWS
* API Documentation
*/
default CreateReplicationConfigResponse createReplicationConfig(CreateReplicationConfigRequest createReplicationConfigRequest)
throws AccessDeniedException, ResourceAlreadyExistsException, ResourceNotFoundException,
InvalidResourceStateException, ReplicationSubnetGroupDoesNotCoverEnoughAZsException, InvalidSubnetException,
KmsKeyNotAccessibleException, ResourceQuotaExceededException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the CreateReplicationConfig operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ReplicationSubnetGroupDoesNotCoverEnoughAZsException
* The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
* group and add more AZs.
* @throws InvalidSubnetException
* The subnet provided isn't valid.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateReplicationConfig
* @see AWS
* API Documentation
*/
default CreateReplicationConfigResponse createReplicationConfig(
Consumer createReplicationConfigRequest) throws AccessDeniedException,
ResourceAlreadyExistsException, ResourceNotFoundException, InvalidResourceStateException,
ReplicationSubnetGroupDoesNotCoverEnoughAZsException, InvalidSubnetException, KmsKeyNotAccessibleException,
ResourceQuotaExceededException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the CreateReplicationInstance operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws InsufficientResourceCapacityException
* There are not enough resources allocated to the database migration.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws StorageQuotaExceededException
* The storage quota has been exceeded.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ReplicationSubnetGroupDoesNotCoverEnoughAZsException
* The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
* group and add more AZs.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws InvalidSubnetException
* The subnet provided isn't valid.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateReplicationInstance
* @see AWS
* API Documentation
*/
default CreateReplicationInstanceResponse createReplicationInstance(
CreateReplicationInstanceRequest createReplicationInstanceRequest) throws AccessDeniedException,
ResourceAlreadyExistsException, InsufficientResourceCapacityException, ResourceQuotaExceededException,
StorageQuotaExceededException, ResourceNotFoundException, ReplicationSubnetGroupDoesNotCoverEnoughAZsException,
InvalidResourceStateException, InvalidSubnetException, KmsKeyNotAccessibleException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the CreateReplicationInstance operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws InsufficientResourceCapacityException
* There are not enough resources allocated to the database migration.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws StorageQuotaExceededException
* The storage quota has been exceeded.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ReplicationSubnetGroupDoesNotCoverEnoughAZsException
* The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
* group and add more AZs.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws InvalidSubnetException
* The subnet provided isn't valid.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateReplicationInstance
* @see AWS
* API Documentation
*/
default CreateReplicationInstanceResponse createReplicationInstance(
Consumer createReplicationInstanceRequest) throws AccessDeniedException,
ResourceAlreadyExistsException, InsufficientResourceCapacityException, ResourceQuotaExceededException,
StorageQuotaExceededException, ResourceNotFoundException, ReplicationSubnetGroupDoesNotCoverEnoughAZsException,
InvalidResourceStateException, InvalidSubnetException, KmsKeyNotAccessibleException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the CreateReplicationSubnetGroup operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws ReplicationSubnetGroupDoesNotCoverEnoughAZsException
* The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
* group and add more AZs.
* @throws InvalidSubnetException
* The subnet provided isn't valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateReplicationSubnetGroup
* @see AWS API Documentation
*/
default CreateReplicationSubnetGroupResponse createReplicationSubnetGroup(
CreateReplicationSubnetGroupRequest createReplicationSubnetGroupRequest) throws AccessDeniedException,
ResourceAlreadyExistsException, ResourceNotFoundException, ResourceQuotaExceededException,
ReplicationSubnetGroupDoesNotCoverEnoughAZsException, InvalidSubnetException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the CreateReplicationSubnetGroup operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws ReplicationSubnetGroupDoesNotCoverEnoughAZsException
* The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
* group and add more AZs.
* @throws InvalidSubnetException
* The subnet provided isn't valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateReplicationSubnetGroup
* @see AWS API Documentation
*/
default CreateReplicationSubnetGroupResponse createReplicationSubnetGroup(
Consumer createReplicationSubnetGroupRequest)
throws AccessDeniedException, ResourceAlreadyExistsException, ResourceNotFoundException,
ResourceQuotaExceededException, ReplicationSubnetGroupDoesNotCoverEnoughAZsException, InvalidSubnetException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return createReplicationSubnetGroup(CreateReplicationSubnetGroupRequest.builder()
.applyMutation(createReplicationSubnetGroupRequest).build());
}
/**
*
* Creates a replication task using the specified parameters.
*
*
* @param createReplicationTaskRequest
* @return Result of the CreateReplicationTask operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateReplicationTask
* @see AWS API
* Documentation
*/
default CreateReplicationTaskResponse createReplicationTask(CreateReplicationTaskRequest createReplicationTaskRequest)
throws AccessDeniedException, InvalidResourceStateException, ResourceAlreadyExistsException,
ResourceNotFoundException, KmsKeyNotAccessibleException, ResourceQuotaExceededException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the CreateReplicationTask operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateReplicationTask
* @see AWS API
* Documentation
*/
default CreateReplicationTaskResponse createReplicationTask(
Consumer createReplicationTaskRequest) throws AccessDeniedException,
InvalidResourceStateException, ResourceAlreadyExistsException, ResourceNotFoundException,
KmsKeyNotAccessibleException, ResourceQuotaExceededException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return createReplicationTask(CreateReplicationTaskRequest.builder().applyMutation(createReplicationTaskRequest).build());
}
/**
*
* Deletes the specified certificate.
*
*
* @param deleteCertificateRequest
* @return Result of the DeleteCertificate operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteCertificate
* @see AWS API
* Documentation
*/
default DeleteCertificateResponse deleteCertificate(DeleteCertificateRequest deleteCertificateRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the DeleteCertificate operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteCertificate
* @see AWS API
* Documentation
*/
default DeleteCertificateResponse deleteCertificate(Consumer deleteCertificateRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return deleteCertificate(DeleteCertificateRequest.builder().applyMutation(deleteCertificateRequest).build());
}
/**
*
* Deletes the connection between a replication instance and an endpoint.
*
*
* @param deleteConnectionRequest
* @return Result of the DeleteConnection operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteConnection
* @see AWS API
* Documentation
*/
default DeleteConnectionResponse deleteConnection(DeleteConnectionRequest deleteConnectionRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DeleteConnection operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteConnection
* @see AWS API
* Documentation
*/
default DeleteConnectionResponse deleteConnection(Consumer deleteConnectionRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return deleteConnection(DeleteConnectionRequest.builder().applyMutation(deleteConnectionRequest).build());
}
/**
*
* Deletes the specified data migration.
*
*
* @param deleteDataMigrationRequest
* @return Result of the DeleteDataMigration operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteDataMigration
* @see AWS API
* Documentation
*/
default DeleteDataMigrationResponse deleteDataMigration(DeleteDataMigrationRequest deleteDataMigrationRequest)
throws InvalidResourceStateException, ResourceNotFoundException, FailedDependencyException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified data migration.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteDataMigrationRequest.Builder} avoiding the
* need to create one manually via {@link DeleteDataMigrationRequest#builder()}
*
*
* @param deleteDataMigrationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DeleteDataMigrationRequest.Builder} to
* create a request.
* @return Result of the DeleteDataMigration operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteDataMigration
* @see AWS API
* Documentation
*/
default DeleteDataMigrationResponse deleteDataMigration(
Consumer deleteDataMigrationRequest) throws InvalidResourceStateException,
ResourceNotFoundException, FailedDependencyException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return deleteDataMigration(DeleteDataMigrationRequest.builder().applyMutation(deleteDataMigrationRequest).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 Result of the DeleteDataProvider operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteDataProvider
* @see AWS API
* Documentation
*/
default DeleteDataProviderResponse deleteDataProvider(DeleteDataProviderRequest deleteDataProviderRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, FailedDependencyException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DeleteDataProvider operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteDataProvider
* @see AWS API
* Documentation
*/
default DeleteDataProviderResponse deleteDataProvider(Consumer deleteDataProviderRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, FailedDependencyException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DeleteEndpoint operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteEndpoint
* @see AWS API
* Documentation
*/
default DeleteEndpointResponse deleteEndpoint(DeleteEndpointRequest deleteEndpointRequest) throws ResourceNotFoundException,
InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DeleteEndpoint operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteEndpoint
* @see AWS API
* Documentation
*/
default DeleteEndpointResponse deleteEndpoint(Consumer deleteEndpointRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return deleteEndpoint(DeleteEndpointRequest.builder().applyMutation(deleteEndpointRequest).build());
}
/**
*
* Deletes an DMS event subscription.
*
*
* @param deleteEventSubscriptionRequest
* @return Result of the DeleteEventSubscription operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteEventSubscription
* @see AWS
* API Documentation
*/
default DeleteEventSubscriptionResponse deleteEventSubscription(DeleteEventSubscriptionRequest deleteEventSubscriptionRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AccessDeniedException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DeleteEventSubscription operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteEventSubscription
* @see AWS
* API Documentation
*/
default DeleteEventSubscriptionResponse deleteEventSubscription(
Consumer deleteEventSubscriptionRequest) throws ResourceNotFoundException,
InvalidResourceStateException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return deleteEventSubscription(DeleteEventSubscriptionRequest.builder().applyMutation(deleteEventSubscriptionRequest)
.build());
}
/**
*
* Deletes the specified Fleet Advisor collector.
*
*
* @param deleteFleetAdvisorCollectorRequest
* @return Result of the DeleteFleetAdvisorCollector operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws CollectorNotFoundException
* The specified collector doesn't exist.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteFleetAdvisorCollector
* @see AWS API Documentation
*/
default DeleteFleetAdvisorCollectorResponse deleteFleetAdvisorCollector(
DeleteFleetAdvisorCollectorRequest deleteFleetAdvisorCollectorRequest) throws InvalidResourceStateException,
CollectorNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the DeleteFleetAdvisorCollector operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws CollectorNotFoundException
* The specified collector doesn't exist.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteFleetAdvisorCollector
* @see AWS API Documentation
*/
default DeleteFleetAdvisorCollectorResponse deleteFleetAdvisorCollector(
Consumer deleteFleetAdvisorCollectorRequest)
throws InvalidResourceStateException, CollectorNotFoundException, AccessDeniedException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return deleteFleetAdvisorCollector(DeleteFleetAdvisorCollectorRequest.builder()
.applyMutation(deleteFleetAdvisorCollectorRequest).build());
}
/**
*
* Deletes the specified Fleet Advisor collector databases.
*
*
* @param deleteFleetAdvisorDatabasesRequest
* @return Result of the DeleteFleetAdvisorDatabases operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidOperationException
* The action or operation requested isn't valid.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteFleetAdvisorDatabases
* @see AWS API Documentation
*/
default DeleteFleetAdvisorDatabasesResponse deleteFleetAdvisorDatabases(
DeleteFleetAdvisorDatabasesRequest deleteFleetAdvisorDatabasesRequest) throws ResourceNotFoundException,
InvalidOperationException, AccessDeniedException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DeleteFleetAdvisorDatabases operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidOperationException
* The action or operation requested isn't valid.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteFleetAdvisorDatabases
* @see AWS API Documentation
*/
default DeleteFleetAdvisorDatabasesResponse deleteFleetAdvisorDatabases(
Consumer deleteFleetAdvisorDatabasesRequest)
throws ResourceNotFoundException, InvalidOperationException, AccessDeniedException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DeleteInstanceProfile operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteInstanceProfile
* @see AWS API
* Documentation
*/
default DeleteInstanceProfileResponse deleteInstanceProfile(DeleteInstanceProfileRequest deleteInstanceProfileRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, FailedDependencyException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DeleteInstanceProfile operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteInstanceProfile
* @see AWS API
* Documentation
*/
default DeleteInstanceProfileResponse deleteInstanceProfile(
Consumer deleteInstanceProfileRequest) throws AccessDeniedException,
ResourceNotFoundException, InvalidResourceStateException, FailedDependencyException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DeleteMigrationProject operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteMigrationProject
* @see AWS
* API Documentation
*/
default DeleteMigrationProjectResponse deleteMigrationProject(DeleteMigrationProjectRequest deleteMigrationProjectRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, FailedDependencyException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DeleteMigrationProject operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteMigrationProject
* @see AWS
* API Documentation
*/
default DeleteMigrationProjectResponse deleteMigrationProject(
Consumer deleteMigrationProjectRequest) throws AccessDeniedException,
ResourceNotFoundException, InvalidResourceStateException, FailedDependencyException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DeleteReplicationConfig operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteReplicationConfig
* @see AWS
* API Documentation
*/
default DeleteReplicationConfigResponse deleteReplicationConfig(DeleteReplicationConfigRequest deleteReplicationConfigRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DeleteReplicationConfig operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteReplicationConfig
* @see AWS
* API Documentation
*/
default DeleteReplicationConfigResponse deleteReplicationConfig(
Consumer deleteReplicationConfigRequest) throws AccessDeniedException,
ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the DeleteReplicationInstance operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteReplicationInstance
* @see AWS
* API Documentation
*/
default DeleteReplicationInstanceResponse deleteReplicationInstance(
DeleteReplicationInstanceRequest deleteReplicationInstanceRequest) throws InvalidResourceStateException,
ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DeleteReplicationInstance operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteReplicationInstance
* @see AWS
* API Documentation
*/
default DeleteReplicationInstanceResponse deleteReplicationInstance(
Consumer deleteReplicationInstanceRequest)
throws InvalidResourceStateException, ResourceNotFoundException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return deleteReplicationInstance(DeleteReplicationInstanceRequest.builder()
.applyMutation(deleteReplicationInstanceRequest).build());
}
/**
*
* Deletes a subnet group.
*
*
* @param deleteReplicationSubnetGroupRequest
* @return Result of the DeleteReplicationSubnetGroup operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteReplicationSubnetGroup
* @see AWS API Documentation
*/
default DeleteReplicationSubnetGroupResponse deleteReplicationSubnetGroup(
DeleteReplicationSubnetGroupRequest deleteReplicationSubnetGroupRequest) throws InvalidResourceStateException,
ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DeleteReplicationSubnetGroup operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteReplicationSubnetGroup
* @see AWS API Documentation
*/
default DeleteReplicationSubnetGroupResponse deleteReplicationSubnetGroup(
Consumer deleteReplicationSubnetGroupRequest)
throws InvalidResourceStateException, ResourceNotFoundException, AccessDeniedException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return deleteReplicationSubnetGroup(DeleteReplicationSubnetGroupRequest.builder()
.applyMutation(deleteReplicationSubnetGroupRequest).build());
}
/**
*
* Deletes the specified replication task.
*
*
* @param deleteReplicationTaskRequest
* @return Result of the DeleteReplicationTask operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteReplicationTask
* @see AWS API
* Documentation
*/
default DeleteReplicationTaskResponse deleteReplicationTask(DeleteReplicationTaskRequest deleteReplicationTaskRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the DeleteReplicationTask operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteReplicationTask
* @see AWS API
* Documentation
*/
default DeleteReplicationTaskResponse deleteReplicationTask(
Consumer deleteReplicationTaskRequest) throws ResourceNotFoundException,
InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DeleteReplicationTaskAssessmentRun operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteReplicationTaskAssessmentRun
* @see AWS API Documentation
*/
default DeleteReplicationTaskAssessmentRunResponse deleteReplicationTaskAssessmentRun(
DeleteReplicationTaskAssessmentRunRequest deleteReplicationTaskAssessmentRunRequest) throws AccessDeniedException,
ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the DeleteReplicationTaskAssessmentRun operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteReplicationTaskAssessmentRun
* @see AWS API Documentation
*/
default DeleteReplicationTaskAssessmentRunResponse deleteReplicationTaskAssessmentRun(
Consumer deleteReplicationTaskAssessmentRunRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DescribeAccountAttributes operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeAccountAttributes
* @see AWS
* API Documentation
*/
default DescribeAccountAttributesResponse describeAccountAttributes(
DescribeAccountAttributesRequest describeAccountAttributesRequest) throws AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the DescribeAccountAttributes operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeAccountAttributes
* @see AWS
* API Documentation
*/
default DescribeAccountAttributesResponse describeAccountAttributes(
Consumer describeAccountAttributesRequest) throws AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DescribeAccountAttributes operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeAccountAttributes
* @see #describeAccountAttributes(DescribeAccountAttributesRequest)
* @see AWS
* API Documentation
*/
default DescribeAccountAttributesResponse describeAccountAttributes() throws AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the DescribeApplicableIndividualAssessments operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeApplicableIndividualAssessments
* @see AWS API Documentation
*/
default DescribeApplicableIndividualAssessmentsResponse describeApplicableIndividualAssessments(
DescribeApplicableIndividualAssessmentsRequest describeApplicableIndividualAssessmentsRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DescribeApplicableIndividualAssessments operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeApplicableIndividualAssessments
* @see AWS API Documentation
*/
default DescribeApplicableIndividualAssessmentsResponse describeApplicableIndividualAssessments(
Consumer describeApplicableIndividualAssessmentsRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeApplicableIndividualAssessments(DescribeApplicableIndividualAssessmentsRequest.builder()
.applyMutation(describeApplicableIndividualAssessmentsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeApplicableIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsIterable responses = client.describeApplicableIndividualAssessmentsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsIterable responses = client
* .describeApplicableIndividualAssessmentsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsIterable responses = client.describeApplicableIndividualAssessmentsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeApplicableIndividualAssessments
* @see AWS API Documentation
*/
default DescribeApplicableIndividualAssessmentsIterable describeApplicableIndividualAssessmentsPaginator(
DescribeApplicableIndividualAssessmentsRequest describeApplicableIndividualAssessmentsRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return new DescribeApplicableIndividualAssessmentsIterable(this, describeApplicableIndividualAssessmentsRequest);
}
/**
*
* This is a variant of
* {@link #describeApplicableIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsIterable responses = client.describeApplicableIndividualAssessmentsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsIterable responses = client
* .describeApplicableIndividualAssessmentsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsIterable responses = client.describeApplicableIndividualAssessmentsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeApplicableIndividualAssessments
* @see AWS API Documentation
*/
default DescribeApplicableIndividualAssessmentsIterable describeApplicableIndividualAssessmentsPaginator(
Consumer describeApplicableIndividualAssessmentsRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeApplicableIndividualAssessmentsPaginator(DescribeApplicableIndividualAssessmentsRequest.builder()
.applyMutation(describeApplicableIndividualAssessmentsRequest).build());
}
/**
*
* Provides a description of the certificate.
*
*
* @param describeCertificatesRequest
* @return Result of the DescribeCertificates operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeCertificates
* @see AWS API
* Documentation
*/
default DescribeCertificatesResponse describeCertificates(DescribeCertificatesRequest describeCertificatesRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeCertificates operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeCertificates
* @see AWS API
* Documentation
*/
default DescribeCertificatesResponse describeCertificates(
Consumer describeCertificatesRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeCertificates(DescribeCertificatesRequest.builder().applyMutation(describeCertificatesRequest).build());
}
/**
*
* Provides a description of the certificate.
*
*
* @return Result of the DescribeCertificates operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeCertificates
* @see #describeCertificates(DescribeCertificatesRequest)
* @see AWS API
* Documentation
*/
default DescribeCertificatesResponse describeCertificates() throws ResourceNotFoundException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeCertificates(DescribeCertificatesRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesIterable responses = client.describeCertificatesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesIterable responses = client
* .describeCertificatesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesIterable responses = client.describeCertificatesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeCertificates
* @see #describeCertificatesPaginator(DescribeCertificatesRequest)
* @see AWS API
* Documentation
*/
default DescribeCertificatesIterable describeCertificatesPaginator() throws ResourceNotFoundException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeCertificatesPaginator(DescribeCertificatesRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesIterable responses = client.describeCertificatesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesIterable responses = client
* .describeCertificatesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesIterable responses = client.describeCertificatesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeCertificates
* @see AWS API
* Documentation
*/
default DescribeCertificatesIterable describeCertificatesPaginator(DescribeCertificatesRequest describeCertificatesRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeCertificatesIterable(this, describeCertificatesRequest);
}
/**
*
* This is a variant of
* {@link #describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesIterable responses = client.describeCertificatesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesIterable responses = client
* .describeCertificatesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesIterable responses = client.describeCertificatesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeCertificates
* @see AWS API
* Documentation
*/
default DescribeCertificatesIterable describeCertificatesPaginator(
Consumer describeCertificatesRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeConnections operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeConnections
* @see AWS API
* Documentation
*/
default DescribeConnectionsResponse describeConnections(DescribeConnectionsRequest describeConnectionsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeConnections operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeConnections
* @see AWS API
* Documentation
*/
default DescribeConnectionsResponse describeConnections(
Consumer describeConnectionsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeConnections operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeConnections
* @see #describeConnections(DescribeConnectionsRequest)
* @see AWS API
* Documentation
*/
default DescribeConnectionsResponse describeConnections() throws ResourceNotFoundException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeConnections(DescribeConnectionsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsIterable responses = client.describeConnectionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsIterable responses = client
* .describeConnectionsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsIterable responses = client.describeConnectionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeConnections
* @see #describeConnectionsPaginator(DescribeConnectionsRequest)
* @see AWS API
* Documentation
*/
default DescribeConnectionsIterable describeConnectionsPaginator() throws ResourceNotFoundException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeConnectionsPaginator(DescribeConnectionsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsIterable responses = client.describeConnectionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsIterable responses = client
* .describeConnectionsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsIterable responses = client.describeConnectionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeConnections
* @see AWS API
* Documentation
*/
default DescribeConnectionsIterable describeConnectionsPaginator(DescribeConnectionsRequest describeConnectionsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeConnectionsIterable(this, describeConnectionsRequest);
}
/**
*
* This is a variant of
* {@link #describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsIterable responses = client.describeConnectionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsIterable responses = client
* .describeConnectionsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsIterable responses = client.describeConnectionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeConnections
* @see AWS API
* Documentation
*/
default DescribeConnectionsIterable describeConnectionsPaginator(
Consumer describeConnectionsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeConnectionsPaginator(DescribeConnectionsRequest.builder().applyMutation(describeConnectionsRequest)
.build());
}
/**
*
* Returns configuration parameters for a schema conversion project.
*
*
* @param describeConversionConfigurationRequest
* @return Result of the DescribeConversionConfiguration operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeConversionConfiguration
* @see AWS API Documentation
*/
default DescribeConversionConfigurationResponse describeConversionConfiguration(
DescribeConversionConfigurationRequest describeConversionConfigurationRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeConversionConfiguration operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeConversionConfiguration
* @see AWS API Documentation
*/
default DescribeConversionConfigurationResponse describeConversionConfiguration(
Consumer describeConversionConfigurationRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeConversionConfiguration(DescribeConversionConfigurationRequest.builder()
.applyMutation(describeConversionConfigurationRequest).build());
}
/**
*
* Returns information about data migrations.
*
*
* @param describeDataMigrationsRequest
* @return Result of the DescribeDataMigrations operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeDataMigrations
* @see AWS
* API Documentation
*/
default DescribeDataMigrationsResponse describeDataMigrations(DescribeDataMigrationsRequest describeDataMigrationsRequest)
throws InvalidResourceStateException, ResourceNotFoundException, FailedDependencyException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about data migrations.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDataMigrationsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeDataMigrationsRequest#builder()}
*
*
* @param describeDataMigrationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeDataMigrationsRequest.Builder} to
* create a request.
* @return Result of the DescribeDataMigrations operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeDataMigrations
* @see AWS
* API Documentation
*/
default DescribeDataMigrationsResponse describeDataMigrations(
Consumer describeDataMigrationsRequest) throws InvalidResourceStateException,
ResourceNotFoundException, FailedDependencyException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeDataMigrations(DescribeDataMigrationsRequest.builder().applyMutation(describeDataMigrationsRequest)
.build());
}
/**
*
* This is a variant of
* {@link #describeDataMigrations(software.amazon.awssdk.services.databasemigration.model.DescribeDataMigrationsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataMigrationsIterable responses = client.describeDataMigrationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataMigrationsIterable responses = client
* .describeDataMigrationsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeDataMigrationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataMigrationsIterable responses = client.describeDataMigrationsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 #describeDataMigrations(software.amazon.awssdk.services.databasemigration.model.DescribeDataMigrationsRequest)}
* operation.
*
*
* @param describeDataMigrationsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeDataMigrations
* @see AWS
* API Documentation
*/
default DescribeDataMigrationsIterable describeDataMigrationsPaginator(
DescribeDataMigrationsRequest describeDataMigrationsRequest) throws InvalidResourceStateException,
ResourceNotFoundException, FailedDependencyException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return new DescribeDataMigrationsIterable(this, describeDataMigrationsRequest);
}
/**
*
* This is a variant of
* {@link #describeDataMigrations(software.amazon.awssdk.services.databasemigration.model.DescribeDataMigrationsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataMigrationsIterable responses = client.describeDataMigrationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataMigrationsIterable responses = client
* .describeDataMigrationsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeDataMigrationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataMigrationsIterable responses = client.describeDataMigrationsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 #describeDataMigrations(software.amazon.awssdk.services.databasemigration.model.DescribeDataMigrationsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeDataMigrationsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeDataMigrationsRequest#builder()}
*
*
* @param describeDataMigrationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeDataMigrationsRequest.Builder} to
* create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeDataMigrations
* @see AWS
* API Documentation
*/
default DescribeDataMigrationsIterable describeDataMigrationsPaginator(
Consumer describeDataMigrationsRequest) throws InvalidResourceStateException,
ResourceNotFoundException, FailedDependencyException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeDataMigrationsPaginator(DescribeDataMigrationsRequest.builder()
.applyMutation(describeDataMigrationsRequest).build());
}
/**
*
* Returns a paginated list of data providers for your account in the current region.
*
*
* @param describeDataProvidersRequest
* @return Result of the DescribeDataProviders operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeDataProviders
* @see AWS API
* Documentation
*/
default DescribeDataProvidersResponse describeDataProviders(DescribeDataProvidersRequest describeDataProvidersRequest)
throws ResourceNotFoundException, AccessDeniedException, FailedDependencyException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DescribeDataProviders operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeDataProviders
* @see AWS API
* Documentation
*/
default DescribeDataProvidersResponse describeDataProviders(
Consumer describeDataProvidersRequest) throws ResourceNotFoundException,
AccessDeniedException, FailedDependencyException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeDataProviders(DescribeDataProvidersRequest.builder().applyMutation(describeDataProvidersRequest).build());
}
/**
*
* This is a variant of
* {@link #describeDataProviders(software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersIterable responses = client.describeDataProvidersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersIterable responses = client
* .describeDataProvidersPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersIterable responses = client.describeDataProvidersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeDataProviders
* @see AWS API
* Documentation
*/
default DescribeDataProvidersIterable describeDataProvidersPaginator(DescribeDataProvidersRequest describeDataProvidersRequest)
throws ResourceNotFoundException, AccessDeniedException, FailedDependencyException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return new DescribeDataProvidersIterable(this, describeDataProvidersRequest);
}
/**
*
* This is a variant of
* {@link #describeDataProviders(software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersIterable responses = client.describeDataProvidersPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersIterable responses = client
* .describeDataProvidersPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersIterable responses = client.describeDataProvidersPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeDataProviders
* @see AWS API
* Documentation
*/
default DescribeDataProvidersIterable describeDataProvidersPaginator(
Consumer describeDataProvidersRequest) throws ResourceNotFoundException,
AccessDeniedException, FailedDependencyException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEndpointSettings operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpointSettings
* @see AWS
* API Documentation
*/
default DescribeEndpointSettingsResponse describeEndpointSettings(
DescribeEndpointSettingsRequest describeEndpointSettingsRequest) throws AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the DescribeEndpointSettings operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpointSettings
* @see AWS
* API Documentation
*/
default DescribeEndpointSettingsResponse describeEndpointSettings(
Consumer describeEndpointSettingsRequest) throws AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeEndpointSettings(DescribeEndpointSettingsRequest.builder().applyMutation(describeEndpointSettingsRequest)
.build());
}
/**
*
* This is a variant of
* {@link #describeEndpointSettings(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsIterable responses = client.describeEndpointSettingsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsIterable responses = client
* .describeEndpointSettingsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsIterable responses = client.describeEndpointSettingsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpointSettings
* @see AWS
* API Documentation
*/
default DescribeEndpointSettingsIterable describeEndpointSettingsPaginator(
DescribeEndpointSettingsRequest describeEndpointSettingsRequest) throws AwsServiceException, SdkClientException,
DatabaseMigrationException {
return new DescribeEndpointSettingsIterable(this, describeEndpointSettingsRequest);
}
/**
*
* This is a variant of
* {@link #describeEndpointSettings(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsIterable responses = client.describeEndpointSettingsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsIterable responses = client
* .describeEndpointSettingsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsIterable responses = client.describeEndpointSettingsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpointSettings
* @see AWS
* API Documentation
*/
default DescribeEndpointSettingsIterable describeEndpointSettingsPaginator(
Consumer describeEndpointSettingsRequest) throws AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeEndpointSettingsPaginator(DescribeEndpointSettingsRequest.builder()
.applyMutation(describeEndpointSettingsRequest).build());
}
/**
*
* Returns information about the type of endpoints available.
*
*
* @param describeEndpointTypesRequest
* @return Result of the DescribeEndpointTypes operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpointTypes
* @see AWS API
* Documentation
*/
default DescribeEndpointTypesResponse describeEndpointTypes(DescribeEndpointTypesRequest describeEndpointTypesRequest)
throws AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEndpointTypes operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpointTypes
* @see AWS API
* Documentation
*/
default DescribeEndpointTypesResponse describeEndpointTypes(
Consumer describeEndpointTypesRequest) throws AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeEndpointTypes(DescribeEndpointTypesRequest.builder().applyMutation(describeEndpointTypesRequest).build());
}
/**
*
* Returns information about the type of endpoints available.
*
*
* @return Result of the DescribeEndpointTypes operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpointTypes
* @see #describeEndpointTypes(DescribeEndpointTypesRequest)
* @see AWS API
* Documentation
*/
default DescribeEndpointTypesResponse describeEndpointTypes() throws AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeEndpointTypes(DescribeEndpointTypesRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesIterable responses = client.describeEndpointTypesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesIterable responses = client
* .describeEndpointTypesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesIterable responses = client.describeEndpointTypesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpointTypes
* @see #describeEndpointTypesPaginator(DescribeEndpointTypesRequest)
* @see AWS API
* Documentation
*/
default DescribeEndpointTypesIterable describeEndpointTypesPaginator() throws AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeEndpointTypesPaginator(DescribeEndpointTypesRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesIterable responses = client.describeEndpointTypesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesIterable responses = client
* .describeEndpointTypesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesIterable responses = client.describeEndpointTypesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpointTypes
* @see AWS API
* Documentation
*/
default DescribeEndpointTypesIterable describeEndpointTypesPaginator(DescribeEndpointTypesRequest describeEndpointTypesRequest)
throws AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeEndpointTypesIterable(this, describeEndpointTypesRequest);
}
/**
*
* This is a variant of
* {@link #describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesIterable responses = client.describeEndpointTypesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesIterable responses = client
* .describeEndpointTypesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesIterable responses = client.describeEndpointTypesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpointTypes
* @see AWS API
* Documentation
*/
default DescribeEndpointTypesIterable describeEndpointTypesPaginator(
Consumer describeEndpointTypesRequest) throws AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeEndpointTypesPaginator(DescribeEndpointTypesRequest.builder().applyMutation(describeEndpointTypesRequest)
.build());
}
/**
*
* Returns information about the endpoints for your account in the current region.
*
*
* @param describeEndpointsRequest
* @return Result of the DescribeEndpoints operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpoints
* @see AWS API
* Documentation
*/
default DescribeEndpointsResponse describeEndpoints(DescribeEndpointsRequest describeEndpointsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEndpoints operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpoints
* @see AWS API
* Documentation
*/
default DescribeEndpointsResponse describeEndpoints(Consumer describeEndpointsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeEndpoints(DescribeEndpointsRequest.builder().applyMutation(describeEndpointsRequest).build());
}
/**
*
* Returns information about the endpoints for your account in the current region.
*
*
* @return Result of the DescribeEndpoints operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpoints
* @see #describeEndpoints(DescribeEndpointsRequest)
* @see AWS API
* Documentation
*/
default DescribeEndpointsResponse describeEndpoints() throws ResourceNotFoundException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeEndpoints(DescribeEndpointsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsIterable responses = client.describeEndpointsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsIterable responses = client
* .describeEndpointsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsIterable responses = client.describeEndpointsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpoints
* @see #describeEndpointsPaginator(DescribeEndpointsRequest)
* @see AWS API
* Documentation
*/
default DescribeEndpointsIterable describeEndpointsPaginator() throws ResourceNotFoundException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeEndpointsPaginator(DescribeEndpointsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsIterable responses = client.describeEndpointsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsIterable responses = client
* .describeEndpointsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsIterable responses = client.describeEndpointsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpoints
* @see AWS API
* Documentation
*/
default DescribeEndpointsIterable describeEndpointsPaginator(DescribeEndpointsRequest describeEndpointsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeEndpointsIterable(this, describeEndpointsRequest);
}
/**
*
* This is a variant of
* {@link #describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsIterable responses = client.describeEndpointsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsIterable responses = client
* .describeEndpointsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsIterable responses = client.describeEndpointsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpoints
* @see AWS API
* Documentation
*/
default DescribeEndpointsIterable describeEndpointsPaginator(
Consumer describeEndpointsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeEndpointsPaginator(DescribeEndpointsRequest.builder().applyMutation(describeEndpointsRequest).build());
}
/**
*
* Returns information about the replication instance versions used in the project.
*
*
* @param describeEngineVersionsRequest
* @return Result of the DescribeEngineVersions operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEngineVersions
* @see AWS
* API Documentation
*/
default DescribeEngineVersionsResponse describeEngineVersions(DescribeEngineVersionsRequest describeEngineVersionsRequest)
throws AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEngineVersions operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEngineVersions
* @see AWS
* API Documentation
*/
default DescribeEngineVersionsResponse describeEngineVersions(
Consumer describeEngineVersionsRequest) throws AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeEngineVersions(DescribeEngineVersionsRequest.builder().applyMutation(describeEngineVersionsRequest)
.build());
}
/**
*
* This is a variant of
* {@link #describeEngineVersions(software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsIterable responses = client.describeEngineVersionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsIterable responses = client
* .describeEngineVersionsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsIterable responses = client.describeEngineVersionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEngineVersions
* @see AWS
* API Documentation
*/
default DescribeEngineVersionsIterable describeEngineVersionsPaginator(
DescribeEngineVersionsRequest describeEngineVersionsRequest) throws AwsServiceException, SdkClientException,
DatabaseMigrationException {
return new DescribeEngineVersionsIterable(this, describeEngineVersionsRequest);
}
/**
*
* This is a variant of
* {@link #describeEngineVersions(software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsIterable responses = client.describeEngineVersionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsIterable responses = client
* .describeEngineVersionsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsIterable responses = client.describeEngineVersionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEngineVersions
* @see AWS
* API Documentation
*/
default DescribeEngineVersionsIterable describeEngineVersionsPaginator(
Consumer describeEngineVersionsRequest) throws AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEventCategories operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEventCategories
* @see AWS
* API Documentation
*/
default DescribeEventCategoriesResponse describeEventCategories(DescribeEventCategoriesRequest describeEventCategoriesRequest)
throws AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEventCategories operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEventCategories
* @see AWS
* API Documentation
*/
default DescribeEventCategoriesResponse describeEventCategories(
Consumer describeEventCategoriesRequest) throws AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEventCategories operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEventCategories
* @see #describeEventCategories(DescribeEventCategoriesRequest)
* @see AWS
* API Documentation
*/
default DescribeEventCategoriesResponse describeEventCategories() throws AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the DescribeEventSubscriptions operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEventSubscriptions
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsResponse describeEventSubscriptions(
DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEventSubscriptions operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEventSubscriptions
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsResponse describeEventSubscriptions(
Consumer describeEventSubscriptionsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEventSubscriptions operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEventSubscriptions
* @see #describeEventSubscriptions(DescribeEventSubscriptionsRequest)
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsResponse describeEventSubscriptions() throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeEventSubscriptions(DescribeEventSubscriptionsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsIterable responses = client.describeEventSubscriptionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsIterable responses = client
* .describeEventSubscriptionsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsIterable responses = client.describeEventSubscriptionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEventSubscriptions
* @see #describeEventSubscriptionsPaginator(DescribeEventSubscriptionsRequest)
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsIterable describeEventSubscriptionsPaginator() throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeEventSubscriptionsPaginator(DescribeEventSubscriptionsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsIterable responses = client.describeEventSubscriptionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsIterable responses = client
* .describeEventSubscriptionsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsIterable responses = client.describeEventSubscriptionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEventSubscriptions
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsIterable describeEventSubscriptionsPaginator(
DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeEventSubscriptionsIterable(this, describeEventSubscriptionsRequest);
}
/**
*
* This is a variant of
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsIterable responses = client.describeEventSubscriptionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsIterable responses = client
* .describeEventSubscriptionsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsIterable responses = client.describeEventSubscriptionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEventSubscriptions
* @see AWS API Documentation
*/
default DescribeEventSubscriptionsIterable describeEventSubscriptionsPaginator(
Consumer describeEventSubscriptionsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEvents operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEvents
* @see AWS API
* Documentation
*/
default DescribeEventsResponse describeEvents(DescribeEventsRequest describeEventsRequest) throws AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEvents operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEvents
* @see AWS API
* Documentation
*/
default DescribeEventsResponse describeEvents(Consumer describeEventsRequest)
throws AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEvents operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEvents
* @see #describeEvents(DescribeEventsRequest)
* @see AWS API
* Documentation
*/
default DescribeEventsResponse describeEvents() throws AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeEvents(DescribeEventsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)} operation.
* The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
* handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsIterable responses = client
* .describeEventsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEventsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEvents
* @see #describeEventsPaginator(DescribeEventsRequest)
* @see AWS API
* Documentation
*/
default DescribeEventsIterable describeEventsPaginator() throws AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeEventsPaginator(DescribeEventsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)} operation.
* The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
* handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsIterable responses = client
* .describeEventsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEventsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEvents
* @see AWS API
* Documentation
*/
default DescribeEventsIterable describeEventsPaginator(DescribeEventsRequest describeEventsRequest)
throws AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeEventsIterable(this, describeEventsRequest);
}
/**
*
* This is a variant of
* {@link #describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)} operation.
* The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
* handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsIterable responses = client
* .describeEventsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEventsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEvents
* @see AWS API
* Documentation
*/
default DescribeEventsIterable describeEventsPaginator(Consumer describeEventsRequest)
throws AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeExtensionPackAssociations operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeExtensionPackAssociations
* @see AWS API Documentation
*/
default DescribeExtensionPackAssociationsResponse describeExtensionPackAssociations(
DescribeExtensionPackAssociationsRequest describeExtensionPackAssociationsRequest) throws AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DescribeExtensionPackAssociations operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeExtensionPackAssociations
* @see AWS API Documentation
*/
default DescribeExtensionPackAssociationsResponse describeExtensionPackAssociations(
Consumer describeExtensionPackAssociationsRequest)
throws AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeExtensionPackAssociations(DescribeExtensionPackAssociationsRequest.builder()
.applyMutation(describeExtensionPackAssociationsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeExtensionPackAssociations(software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsIterable responses = client.describeExtensionPackAssociationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsIterable responses = client
* .describeExtensionPackAssociationsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsIterable responses = client.describeExtensionPackAssociationsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeExtensionPackAssociations
* @see AWS API Documentation
*/
default DescribeExtensionPackAssociationsIterable describeExtensionPackAssociationsPaginator(
DescribeExtensionPackAssociationsRequest describeExtensionPackAssociationsRequest) throws AwsServiceException,
SdkClientException, DatabaseMigrationException {
return new DescribeExtensionPackAssociationsIterable(this, describeExtensionPackAssociationsRequest);
}
/**
*
* This is a variant of
* {@link #describeExtensionPackAssociations(software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsIterable responses = client.describeExtensionPackAssociationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsIterable responses = client
* .describeExtensionPackAssociationsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsIterable responses = client.describeExtensionPackAssociationsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeExtensionPackAssociations
* @see AWS API Documentation
*/
default DescribeExtensionPackAssociationsIterable describeExtensionPackAssociationsPaginator(
Consumer describeExtensionPackAssociationsRequest)
throws AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeExtensionPackAssociationsPaginator(DescribeExtensionPackAssociationsRequest.builder()
.applyMutation(describeExtensionPackAssociationsRequest).build());
}
/**
*
* Returns a list of the Fleet Advisor collectors in your account.
*
*
* @param describeFleetAdvisorCollectorsRequest
* @return Result of the DescribeFleetAdvisorCollectors operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorCollectors
* @see AWS API Documentation
*/
default DescribeFleetAdvisorCollectorsResponse describeFleetAdvisorCollectors(
DescribeFleetAdvisorCollectorsRequest describeFleetAdvisorCollectorsRequest) throws InvalidResourceStateException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeFleetAdvisorCollectors operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorCollectors
* @see AWS API Documentation
*/
default DescribeFleetAdvisorCollectorsResponse describeFleetAdvisorCollectors(
Consumer describeFleetAdvisorCollectorsRequest)
throws InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeFleetAdvisorCollectors(DescribeFleetAdvisorCollectorsRequest.builder()
.applyMutation(describeFleetAdvisorCollectorsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeFleetAdvisorCollectors(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsIterable responses = client.describeFleetAdvisorCollectorsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsIterable responses = client
* .describeFleetAdvisorCollectorsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsIterable responses = client.describeFleetAdvisorCollectorsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorCollectors
* @see AWS API Documentation
*/
default DescribeFleetAdvisorCollectorsIterable describeFleetAdvisorCollectorsPaginator(
DescribeFleetAdvisorCollectorsRequest describeFleetAdvisorCollectorsRequest) throws InvalidResourceStateException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeFleetAdvisorCollectorsIterable(this, describeFleetAdvisorCollectorsRequest);
}
/**
*
* This is a variant of
* {@link #describeFleetAdvisorCollectors(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsIterable responses = client.describeFleetAdvisorCollectorsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsIterable responses = client
* .describeFleetAdvisorCollectorsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsIterable responses = client.describeFleetAdvisorCollectorsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorCollectors
* @see AWS API Documentation
*/
default DescribeFleetAdvisorCollectorsIterable describeFleetAdvisorCollectorsPaginator(
Consumer describeFleetAdvisorCollectorsRequest)
throws InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeFleetAdvisorCollectorsPaginator(DescribeFleetAdvisorCollectorsRequest.builder()
.applyMutation(describeFleetAdvisorCollectorsRequest).build());
}
/**
*
* Returns a list of Fleet Advisor databases in your account.
*
*
* @param describeFleetAdvisorDatabasesRequest
* @return Result of the DescribeFleetAdvisorDatabases operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorDatabases
* @see AWS API Documentation
*/
default DescribeFleetAdvisorDatabasesResponse describeFleetAdvisorDatabases(
DescribeFleetAdvisorDatabasesRequest describeFleetAdvisorDatabasesRequest) throws InvalidResourceStateException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeFleetAdvisorDatabases operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorDatabases
* @see AWS API Documentation
*/
default DescribeFleetAdvisorDatabasesResponse describeFleetAdvisorDatabases(
Consumer describeFleetAdvisorDatabasesRequest)
throws InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeFleetAdvisorDatabases(DescribeFleetAdvisorDatabasesRequest.builder()
.applyMutation(describeFleetAdvisorDatabasesRequest).build());
}
/**
*
* This is a variant of
* {@link #describeFleetAdvisorDatabases(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesIterable responses = client.describeFleetAdvisorDatabasesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesIterable responses = client
* .describeFleetAdvisorDatabasesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesIterable responses = client.describeFleetAdvisorDatabasesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorDatabases
* @see AWS API Documentation
*/
default DescribeFleetAdvisorDatabasesIterable describeFleetAdvisorDatabasesPaginator(
DescribeFleetAdvisorDatabasesRequest describeFleetAdvisorDatabasesRequest) throws InvalidResourceStateException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeFleetAdvisorDatabasesIterable(this, describeFleetAdvisorDatabasesRequest);
}
/**
*
* This is a variant of
* {@link #describeFleetAdvisorDatabases(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesIterable responses = client.describeFleetAdvisorDatabasesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesIterable responses = client
* .describeFleetAdvisorDatabasesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesIterable responses = client.describeFleetAdvisorDatabasesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorDatabases
* @see AWS API Documentation
*/
default DescribeFleetAdvisorDatabasesIterable describeFleetAdvisorDatabasesPaginator(
Consumer describeFleetAdvisorDatabasesRequest)
throws InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeFleetAdvisorDatabasesPaginator(DescribeFleetAdvisorDatabasesRequest.builder()
.applyMutation(describeFleetAdvisorDatabasesRequest).build());
}
/**
*
* Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.
*
*
* @param describeFleetAdvisorLsaAnalysisRequest
* @return Result of the DescribeFleetAdvisorLsaAnalysis operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorLsaAnalysis
* @see AWS API Documentation
*/
default DescribeFleetAdvisorLsaAnalysisResponse describeFleetAdvisorLsaAnalysis(
DescribeFleetAdvisorLsaAnalysisRequest describeFleetAdvisorLsaAnalysisRequest) throws InvalidResourceStateException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeFleetAdvisorLsaAnalysis operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorLsaAnalysis
* @see AWS API Documentation
*/
default DescribeFleetAdvisorLsaAnalysisResponse describeFleetAdvisorLsaAnalysis(
Consumer describeFleetAdvisorLsaAnalysisRequest)
throws InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeFleetAdvisorLsaAnalysis(DescribeFleetAdvisorLsaAnalysisRequest.builder()
.applyMutation(describeFleetAdvisorLsaAnalysisRequest).build());
}
/**
*
* This is a variant of
* {@link #describeFleetAdvisorLsaAnalysis(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisIterable responses = client.describeFleetAdvisorLsaAnalysisPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisIterable responses = client
* .describeFleetAdvisorLsaAnalysisPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisIterable responses = client.describeFleetAdvisorLsaAnalysisPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorLsaAnalysis
* @see AWS API Documentation
*/
default DescribeFleetAdvisorLsaAnalysisIterable describeFleetAdvisorLsaAnalysisPaginator(
DescribeFleetAdvisorLsaAnalysisRequest describeFleetAdvisorLsaAnalysisRequest) throws InvalidResourceStateException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeFleetAdvisorLsaAnalysisIterable(this, describeFleetAdvisorLsaAnalysisRequest);
}
/**
*
* This is a variant of
* {@link #describeFleetAdvisorLsaAnalysis(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisIterable responses = client.describeFleetAdvisorLsaAnalysisPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisIterable responses = client
* .describeFleetAdvisorLsaAnalysisPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisIterable responses = client.describeFleetAdvisorLsaAnalysisPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorLsaAnalysis
* @see AWS API Documentation
*/
default DescribeFleetAdvisorLsaAnalysisIterable describeFleetAdvisorLsaAnalysisPaginator(
Consumer describeFleetAdvisorLsaAnalysisRequest)
throws InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeFleetAdvisorLsaAnalysisPaginator(DescribeFleetAdvisorLsaAnalysisRequest.builder()
.applyMutation(describeFleetAdvisorLsaAnalysisRequest).build());
}
/**
*
* Provides descriptions of the schemas discovered by your Fleet Advisor collectors.
*
*
* @param describeFleetAdvisorSchemaObjectSummaryRequest
* @return Result of the DescribeFleetAdvisorSchemaObjectSummary operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorSchemaObjectSummary
* @see AWS API Documentation
*/
default DescribeFleetAdvisorSchemaObjectSummaryResponse describeFleetAdvisorSchemaObjectSummary(
DescribeFleetAdvisorSchemaObjectSummaryRequest describeFleetAdvisorSchemaObjectSummaryRequest)
throws InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeFleetAdvisorSchemaObjectSummary operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorSchemaObjectSummary
* @see AWS API Documentation
*/
default DescribeFleetAdvisorSchemaObjectSummaryResponse describeFleetAdvisorSchemaObjectSummary(
Consumer describeFleetAdvisorSchemaObjectSummaryRequest)
throws InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeFleetAdvisorSchemaObjectSummary(DescribeFleetAdvisorSchemaObjectSummaryRequest.builder()
.applyMutation(describeFleetAdvisorSchemaObjectSummaryRequest).build());
}
/**
*
* This is a variant of
* {@link #describeFleetAdvisorSchemaObjectSummary(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryIterable responses = client.describeFleetAdvisorSchemaObjectSummaryPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryIterable responses = client
* .describeFleetAdvisorSchemaObjectSummaryPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryIterable responses = client.describeFleetAdvisorSchemaObjectSummaryPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorSchemaObjectSummary
* @see AWS API Documentation
*/
default DescribeFleetAdvisorSchemaObjectSummaryIterable describeFleetAdvisorSchemaObjectSummaryPaginator(
DescribeFleetAdvisorSchemaObjectSummaryRequest describeFleetAdvisorSchemaObjectSummaryRequest)
throws InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeFleetAdvisorSchemaObjectSummaryIterable(this, describeFleetAdvisorSchemaObjectSummaryRequest);
}
/**
*
* This is a variant of
* {@link #describeFleetAdvisorSchemaObjectSummary(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryIterable responses = client.describeFleetAdvisorSchemaObjectSummaryPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryIterable responses = client
* .describeFleetAdvisorSchemaObjectSummaryPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryIterable responses = client.describeFleetAdvisorSchemaObjectSummaryPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorSchemaObjectSummary
* @see AWS API Documentation
*/
default DescribeFleetAdvisorSchemaObjectSummaryIterable describeFleetAdvisorSchemaObjectSummaryPaginator(
Consumer describeFleetAdvisorSchemaObjectSummaryRequest)
throws InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeFleetAdvisorSchemaObjectSummaryPaginator(DescribeFleetAdvisorSchemaObjectSummaryRequest.builder()
.applyMutation(describeFleetAdvisorSchemaObjectSummaryRequest).build());
}
/**
*
* Returns a list of schemas detected by Fleet Advisor Collectors in your account.
*
*
* @param describeFleetAdvisorSchemasRequest
* @return Result of the DescribeFleetAdvisorSchemas operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorSchemas
* @see AWS API Documentation
*/
default DescribeFleetAdvisorSchemasResponse describeFleetAdvisorSchemas(
DescribeFleetAdvisorSchemasRequest describeFleetAdvisorSchemasRequest) throws InvalidResourceStateException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeFleetAdvisorSchemas operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorSchemas
* @see AWS API Documentation
*/
default DescribeFleetAdvisorSchemasResponse describeFleetAdvisorSchemas(
Consumer describeFleetAdvisorSchemasRequest)
throws InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeFleetAdvisorSchemas(DescribeFleetAdvisorSchemasRequest.builder()
.applyMutation(describeFleetAdvisorSchemasRequest).build());
}
/**
*
* This is a variant of
* {@link #describeFleetAdvisorSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasIterable responses = client.describeFleetAdvisorSchemasPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasIterable responses = client
* .describeFleetAdvisorSchemasPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasIterable responses = client.describeFleetAdvisorSchemasPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorSchemas
* @see AWS API Documentation
*/
default DescribeFleetAdvisorSchemasIterable describeFleetAdvisorSchemasPaginator(
DescribeFleetAdvisorSchemasRequest describeFleetAdvisorSchemasRequest) throws InvalidResourceStateException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeFleetAdvisorSchemasIterable(this, describeFleetAdvisorSchemasRequest);
}
/**
*
* This is a variant of
* {@link #describeFleetAdvisorSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasIterable responses = client.describeFleetAdvisorSchemasPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasIterable responses = client
* .describeFleetAdvisorSchemasPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasIterable responses = client.describeFleetAdvisorSchemasPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeFleetAdvisorSchemas
* @see AWS API Documentation
*/
default DescribeFleetAdvisorSchemasIterable describeFleetAdvisorSchemasPaginator(
Consumer describeFleetAdvisorSchemasRequest)
throws InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeFleetAdvisorSchemasPaginator(DescribeFleetAdvisorSchemasRequest.builder()
.applyMutation(describeFleetAdvisorSchemasRequest).build());
}
/**
*
* Returns a paginated list of instance profiles for your account in the current region.
*
*
* @param describeInstanceProfilesRequest
* @return Result of the DescribeInstanceProfiles operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeInstanceProfiles
* @see AWS
* API Documentation
*/
default DescribeInstanceProfilesResponse describeInstanceProfiles(
DescribeInstanceProfilesRequest describeInstanceProfilesRequest) throws ResourceNotFoundException,
AccessDeniedException, FailedDependencyException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeInstanceProfiles operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeInstanceProfiles
* @see AWS
* API Documentation
*/
default DescribeInstanceProfilesResponse describeInstanceProfiles(
Consumer describeInstanceProfilesRequest) throws ResourceNotFoundException,
AccessDeniedException, FailedDependencyException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeInstanceProfiles(DescribeInstanceProfilesRequest.builder().applyMutation(describeInstanceProfilesRequest)
.build());
}
/**
*
* This is a variant of
* {@link #describeInstanceProfiles(software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesIterable responses = client.describeInstanceProfilesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesIterable responses = client
* .describeInstanceProfilesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesIterable responses = client.describeInstanceProfilesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeInstanceProfiles
* @see AWS
* API Documentation
*/
default DescribeInstanceProfilesIterable describeInstanceProfilesPaginator(
DescribeInstanceProfilesRequest describeInstanceProfilesRequest) throws ResourceNotFoundException,
AccessDeniedException, FailedDependencyException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeInstanceProfilesIterable(this, describeInstanceProfilesRequest);
}
/**
*
* This is a variant of
* {@link #describeInstanceProfiles(software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesIterable responses = client.describeInstanceProfilesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesIterable responses = client
* .describeInstanceProfilesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesIterable responses = client.describeInstanceProfilesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeInstanceProfiles
* @see AWS
* API Documentation
*/
default DescribeInstanceProfilesIterable describeInstanceProfilesPaginator(
Consumer describeInstanceProfilesRequest) throws ResourceNotFoundException,
AccessDeniedException, FailedDependencyException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeMetadataModelAssessments operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelAssessments
* @see AWS API Documentation
*/
default DescribeMetadataModelAssessmentsResponse describeMetadataModelAssessments(
DescribeMetadataModelAssessmentsRequest describeMetadataModelAssessmentsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeMetadataModelAssessments operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelAssessments
* @see AWS API Documentation
*/
default DescribeMetadataModelAssessmentsResponse describeMetadataModelAssessments(
Consumer describeMetadataModelAssessmentsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeMetadataModelAssessments(DescribeMetadataModelAssessmentsRequest.builder()
.applyMutation(describeMetadataModelAssessmentsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeMetadataModelAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsIterable responses = client.describeMetadataModelAssessmentsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsIterable responses = client
* .describeMetadataModelAssessmentsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsIterable responses = client.describeMetadataModelAssessmentsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelAssessments
* @see AWS API Documentation
*/
default DescribeMetadataModelAssessmentsIterable describeMetadataModelAssessmentsPaginator(
DescribeMetadataModelAssessmentsRequest describeMetadataModelAssessmentsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeMetadataModelAssessmentsIterable(this, describeMetadataModelAssessmentsRequest);
}
/**
*
* This is a variant of
* {@link #describeMetadataModelAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsIterable responses = client.describeMetadataModelAssessmentsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsIterable responses = client
* .describeMetadataModelAssessmentsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsIterable responses = client.describeMetadataModelAssessmentsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelAssessments
* @see AWS API Documentation
*/
default DescribeMetadataModelAssessmentsIterable describeMetadataModelAssessmentsPaginator(
Consumer describeMetadataModelAssessmentsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeMetadataModelAssessmentsPaginator(DescribeMetadataModelAssessmentsRequest.builder()
.applyMutation(describeMetadataModelAssessmentsRequest).build());
}
/**
*
* Returns a paginated list of metadata model conversions for a migration project.
*
*
* @param describeMetadataModelConversionsRequest
* @return Result of the DescribeMetadataModelConversions operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelConversions
* @see AWS API Documentation
*/
default DescribeMetadataModelConversionsResponse describeMetadataModelConversions(
DescribeMetadataModelConversionsRequest describeMetadataModelConversionsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeMetadataModelConversions operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelConversions
* @see AWS API Documentation
*/
default DescribeMetadataModelConversionsResponse describeMetadataModelConversions(
Consumer describeMetadataModelConversionsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeMetadataModelConversions(DescribeMetadataModelConversionsRequest.builder()
.applyMutation(describeMetadataModelConversionsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeMetadataModelConversions(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsIterable responses = client.describeMetadataModelConversionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsIterable responses = client
* .describeMetadataModelConversionsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsIterable responses = client.describeMetadataModelConversionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelConversions
* @see AWS API Documentation
*/
default DescribeMetadataModelConversionsIterable describeMetadataModelConversionsPaginator(
DescribeMetadataModelConversionsRequest describeMetadataModelConversionsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeMetadataModelConversionsIterable(this, describeMetadataModelConversionsRequest);
}
/**
*
* This is a variant of
* {@link #describeMetadataModelConversions(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsIterable responses = client.describeMetadataModelConversionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsIterable responses = client
* .describeMetadataModelConversionsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsIterable responses = client.describeMetadataModelConversionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelConversions
* @see AWS API Documentation
*/
default DescribeMetadataModelConversionsIterable describeMetadataModelConversionsPaginator(
Consumer describeMetadataModelConversionsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeMetadataModelConversionsPaginator(DescribeMetadataModelConversionsRequest.builder()
.applyMutation(describeMetadataModelConversionsRequest).build());
}
/**
*
* Returns a paginated list of metadata model exports.
*
*
* @param describeMetadataModelExportsAsScriptRequest
* @return Result of the DescribeMetadataModelExportsAsScript operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelExportsAsScript
* @see AWS API Documentation
*/
default DescribeMetadataModelExportsAsScriptResponse describeMetadataModelExportsAsScript(
DescribeMetadataModelExportsAsScriptRequest describeMetadataModelExportsAsScriptRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeMetadataModelExportsAsScript operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelExportsAsScript
* @see AWS API Documentation
*/
default DescribeMetadataModelExportsAsScriptResponse describeMetadataModelExportsAsScript(
Consumer describeMetadataModelExportsAsScriptRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeMetadataModelExportsAsScript(DescribeMetadataModelExportsAsScriptRequest.builder()
.applyMutation(describeMetadataModelExportsAsScriptRequest).build());
}
/**
*
* This is a variant of
* {@link #describeMetadataModelExportsAsScript(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptIterable responses = client.describeMetadataModelExportsAsScriptPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptIterable responses = client
* .describeMetadataModelExportsAsScriptPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptIterable responses = client.describeMetadataModelExportsAsScriptPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelExportsAsScript
* @see AWS API Documentation
*/
default DescribeMetadataModelExportsAsScriptIterable describeMetadataModelExportsAsScriptPaginator(
DescribeMetadataModelExportsAsScriptRequest describeMetadataModelExportsAsScriptRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeMetadataModelExportsAsScriptIterable(this, describeMetadataModelExportsAsScriptRequest);
}
/**
*
* This is a variant of
* {@link #describeMetadataModelExportsAsScript(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptIterable responses = client.describeMetadataModelExportsAsScriptPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptIterable responses = client
* .describeMetadataModelExportsAsScriptPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptIterable responses = client.describeMetadataModelExportsAsScriptPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelExportsAsScript
* @see AWS API Documentation
*/
default DescribeMetadataModelExportsAsScriptIterable describeMetadataModelExportsAsScriptPaginator(
Consumer describeMetadataModelExportsAsScriptRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeMetadataModelExportsAsScriptPaginator(DescribeMetadataModelExportsAsScriptRequest.builder()
.applyMutation(describeMetadataModelExportsAsScriptRequest).build());
}
/**
*
* Returns a paginated list of metadata model exports.
*
*
* @param describeMetadataModelExportsToTargetRequest
* @return Result of the DescribeMetadataModelExportsToTarget operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelExportsToTarget
* @see AWS API Documentation
*/
default DescribeMetadataModelExportsToTargetResponse describeMetadataModelExportsToTarget(
DescribeMetadataModelExportsToTargetRequest describeMetadataModelExportsToTargetRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeMetadataModelExportsToTarget operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelExportsToTarget
* @see AWS API Documentation
*/
default DescribeMetadataModelExportsToTargetResponse describeMetadataModelExportsToTarget(
Consumer describeMetadataModelExportsToTargetRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeMetadataModelExportsToTarget(DescribeMetadataModelExportsToTargetRequest.builder()
.applyMutation(describeMetadataModelExportsToTargetRequest).build());
}
/**
*
* This is a variant of
* {@link #describeMetadataModelExportsToTarget(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetIterable responses = client.describeMetadataModelExportsToTargetPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetIterable responses = client
* .describeMetadataModelExportsToTargetPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetIterable responses = client.describeMetadataModelExportsToTargetPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelExportsToTarget
* @see AWS API Documentation
*/
default DescribeMetadataModelExportsToTargetIterable describeMetadataModelExportsToTargetPaginator(
DescribeMetadataModelExportsToTargetRequest describeMetadataModelExportsToTargetRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeMetadataModelExportsToTargetIterable(this, describeMetadataModelExportsToTargetRequest);
}
/**
*
* This is a variant of
* {@link #describeMetadataModelExportsToTarget(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetIterable responses = client.describeMetadataModelExportsToTargetPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetIterable responses = client
* .describeMetadataModelExportsToTargetPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetIterable responses = client.describeMetadataModelExportsToTargetPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelExportsToTarget
* @see AWS API Documentation
*/
default DescribeMetadataModelExportsToTargetIterable describeMetadataModelExportsToTargetPaginator(
Consumer describeMetadataModelExportsToTargetRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeMetadataModelExportsToTargetPaginator(DescribeMetadataModelExportsToTargetRequest.builder()
.applyMutation(describeMetadataModelExportsToTargetRequest).build());
}
/**
*
* Returns a paginated list of metadata model imports.
*
*
* @param describeMetadataModelImportsRequest
* @return Result of the DescribeMetadataModelImports operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelImports
* @see AWS API Documentation
*/
default DescribeMetadataModelImportsResponse describeMetadataModelImports(
DescribeMetadataModelImportsRequest describeMetadataModelImportsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeMetadataModelImports operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelImports
* @see AWS API Documentation
*/
default DescribeMetadataModelImportsResponse describeMetadataModelImports(
Consumer describeMetadataModelImportsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeMetadataModelImports(DescribeMetadataModelImportsRequest.builder()
.applyMutation(describeMetadataModelImportsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeMetadataModelImports(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsIterable responses = client.describeMetadataModelImportsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsIterable responses = client
* .describeMetadataModelImportsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsIterable responses = client.describeMetadataModelImportsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelImports
* @see AWS API Documentation
*/
default DescribeMetadataModelImportsIterable describeMetadataModelImportsPaginator(
DescribeMetadataModelImportsRequest describeMetadataModelImportsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeMetadataModelImportsIterable(this, describeMetadataModelImportsRequest);
}
/**
*
* This is a variant of
* {@link #describeMetadataModelImports(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsIterable responses = client.describeMetadataModelImportsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsIterable responses = client
* .describeMetadataModelImportsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsIterable responses = client.describeMetadataModelImportsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMetadataModelImports
* @see AWS API Documentation
*/
default DescribeMetadataModelImportsIterable describeMetadataModelImportsPaginator(
Consumer describeMetadataModelImportsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeMetadataModelImportsPaginator(DescribeMetadataModelImportsRequest.builder()
.applyMutation(describeMetadataModelImportsRequest).build());
}
/**
*
* Returns a paginated list of migration projects for your account in the current region.
*
*
* @param describeMigrationProjectsRequest
* @return Result of the DescribeMigrationProjects operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMigrationProjects
* @see AWS
* API Documentation
*/
default DescribeMigrationProjectsResponse describeMigrationProjects(
DescribeMigrationProjectsRequest describeMigrationProjectsRequest) throws ResourceNotFoundException,
AccessDeniedException, FailedDependencyException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeMigrationProjects operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMigrationProjects
* @see AWS
* API Documentation
*/
default DescribeMigrationProjectsResponse describeMigrationProjects(
Consumer describeMigrationProjectsRequest)
throws ResourceNotFoundException, AccessDeniedException, FailedDependencyException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeMigrationProjects(DescribeMigrationProjectsRequest.builder()
.applyMutation(describeMigrationProjectsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeMigrationProjects(software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsIterable responses = client.describeMigrationProjectsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsIterable responses = client
* .describeMigrationProjectsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsIterable responses = client.describeMigrationProjectsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMigrationProjects
* @see AWS
* API Documentation
*/
default DescribeMigrationProjectsIterable describeMigrationProjectsPaginator(
DescribeMigrationProjectsRequest describeMigrationProjectsRequest) throws ResourceNotFoundException,
AccessDeniedException, FailedDependencyException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeMigrationProjectsIterable(this, describeMigrationProjectsRequest);
}
/**
*
* This is a variant of
* {@link #describeMigrationProjects(software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsIterable responses = client.describeMigrationProjectsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsIterable responses = client
* .describeMigrationProjectsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsIterable responses = client.describeMigrationProjectsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeMigrationProjects
* @see AWS
* API Documentation
*/
default DescribeMigrationProjectsIterable describeMigrationProjectsPaginator(
Consumer describeMigrationProjectsRequest)
throws ResourceNotFoundException, AccessDeniedException, FailedDependencyException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
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 Result of the DescribeOrderableReplicationInstances operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeOrderableReplicationInstances
* @see AWS API Documentation
*/
default DescribeOrderableReplicationInstancesResponse describeOrderableReplicationInstances(
DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest)
throws AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeOrderableReplicationInstances operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeOrderableReplicationInstances
* @see AWS API Documentation
*/
default DescribeOrderableReplicationInstancesResponse describeOrderableReplicationInstances(
Consumer describeOrderableReplicationInstancesRequest)
throws AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeOrderableReplicationInstances(DescribeOrderableReplicationInstancesRequest.builder()
.applyMutation(describeOrderableReplicationInstancesRequest).build());
}
/**
*
* Returns information about the replication instance types that can be created in the specified region.
*
*
* @return Result of the DescribeOrderableReplicationInstances operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeOrderableReplicationInstances
* @see #describeOrderableReplicationInstances(DescribeOrderableReplicationInstancesRequest)
* @see AWS API Documentation
*/
default DescribeOrderableReplicationInstancesResponse describeOrderableReplicationInstances() throws AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeOrderableReplicationInstances(DescribeOrderableReplicationInstancesRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesIterable responses = client.describeOrderableReplicationInstancesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesIterable responses = client
* .describeOrderableReplicationInstancesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesIterable responses = client.describeOrderableReplicationInstancesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeOrderableReplicationInstances
* @see #describeOrderableReplicationInstancesPaginator(DescribeOrderableReplicationInstancesRequest)
* @see AWS API Documentation
*/
default DescribeOrderableReplicationInstancesIterable describeOrderableReplicationInstancesPaginator()
throws AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeOrderableReplicationInstancesPaginator(DescribeOrderableReplicationInstancesRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesIterable responses = client.describeOrderableReplicationInstancesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesIterable responses = client
* .describeOrderableReplicationInstancesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesIterable responses = client.describeOrderableReplicationInstancesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeOrderableReplicationInstances
* @see AWS API Documentation
*/
default DescribeOrderableReplicationInstancesIterable describeOrderableReplicationInstancesPaginator(
DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest)
throws AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeOrderableReplicationInstancesIterable(this, describeOrderableReplicationInstancesRequest);
}
/**
*
* This is a variant of
* {@link #describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesIterable responses = client.describeOrderableReplicationInstancesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesIterable responses = client
* .describeOrderableReplicationInstancesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesIterable responses = client.describeOrderableReplicationInstancesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeOrderableReplicationInstances
* @see AWS API Documentation
*/
default DescribeOrderableReplicationInstancesIterable describeOrderableReplicationInstancesPaginator(
Consumer describeOrderableReplicationInstancesRequest)
throws AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeOrderableReplicationInstancesPaginator(DescribeOrderableReplicationInstancesRequest.builder()
.applyMutation(describeOrderableReplicationInstancesRequest).build());
}
/**
*
* For internal use only
*
*
* @param describePendingMaintenanceActionsRequest
* @return Result of the DescribePendingMaintenanceActions operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribePendingMaintenanceActions
* @see AWS API Documentation
*/
default DescribePendingMaintenanceActionsResponse describePendingMaintenanceActions(
DescribePendingMaintenanceActionsRequest describePendingMaintenanceActionsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribePendingMaintenanceActions operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribePendingMaintenanceActions
* @see AWS API Documentation
*/
default DescribePendingMaintenanceActionsResponse describePendingMaintenanceActions(
Consumer describePendingMaintenanceActionsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describePendingMaintenanceActions(DescribePendingMaintenanceActionsRequest.builder()
.applyMutation(describePendingMaintenanceActionsRequest).build());
}
/**
*
* This is a variant of
* {@link #describePendingMaintenanceActions(software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsIterable responses = client.describePendingMaintenanceActionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsIterable responses = client
* .describePendingMaintenanceActionsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsIterable responses = client.describePendingMaintenanceActionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribePendingMaintenanceActions
* @see AWS API Documentation
*/
default DescribePendingMaintenanceActionsIterable describePendingMaintenanceActionsPaginator(
DescribePendingMaintenanceActionsRequest describePendingMaintenanceActionsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribePendingMaintenanceActionsIterable(this, describePendingMaintenanceActionsRequest);
}
/**
*
* This is a variant of
* {@link #describePendingMaintenanceActions(software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsIterable responses = client.describePendingMaintenanceActionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsIterable responses = client
* .describePendingMaintenanceActionsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsIterable responses = client.describePendingMaintenanceActionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribePendingMaintenanceActions
* @see AWS API Documentation
*/
default DescribePendingMaintenanceActionsIterable describePendingMaintenanceActionsPaginator(
Consumer describePendingMaintenanceActionsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describePendingMaintenanceActionsPaginator(DescribePendingMaintenanceActionsRequest.builder()
.applyMutation(describePendingMaintenanceActionsRequest).build());
}
/**
*
* Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.
*
*
* @param describeRecommendationLimitationsRequest
* @return Result of the DescribeRecommendationLimitations operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeRecommendationLimitations
* @see AWS API Documentation
*/
default DescribeRecommendationLimitationsResponse describeRecommendationLimitations(
DescribeRecommendationLimitationsRequest describeRecommendationLimitationsRequest)
throws InvalidResourceStateException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the DescribeRecommendationLimitations operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeRecommendationLimitations
* @see AWS API Documentation
*/
default DescribeRecommendationLimitationsResponse describeRecommendationLimitations(
Consumer describeRecommendationLimitationsRequest)
throws InvalidResourceStateException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeRecommendationLimitations(DescribeRecommendationLimitationsRequest.builder()
.applyMutation(describeRecommendationLimitationsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeRecommendationLimitations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsIterable responses = client.describeRecommendationLimitationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsIterable responses = client
* .describeRecommendationLimitationsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsIterable responses = client.describeRecommendationLimitationsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeRecommendationLimitations
* @see AWS API Documentation
*/
default DescribeRecommendationLimitationsIterable describeRecommendationLimitationsPaginator(
DescribeRecommendationLimitationsRequest describeRecommendationLimitationsRequest)
throws InvalidResourceStateException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return new DescribeRecommendationLimitationsIterable(this, describeRecommendationLimitationsRequest);
}
/**
*
* This is a variant of
* {@link #describeRecommendationLimitations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsIterable responses = client.describeRecommendationLimitationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsIterable responses = client
* .describeRecommendationLimitationsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsIterable responses = client.describeRecommendationLimitationsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeRecommendationLimitations
* @see AWS API Documentation
*/
default DescribeRecommendationLimitationsIterable describeRecommendationLimitationsPaginator(
Consumer describeRecommendationLimitationsRequest)
throws InvalidResourceStateException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeRecommendationLimitationsPaginator(DescribeRecommendationLimitationsRequest.builder()
.applyMutation(describeRecommendationLimitationsRequest).build());
}
/**
*
* Returns a paginated list of target engine recommendations for your source databases.
*
*
* @param describeRecommendationsRequest
* @return Result of the DescribeRecommendations operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeRecommendations
* @see AWS
* API Documentation
*/
default DescribeRecommendationsResponse describeRecommendations(DescribeRecommendationsRequest describeRecommendationsRequest)
throws InvalidResourceStateException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the DescribeRecommendations operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeRecommendations
* @see AWS
* API Documentation
*/
default DescribeRecommendationsResponse describeRecommendations(
Consumer describeRecommendationsRequest)
throws InvalidResourceStateException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeRecommendations(DescribeRecommendationsRequest.builder().applyMutation(describeRecommendationsRequest)
.build());
}
/**
*
* This is a variant of
* {@link #describeRecommendations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsIterable responses = client.describeRecommendationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsIterable responses = client
* .describeRecommendationsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsIterable responses = client.describeRecommendationsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeRecommendations
* @see AWS
* API Documentation
*/
default DescribeRecommendationsIterable describeRecommendationsPaginator(
DescribeRecommendationsRequest describeRecommendationsRequest) throws InvalidResourceStateException,
AccessDeniedException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeRecommendationsIterable(this, describeRecommendationsRequest);
}
/**
*
* This is a variant of
* {@link #describeRecommendations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsIterable responses = client.describeRecommendationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsIterable responses = client
* .describeRecommendationsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsIterable responses = client.describeRecommendationsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeRecommendations
* @see AWS
* API Documentation
*/
default DescribeRecommendationsIterable describeRecommendationsPaginator(
Consumer describeRecommendationsRequest)
throws InvalidResourceStateException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeRecommendationsPaginator(DescribeRecommendationsRequest.builder()
.applyMutation(describeRecommendationsRequest).build());
}
/**
*
* Returns the status of the RefreshSchemas operation.
*
*
* @param describeRefreshSchemasStatusRequest
* @return Result of the DescribeRefreshSchemasStatus operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeRefreshSchemasStatus
* @see AWS API Documentation
*/
default DescribeRefreshSchemasStatusResponse describeRefreshSchemasStatus(
DescribeRefreshSchemasStatusRequest describeRefreshSchemasStatusRequest) throws InvalidResourceStateException,
ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeRefreshSchemasStatus operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeRefreshSchemasStatus
* @see AWS API Documentation
*/
default DescribeRefreshSchemasStatusResponse describeRefreshSchemasStatus(
Consumer describeRefreshSchemasStatusRequest)
throws InvalidResourceStateException, ResourceNotFoundException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeRefreshSchemasStatus(DescribeRefreshSchemasStatusRequest.builder()
.applyMutation(describeRefreshSchemasStatusRequest).build());
}
/**
*
* Returns one or more existing DMS Serverless replication configurations as a list of structures.
*
*
* @param describeReplicationConfigsRequest
* @return Result of the DescribeReplicationConfigs operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationConfigs
* @see AWS API Documentation
*/
default DescribeReplicationConfigsResponse describeReplicationConfigs(
DescribeReplicationConfigsRequest describeReplicationConfigsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeReplicationConfigs operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationConfigs
* @see AWS API Documentation
*/
default DescribeReplicationConfigsResponse describeReplicationConfigs(
Consumer describeReplicationConfigsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationConfigs(DescribeReplicationConfigsRequest.builder()
.applyMutation(describeReplicationConfigsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeReplicationConfigs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsIterable responses = client.describeReplicationConfigsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsIterable responses = client
* .describeReplicationConfigsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsIterable responses = client.describeReplicationConfigsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationConfigs
* @see AWS API Documentation
*/
default DescribeReplicationConfigsIterable describeReplicationConfigsPaginator(
DescribeReplicationConfigsRequest describeReplicationConfigsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeReplicationConfigsIterable(this, describeReplicationConfigsRequest);
}
/**
*
* This is a variant of
* {@link #describeReplicationConfigs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsIterable responses = client.describeReplicationConfigsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsIterable responses = client
* .describeReplicationConfigsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsIterable responses = client.describeReplicationConfigsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationConfigs
* @see AWS API Documentation
*/
default DescribeReplicationConfigsIterable describeReplicationConfigsPaginator(
Consumer describeReplicationConfigsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationConfigsPaginator(DescribeReplicationConfigsRequest.builder()
.applyMutation(describeReplicationConfigsRequest).build());
}
/**
*
* Returns information about the task logs for the specified task.
*
*
* @param describeReplicationInstanceTaskLogsRequest
* @return Result of the DescribeReplicationInstanceTaskLogs operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationInstanceTaskLogs
* @see AWS API Documentation
*/
default DescribeReplicationInstanceTaskLogsResponse describeReplicationInstanceTaskLogs(
DescribeReplicationInstanceTaskLogsRequest describeReplicationInstanceTaskLogsRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the DescribeReplicationInstanceTaskLogs operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationInstanceTaskLogs
* @see AWS API Documentation
*/
default DescribeReplicationInstanceTaskLogsResponse describeReplicationInstanceTaskLogs(
Consumer describeReplicationInstanceTaskLogsRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeReplicationInstanceTaskLogs(DescribeReplicationInstanceTaskLogsRequest.builder()
.applyMutation(describeReplicationInstanceTaskLogsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeReplicationInstanceTaskLogs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsIterable responses = client.describeReplicationInstanceTaskLogsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsIterable responses = client
* .describeReplicationInstanceTaskLogsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsIterable responses = client.describeReplicationInstanceTaskLogsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationInstanceTaskLogs
* @see AWS API Documentation
*/
default DescribeReplicationInstanceTaskLogsIterable describeReplicationInstanceTaskLogsPaginator(
DescribeReplicationInstanceTaskLogsRequest describeReplicationInstanceTaskLogsRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return new DescribeReplicationInstanceTaskLogsIterable(this, describeReplicationInstanceTaskLogsRequest);
}
/**
*
* This is a variant of
* {@link #describeReplicationInstanceTaskLogs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsIterable responses = client.describeReplicationInstanceTaskLogsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsIterable responses = client
* .describeReplicationInstanceTaskLogsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsIterable responses = client.describeReplicationInstanceTaskLogsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationInstanceTaskLogs
* @see AWS API Documentation
*/
default DescribeReplicationInstanceTaskLogsIterable describeReplicationInstanceTaskLogsPaginator(
Consumer describeReplicationInstanceTaskLogsRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeReplicationInstanceTaskLogsPaginator(DescribeReplicationInstanceTaskLogsRequest.builder()
.applyMutation(describeReplicationInstanceTaskLogsRequest).build());
}
/**
*
* Returns information about replication instances for your account in the current region.
*
*
* @param describeReplicationInstancesRequest
* @return Result of the DescribeReplicationInstances operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationInstances
* @see AWS API Documentation
*/
default DescribeReplicationInstancesResponse describeReplicationInstances(
DescribeReplicationInstancesRequest describeReplicationInstancesRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeReplicationInstances operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationInstances
* @see AWS API Documentation
*/
default DescribeReplicationInstancesResponse describeReplicationInstances(
Consumer describeReplicationInstancesRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationInstances(DescribeReplicationInstancesRequest.builder()
.applyMutation(describeReplicationInstancesRequest).build());
}
/**
*
* Returns information about replication instances for your account in the current region.
*
*
* @return Result of the DescribeReplicationInstances operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationInstances
* @see #describeReplicationInstances(DescribeReplicationInstancesRequest)
* @see AWS API Documentation
*/
default DescribeReplicationInstancesResponse describeReplicationInstances() throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationInstances(DescribeReplicationInstancesRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesIterable responses = client.describeReplicationInstancesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesIterable responses = client
* .describeReplicationInstancesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesIterable responses = client.describeReplicationInstancesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationInstances
* @see #describeReplicationInstancesPaginator(DescribeReplicationInstancesRequest)
* @see AWS API Documentation
*/
default DescribeReplicationInstancesIterable describeReplicationInstancesPaginator() throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationInstancesPaginator(DescribeReplicationInstancesRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesIterable responses = client.describeReplicationInstancesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesIterable responses = client
* .describeReplicationInstancesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesIterable responses = client.describeReplicationInstancesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationInstances
* @see AWS API Documentation
*/
default DescribeReplicationInstancesIterable describeReplicationInstancesPaginator(
DescribeReplicationInstancesRequest describeReplicationInstancesRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeReplicationInstancesIterable(this, describeReplicationInstancesRequest);
}
/**
*
* This is a variant of
* {@link #describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesIterable responses = client.describeReplicationInstancesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesIterable responses = client
* .describeReplicationInstancesPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesIterable responses = client.describeReplicationInstancesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationInstances
* @see AWS API Documentation
*/
default DescribeReplicationInstancesIterable describeReplicationInstancesPaginator(
Consumer describeReplicationInstancesRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationInstancesPaginator(DescribeReplicationInstancesRequest.builder()
.applyMutation(describeReplicationInstancesRequest).build());
}
/**
*
* Returns information about the replication subnet groups.
*
*
* @param describeReplicationSubnetGroupsRequest
* @return Result of the DescribeReplicationSubnetGroups operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationSubnetGroups
* @see AWS API Documentation
*/
default DescribeReplicationSubnetGroupsResponse describeReplicationSubnetGroups(
DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeReplicationSubnetGroups operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationSubnetGroups
* @see AWS API Documentation
*/
default DescribeReplicationSubnetGroupsResponse describeReplicationSubnetGroups(
Consumer describeReplicationSubnetGroupsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest.builder()
.applyMutation(describeReplicationSubnetGroupsRequest).build());
}
/**
*
* Returns information about the replication subnet groups.
*
*
* @return Result of the DescribeReplicationSubnetGroups operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationSubnetGroups
* @see #describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest)
* @see AWS API Documentation
*/
default DescribeReplicationSubnetGroupsResponse describeReplicationSubnetGroups() throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsIterable responses = client.describeReplicationSubnetGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsIterable responses = client
* .describeReplicationSubnetGroupsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsIterable responses = client.describeReplicationSubnetGroupsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationSubnetGroups
* @see #describeReplicationSubnetGroupsPaginator(DescribeReplicationSubnetGroupsRequest)
* @see AWS API Documentation
*/
default DescribeReplicationSubnetGroupsIterable describeReplicationSubnetGroupsPaginator() throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationSubnetGroupsPaginator(DescribeReplicationSubnetGroupsRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsIterable responses = client.describeReplicationSubnetGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsIterable responses = client
* .describeReplicationSubnetGroupsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsIterable responses = client.describeReplicationSubnetGroupsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationSubnetGroups
* @see AWS API Documentation
*/
default DescribeReplicationSubnetGroupsIterable describeReplicationSubnetGroupsPaginator(
DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeReplicationSubnetGroupsIterable(this, describeReplicationSubnetGroupsRequest);
}
/**
*
* This is a variant of
* {@link #describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsIterable responses = client.describeReplicationSubnetGroupsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsIterable responses = client
* .describeReplicationSubnetGroupsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsIterable responses = client.describeReplicationSubnetGroupsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationSubnetGroups
* @see AWS API Documentation
*/
default DescribeReplicationSubnetGroupsIterable describeReplicationSubnetGroupsPaginator(
Consumer describeReplicationSubnetGroupsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeReplicationTableStatistics operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTableStatistics
* @see AWS API Documentation
*/
default DescribeReplicationTableStatisticsResponse describeReplicationTableStatistics(
DescribeReplicationTableStatisticsRequest describeReplicationTableStatisticsRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the DescribeReplicationTableStatistics operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTableStatistics
* @see AWS API Documentation
*/
default DescribeReplicationTableStatisticsResponse describeReplicationTableStatistics(
Consumer describeReplicationTableStatisticsRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeReplicationTableStatistics(DescribeReplicationTableStatisticsRequest.builder()
.applyMutation(describeReplicationTableStatisticsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeReplicationTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsIterable responses = client.describeReplicationTableStatisticsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsIterable responses = client
* .describeReplicationTableStatisticsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsIterable responses = client.describeReplicationTableStatisticsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTableStatistics
* @see AWS API Documentation
*/
default DescribeReplicationTableStatisticsIterable describeReplicationTableStatisticsPaginator(
DescribeReplicationTableStatisticsRequest describeReplicationTableStatisticsRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return new DescribeReplicationTableStatisticsIterable(this, describeReplicationTableStatisticsRequest);
}
/**
*
* This is a variant of
* {@link #describeReplicationTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsIterable responses = client.describeReplicationTableStatisticsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsIterable responses = client
* .describeReplicationTableStatisticsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsIterable responses = client.describeReplicationTableStatisticsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTableStatistics
* @see AWS API Documentation
*/
default DescribeReplicationTableStatisticsIterable describeReplicationTableStatisticsPaginator(
Consumer describeReplicationTableStatisticsRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
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 Result of the DescribeReplicationTaskAssessmentResults operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTaskAssessmentResults
* @see AWS API Documentation
*/
default DescribeReplicationTaskAssessmentResultsResponse describeReplicationTaskAssessmentResults(
DescribeReplicationTaskAssessmentResultsRequest describeReplicationTaskAssessmentResultsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeReplicationTaskAssessmentResults operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTaskAssessmentResults
* @see AWS API Documentation
*/
default DescribeReplicationTaskAssessmentResultsResponse describeReplicationTaskAssessmentResults(
Consumer describeReplicationTaskAssessmentResultsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationTaskAssessmentResults(DescribeReplicationTaskAssessmentResultsRequest.builder()
.applyMutation(describeReplicationTaskAssessmentResultsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeReplicationTaskAssessmentResults(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsIterable responses = client.describeReplicationTaskAssessmentResultsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsIterable responses = client
* .describeReplicationTaskAssessmentResultsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsIterable responses = client.describeReplicationTaskAssessmentResultsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTaskAssessmentResults
* @see AWS API Documentation
*/
default DescribeReplicationTaskAssessmentResultsIterable describeReplicationTaskAssessmentResultsPaginator(
DescribeReplicationTaskAssessmentResultsRequest describeReplicationTaskAssessmentResultsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeReplicationTaskAssessmentResultsIterable(this, describeReplicationTaskAssessmentResultsRequest);
}
/**
*
* This is a variant of
* {@link #describeReplicationTaskAssessmentResults(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsIterable responses = client.describeReplicationTaskAssessmentResultsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsIterable responses = client
* .describeReplicationTaskAssessmentResultsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsIterable responses = client.describeReplicationTaskAssessmentResultsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTaskAssessmentResults
* @see AWS API Documentation
*/
default DescribeReplicationTaskAssessmentResultsIterable describeReplicationTaskAssessmentResultsPaginator(
Consumer describeReplicationTaskAssessmentResultsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeReplicationTaskAssessmentRuns operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTaskAssessmentRuns
* @see AWS API Documentation
*/
default DescribeReplicationTaskAssessmentRunsResponse describeReplicationTaskAssessmentRuns(
DescribeReplicationTaskAssessmentRunsRequest describeReplicationTaskAssessmentRunsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeReplicationTaskAssessmentRuns operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTaskAssessmentRuns
* @see AWS API Documentation
*/
default DescribeReplicationTaskAssessmentRunsResponse describeReplicationTaskAssessmentRuns(
Consumer describeReplicationTaskAssessmentRunsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationTaskAssessmentRuns(DescribeReplicationTaskAssessmentRunsRequest.builder()
.applyMutation(describeReplicationTaskAssessmentRunsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeReplicationTaskAssessmentRuns(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsIterable responses = client.describeReplicationTaskAssessmentRunsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsIterable responses = client
* .describeReplicationTaskAssessmentRunsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsIterable responses = client.describeReplicationTaskAssessmentRunsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTaskAssessmentRuns
* @see AWS API Documentation
*/
default DescribeReplicationTaskAssessmentRunsIterable describeReplicationTaskAssessmentRunsPaginator(
DescribeReplicationTaskAssessmentRunsRequest describeReplicationTaskAssessmentRunsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeReplicationTaskAssessmentRunsIterable(this, describeReplicationTaskAssessmentRunsRequest);
}
/**
*
* This is a variant of
* {@link #describeReplicationTaskAssessmentRuns(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsIterable responses = client.describeReplicationTaskAssessmentRunsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsIterable responses = client
* .describeReplicationTaskAssessmentRunsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsIterable responses = client.describeReplicationTaskAssessmentRunsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTaskAssessmentRuns
* @see AWS API Documentation
*/
default DescribeReplicationTaskAssessmentRunsIterable describeReplicationTaskAssessmentRunsPaginator(
Consumer describeReplicationTaskAssessmentRunsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeReplicationTaskIndividualAssessments operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTaskIndividualAssessments
* @see AWS API Documentation
*/
default DescribeReplicationTaskIndividualAssessmentsResponse describeReplicationTaskIndividualAssessments(
DescribeReplicationTaskIndividualAssessmentsRequest describeReplicationTaskIndividualAssessmentsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeReplicationTaskIndividualAssessments operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTaskIndividualAssessments
* @see AWS API Documentation
*/
default DescribeReplicationTaskIndividualAssessmentsResponse describeReplicationTaskIndividualAssessments(
Consumer describeReplicationTaskIndividualAssessmentsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationTaskIndividualAssessments(DescribeReplicationTaskIndividualAssessmentsRequest.builder()
.applyMutation(describeReplicationTaskIndividualAssessmentsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeReplicationTaskIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsIterable responses = client.describeReplicationTaskIndividualAssessmentsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsIterable responses = client
* .describeReplicationTaskIndividualAssessmentsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsIterable responses = client.describeReplicationTaskIndividualAssessmentsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTaskIndividualAssessments
* @see AWS API Documentation
*/
default DescribeReplicationTaskIndividualAssessmentsIterable describeReplicationTaskIndividualAssessmentsPaginator(
DescribeReplicationTaskIndividualAssessmentsRequest describeReplicationTaskIndividualAssessmentsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeReplicationTaskIndividualAssessmentsIterable(this, describeReplicationTaskIndividualAssessmentsRequest);
}
/**
*
* This is a variant of
* {@link #describeReplicationTaskIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsIterable responses = client.describeReplicationTaskIndividualAssessmentsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsIterable responses = client
* .describeReplicationTaskIndividualAssessmentsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsIterable responses = client.describeReplicationTaskIndividualAssessmentsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTaskIndividualAssessments
* @see AWS API Documentation
*/
default DescribeReplicationTaskIndividualAssessmentsIterable describeReplicationTaskIndividualAssessmentsPaginator(
Consumer describeReplicationTaskIndividualAssessmentsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationTaskIndividualAssessmentsPaginator(DescribeReplicationTaskIndividualAssessmentsRequest
.builder().applyMutation(describeReplicationTaskIndividualAssessmentsRequest).build());
}
/**
*
* Returns information about replication tasks for your account in the current region.
*
*
* @param describeReplicationTasksRequest
* @return Result of the DescribeReplicationTasks operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTasks
* @see AWS
* API Documentation
*/
default DescribeReplicationTasksResponse describeReplicationTasks(
DescribeReplicationTasksRequest describeReplicationTasksRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeReplicationTasks operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTasks
* @see AWS
* API Documentation
*/
default DescribeReplicationTasksResponse describeReplicationTasks(
Consumer describeReplicationTasksRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationTasks(DescribeReplicationTasksRequest.builder().applyMutation(describeReplicationTasksRequest)
.build());
}
/**
*
* Returns information about replication tasks for your account in the current region.
*
*
* @return Result of the DescribeReplicationTasks operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTasks
* @see #describeReplicationTasks(DescribeReplicationTasksRequest)
* @see AWS
* API Documentation
*/
default DescribeReplicationTasksResponse describeReplicationTasks() throws ResourceNotFoundException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return describeReplicationTasks(DescribeReplicationTasksRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksIterable responses = client.describeReplicationTasksPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksIterable responses = client
* .describeReplicationTasksPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksIterable responses = client.describeReplicationTasksPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 #describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)}
* operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTasks
* @see #describeReplicationTasksPaginator(DescribeReplicationTasksRequest)
* @see AWS
* API Documentation
*/
default DescribeReplicationTasksIterable describeReplicationTasksPaginator() throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationTasksPaginator(DescribeReplicationTasksRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksIterable responses = client.describeReplicationTasksPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksIterable responses = client
* .describeReplicationTasksPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksIterable responses = client.describeReplicationTasksPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 #describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)}
* operation.
*
*
* @param describeReplicationTasksRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTasks
* @see AWS
* API Documentation
*/
default DescribeReplicationTasksIterable describeReplicationTasksPaginator(
DescribeReplicationTasksRequest describeReplicationTasksRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeReplicationTasksIterable(this, describeReplicationTasksRequest);
}
/**
*
* This is a variant of
* {@link #describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksIterable responses = client.describeReplicationTasksPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksIterable responses = client
* .describeReplicationTasksPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksIterable responses = client.describeReplicationTasksPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 #describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)}
* operation.
*
*
*
* 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 custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTasks
* @see AWS
* API Documentation
*/
default DescribeReplicationTasksIterable describeReplicationTasksPaginator(
Consumer describeReplicationTasksRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationTasksPaginator(DescribeReplicationTasksRequest.builder()
.applyMutation(describeReplicationTasksRequest).build());
}
/**
*
* Provides details on replication progress by returning status information for one or more provisioned DMS
* Serverless replications.
*
*
* @param describeReplicationsRequest
* @return Result of the DescribeReplications operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplications
* @see AWS API
* Documentation
*/
default DescribeReplicationsResponse describeReplications(DescribeReplicationsRequest describeReplicationsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Provides details on replication progress by returning status information for one or more provisioned DMS
* Serverless replications.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeReplicationsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeReplicationsRequest#builder()}
*
*
* @param describeReplicationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsRequest.Builder} to
* create a request.
* @return Result of the DescribeReplications operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplications
* @see AWS API
* Documentation
*/
default DescribeReplicationsResponse describeReplications(
Consumer describeReplicationsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplications(DescribeReplicationsRequest.builder().applyMutation(describeReplicationsRequest).build());
}
/**
*
* This is a variant of
* {@link #describeReplications(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationsIterable responses = client.describeReplicationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationsIterable responses = client
* .describeReplicationsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationsIterable responses = client.describeReplicationsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 #describeReplications(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsRequest)}
* operation.
*
*
* @param describeReplicationsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplications
* @see AWS API
* Documentation
*/
default DescribeReplicationsIterable describeReplicationsPaginator(DescribeReplicationsRequest describeReplicationsRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return new DescribeReplicationsIterable(this, describeReplicationsRequest);
}
/**
*
* This is a variant of
* {@link #describeReplications(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationsIterable responses = client.describeReplicationsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationsIterable responses = client
* .describeReplicationsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationsIterable responses = client.describeReplicationsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 #describeReplications(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeReplicationsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeReplicationsRequest#builder()}
*
*
* @param describeReplicationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsRequest.Builder} to
* create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplications
* @see AWS API
* Documentation
*/
default DescribeReplicationsIterable describeReplicationsPaginator(
Consumer describeReplicationsRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationsPaginator(DescribeReplicationsRequest.builder().applyMutation(describeReplicationsRequest)
.build());
}
/**
*
* Returns information about the schema for the specified endpoint.
*
*
*
* @param describeSchemasRequest
* @return Result of the DescribeSchemas operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeSchemas
* @see AWS API
* Documentation
*/
default DescribeSchemasResponse describeSchemas(DescribeSchemasRequest describeSchemasRequest)
throws InvalidResourceStateException, ResourceNotFoundException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the schema for the specified endpoint.
*
*
*
*
* This is a convenience which creates an instance of the {@link DescribeSchemasRequest.Builder} avoiding the need
* to create one manually via {@link DescribeSchemasRequest#builder()}
*
*
* @param describeSchemasRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest.Builder} to create a
* request.
* @return Result of the DescribeSchemas operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeSchemas
* @see AWS API
* Documentation
*/
default DescribeSchemasResponse describeSchemas(Consumer describeSchemasRequest)
throws InvalidResourceStateException, ResourceNotFoundException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeSchemas(DescribeSchemasRequest.builder().applyMutation(describeSchemasRequest).build());
}
/**
*
* This is a variant of
* {@link #describeSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasIterable responses = client.describeSchemasPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasIterable responses = client
* .describeSchemasPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeSchemasResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasIterable responses = client.describeSchemasPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 #describeSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest)}
* operation.
*
*
* @param describeSchemasRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeSchemas
* @see AWS API
* Documentation
*/
default DescribeSchemasIterable describeSchemasPaginator(DescribeSchemasRequest describeSchemasRequest)
throws InvalidResourceStateException, ResourceNotFoundException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return new DescribeSchemasIterable(this, describeSchemasRequest);
}
/**
*
* This is a variant of
* {@link #describeSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasIterable responses = client.describeSchemasPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasIterable responses = client
* .describeSchemasPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeSchemasResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasIterable responses = client.describeSchemasPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 #describeSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeSchemasRequest.Builder} avoiding the need
* to create one manually via {@link DescribeSchemasRequest#builder()}
*
*
* @param describeSchemasRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeSchemas
* @see AWS API
* Documentation
*/
default DescribeSchemasIterable describeSchemasPaginator(Consumer describeSchemasRequest)
throws InvalidResourceStateException, ResourceNotFoundException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeSchemasPaginator(DescribeSchemasRequest.builder().applyMutation(describeSchemasRequest).build());
}
/**
*
* Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and
* rows deleted.
*
*
* Note that the "last updated" column the DMS console only indicates the time that DMS last updated the table
* statistics record for a table. It does not indicate the time of the last update to the table.
*
*
* @param describeTableStatisticsRequest
* @return Result of the DescribeTableStatistics operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeTableStatistics
* @see AWS
* API Documentation
*/
default DescribeTableStatisticsResponse describeTableStatistics(DescribeTableStatisticsRequest describeTableStatisticsRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AccessDeniedException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and
* rows deleted.
*
*
* Note that the "last updated" column the DMS console only indicates the time that DMS last updated the table
* statistics record for a table. It does not indicate the time of the last update to the table.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeTableStatisticsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeTableStatisticsRequest#builder()}
*
*
* @param describeTableStatisticsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest.Builder} to
* create a request.
* @return Result of the DescribeTableStatistics operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeTableStatistics
* @see AWS
* API Documentation
*/
default DescribeTableStatisticsResponse describeTableStatistics(
Consumer describeTableStatisticsRequest) throws ResourceNotFoundException,
InvalidResourceStateException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeTableStatistics(DescribeTableStatisticsRequest.builder().applyMutation(describeTableStatisticsRequest)
.build());
}
/**
*
* This is a variant of
* {@link #describeTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsIterable responses = client.describeTableStatisticsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsIterable responses = client
* .describeTableStatisticsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsIterable responses = client.describeTableStatisticsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 #describeTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest)}
* operation.
*
*
* @param describeTableStatisticsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeTableStatistics
* @see AWS
* API Documentation
*/
default DescribeTableStatisticsIterable describeTableStatisticsPaginator(
DescribeTableStatisticsRequest describeTableStatisticsRequest) throws ResourceNotFoundException,
InvalidResourceStateException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return new DescribeTableStatisticsIterable(this, describeTableStatisticsRequest);
}
/**
*
* This is a variant of
* {@link #describeTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsIterable responses = client.describeTableStatisticsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsIterable responses = client
* .describeTableStatisticsPaginator(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsIterable responses = client.describeTableStatisticsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* 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 #describeTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeTableStatisticsRequest.Builder} avoiding
* the need to create one manually via {@link DescribeTableStatisticsRequest#builder()}
*
*
* @param describeTableStatisticsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest.Builder} to
* create a request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeTableStatistics
* @see AWS
* API Documentation
*/
default DescribeTableStatisticsIterable describeTableStatisticsPaginator(
Consumer describeTableStatisticsRequest) throws ResourceNotFoundException,
InvalidResourceStateException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return describeTableStatisticsPaginator(DescribeTableStatisticsRequest.builder()
.applyMutation(describeTableStatisticsRequest).build());
}
/**
*
* Saves a copy of a database migration assessment report to your Amazon S3 bucket. DMS can save your assessment
* report as a comma-separated value (CSV) or a PDF file.
*
*
* @param exportMetadataModelAssessmentRequest
* @return Result of the ExportMetadataModelAssessment operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ExportMetadataModelAssessment
* @see AWS API Documentation
*/
default ExportMetadataModelAssessmentResponse exportMetadataModelAssessment(
ExportMetadataModelAssessmentRequest exportMetadataModelAssessmentRequest) throws ResourceNotFoundException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Saves a copy of a database migration assessment report to your Amazon S3 bucket. DMS can save your assessment
* report as a comma-separated value (CSV) or a PDF file.
*
*
*
* This is a convenience which creates an instance of the {@link ExportMetadataModelAssessmentRequest.Builder}
* avoiding the need to create one manually via {@link ExportMetadataModelAssessmentRequest#builder()}
*
*
* @param exportMetadataModelAssessmentRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ExportMetadataModelAssessmentRequest.Builder}
* to create a request.
* @return Result of the ExportMetadataModelAssessment operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ExportMetadataModelAssessment
* @see AWS API Documentation
*/
default ExportMetadataModelAssessmentResponse exportMetadataModelAssessment(
Consumer exportMetadataModelAssessmentRequest)
throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return exportMetadataModelAssessment(ExportMetadataModelAssessmentRequest.builder()
.applyMutation(exportMetadataModelAssessmentRequest).build());
}
/**
*
* Uploads the specified certificate.
*
*
* @param importCertificateRequest
* @return Result of the ImportCertificate operation returned by the service.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws InvalidCertificateException
* The certificate was not valid.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ImportCertificate
* @see AWS API
* Documentation
*/
default ImportCertificateResponse importCertificate(ImportCertificateRequest importCertificateRequest)
throws ResourceAlreadyExistsException, InvalidCertificateException, ResourceQuotaExceededException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Uploads the specified certificate.
*
*
*
* This is a convenience which creates an instance of the {@link ImportCertificateRequest.Builder} avoiding the need
* to create one manually via {@link ImportCertificateRequest#builder()}
*
*
* @param importCertificateRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ImportCertificateRequest.Builder} to create
* a request.
* @return Result of the ImportCertificate operation returned by the service.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws InvalidCertificateException
* The certificate was not valid.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ImportCertificate
* @see AWS API
* Documentation
*/
default ImportCertificateResponse importCertificate(Consumer importCertificateRequest)
throws ResourceAlreadyExistsException, InvalidCertificateException, ResourceQuotaExceededException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return importCertificate(ImportCertificateRequest.builder().applyMutation(importCertificateRequest).build());
}
/**
*
* Lists all metadata tags attached to an DMS resource, including replication instance, endpoint, subnet group, and
* migration task. For more information, see Tag
data type
* description.
*
*
* @param listTagsForResourceRequest
* @return Result of the ListTagsForResource operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ListTagsForResource
* @see AWS API
* Documentation
*/
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all metadata tags attached to an DMS resource, including replication instance, endpoint, subnet group, and
* migration task. For more information, see Tag
data type
* description.
*
*
*
* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourceRequest#builder()}
*
*
* @param listTagsForResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ListTagsForResourceRequest.Builder} to
* create a request.
* @return Result of the ListTagsForResource operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ListTagsForResource
* @see AWS API
* Documentation
*/
default ListTagsForResourceResponse listTagsForResource(
Consumer listTagsForResourceRequest) throws ResourceNotFoundException,
InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* Modifies the specified schema conversion configuration using the provided parameters.
*
*
* @param modifyConversionConfigurationRequest
* @return Result of the ModifyConversionConfiguration operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyConversionConfiguration
* @see AWS API Documentation
*/
default ModifyConversionConfigurationResponse modifyConversionConfiguration(
ModifyConversionConfigurationRequest modifyConversionConfigurationRequest) throws ResourceNotFoundException,
InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the specified schema conversion configuration using the provided parameters.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyConversionConfigurationRequest.Builder}
* avoiding the need to create one manually via {@link ModifyConversionConfigurationRequest#builder()}
*
*
* @param modifyConversionConfigurationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ModifyConversionConfigurationRequest.Builder}
* to create a request.
* @return Result of the ModifyConversionConfiguration operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyConversionConfiguration
* @see AWS API Documentation
*/
default ModifyConversionConfigurationResponse modifyConversionConfiguration(
Consumer modifyConversionConfigurationRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return modifyConversionConfiguration(ModifyConversionConfigurationRequest.builder()
.applyMutation(modifyConversionConfigurationRequest).build());
}
/**
*
* Modifies an existing DMS data migration.
*
*
* @param modifyDataMigrationRequest
* @return Result of the ModifyDataMigration operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyDataMigration
* @see AWS API
* Documentation
*/
default ModifyDataMigrationResponse modifyDataMigration(ModifyDataMigrationRequest modifyDataMigrationRequest)
throws InvalidResourceStateException, ResourceNotFoundException, FailedDependencyException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies an existing DMS data migration.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyDataMigrationRequest.Builder} avoiding the
* need to create one manually via {@link ModifyDataMigrationRequest#builder()}
*
*
* @param modifyDataMigrationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ModifyDataMigrationRequest.Builder} to
* create a request.
* @return Result of the ModifyDataMigration operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyDataMigration
* @see AWS API
* Documentation
*/
default ModifyDataMigrationResponse modifyDataMigration(
Consumer modifyDataMigrationRequest) throws InvalidResourceStateException,
ResourceNotFoundException, FailedDependencyException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return modifyDataMigration(ModifyDataMigrationRequest.builder().applyMutation(modifyDataMigrationRequest).build());
}
/**
*
* Modifies the specified data provider using the provided settings.
*
*
*
* You must remove the data provider from all migration projects before you can modify it.
*
*
*
* @param modifyDataProviderRequest
* @return Result of the ModifyDataProvider operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyDataProvider
* @see AWS API
* Documentation
*/
default ModifyDataProviderResponse modifyDataProvider(ModifyDataProviderRequest modifyDataProviderRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, FailedDependencyException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the specified data provider using the provided settings.
*
*
*
* You must remove the data provider from all migration projects before you can modify it.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyDataProviderRequest.Builder} avoiding the
* need to create one manually via {@link ModifyDataProviderRequest#builder()}
*
*
* @param modifyDataProviderRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ModifyDataProviderRequest.Builder} to
* create a request.
* @return Result of the ModifyDataProvider operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyDataProvider
* @see AWS API
* Documentation
*/
default ModifyDataProviderResponse modifyDataProvider(Consumer modifyDataProviderRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, FailedDependencyException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return modifyDataProvider(ModifyDataProviderRequest.builder().applyMutation(modifyDataProviderRequest).build());
}
/**
*
* Modifies the specified endpoint.
*
*
*
* For a MySQL source or target endpoint, don't explicitly specify the database using the DatabaseName
* request parameter on the ModifyEndpoint
API call. Specifying DatabaseName
when you
* modify a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify
* the database only when you specify the schema in the table-mapping rules of the DMS task.
*
*
*
* @param modifyEndpointRequest
* @return Result of the ModifyEndpoint operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyEndpoint
* @see AWS API
* Documentation
*/
default ModifyEndpointResponse modifyEndpoint(ModifyEndpointRequest modifyEndpointRequest)
throws InvalidResourceStateException, ResourceNotFoundException, ResourceAlreadyExistsException,
KmsKeyNotAccessibleException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the specified endpoint.
*
*
*
* For a MySQL source or target endpoint, don't explicitly specify the database using the DatabaseName
* request parameter on the ModifyEndpoint
API call. Specifying DatabaseName
when you
* modify a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify
* the database only when you specify the schema in the table-mapping rules of the DMS task.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyEndpointRequest.Builder} avoiding the need to
* create one manually via {@link ModifyEndpointRequest#builder()}
*
*
* @param modifyEndpointRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ModifyEndpointRequest.Builder} to create a
* request.
* @return Result of the ModifyEndpoint operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyEndpoint
* @see AWS API
* Documentation
*/
default ModifyEndpointResponse modifyEndpoint(Consumer modifyEndpointRequest)
throws InvalidResourceStateException, ResourceNotFoundException, ResourceAlreadyExistsException,
KmsKeyNotAccessibleException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return modifyEndpoint(ModifyEndpointRequest.builder().applyMutation(modifyEndpointRequest).build());
}
/**
*
* Modifies an existing DMS event notification subscription.
*
*
* @param modifyEventSubscriptionRequest
* @return Result of the ModifyEventSubscription operation returned by the service.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SnsInvalidTopicException
* The SNS topic is invalid.
* @throws SnsNoAuthorizationException
* You are not authorized for the SNS subscription.
* @throws KmsAccessDeniedException
* The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
* @throws KmsDisabledException
* The specified KMS key isn't enabled.
* @throws KmsInvalidStateException
* The state of the specified KMS resource isn't valid for this request.
* @throws KmsNotFoundException
* The specified KMS entity or resource can't be found.
* @throws KmsThrottlingException
* This request triggered KMS request throttling.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyEventSubscription
* @see AWS
* API Documentation
*/
default ModifyEventSubscriptionResponse modifyEventSubscription(ModifyEventSubscriptionRequest modifyEventSubscriptionRequest)
throws ResourceQuotaExceededException, ResourceNotFoundException, SnsInvalidTopicException,
SnsNoAuthorizationException, KmsAccessDeniedException, KmsDisabledException, KmsInvalidStateException,
KmsNotFoundException, KmsThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies an existing DMS event notification subscription.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyEventSubscriptionRequest.Builder} avoiding
* the need to create one manually via {@link ModifyEventSubscriptionRequest#builder()}
*
*
* @param modifyEventSubscriptionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ModifyEventSubscriptionRequest.Builder} to
* create a request.
* @return Result of the ModifyEventSubscription operation returned by the service.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SnsInvalidTopicException
* The SNS topic is invalid.
* @throws SnsNoAuthorizationException
* You are not authorized for the SNS subscription.
* @throws KmsAccessDeniedException
* The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
* @throws KmsDisabledException
* The specified KMS key isn't enabled.
* @throws KmsInvalidStateException
* The state of the specified KMS resource isn't valid for this request.
* @throws KmsNotFoundException
* The specified KMS entity or resource can't be found.
* @throws KmsThrottlingException
* This request triggered KMS request throttling.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyEventSubscription
* @see AWS
* API Documentation
*/
default ModifyEventSubscriptionResponse modifyEventSubscription(
Consumer modifyEventSubscriptionRequest)
throws ResourceQuotaExceededException, ResourceNotFoundException, SnsInvalidTopicException,
SnsNoAuthorizationException, KmsAccessDeniedException, KmsDisabledException, KmsInvalidStateException,
KmsNotFoundException, KmsThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return modifyEventSubscription(ModifyEventSubscriptionRequest.builder().applyMutation(modifyEventSubscriptionRequest)
.build());
}
/**
*
* Modifies the specified instance profile using the provided parameters.
*
*
*
* All migration projects associated with the instance profile must be deleted or modified before you can modify the
* instance profile.
*
*
*
* @param modifyInstanceProfileRequest
* @return Result of the ModifyInstanceProfile operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyInstanceProfile
* @see AWS API
* Documentation
*/
default ModifyInstanceProfileResponse modifyInstanceProfile(ModifyInstanceProfileRequest modifyInstanceProfileRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, KmsKeyNotAccessibleException,
S3ResourceNotFoundException, S3AccessDeniedException, FailedDependencyException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the specified instance profile using the provided parameters.
*
*
*
* All migration projects associated with the instance profile must be deleted or modified before you can modify the
* instance profile.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyInstanceProfileRequest.Builder} avoiding the
* need to create one manually via {@link ModifyInstanceProfileRequest#builder()}
*
*
* @param modifyInstanceProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ModifyInstanceProfileRequest.Builder} to
* create a request.
* @return Result of the ModifyInstanceProfile operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyInstanceProfile
* @see AWS API
* Documentation
*/
default ModifyInstanceProfileResponse modifyInstanceProfile(
Consumer modifyInstanceProfileRequest) throws AccessDeniedException,
ResourceNotFoundException, InvalidResourceStateException, KmsKeyNotAccessibleException, S3ResourceNotFoundException,
S3AccessDeniedException, FailedDependencyException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return modifyInstanceProfile(ModifyInstanceProfileRequest.builder().applyMutation(modifyInstanceProfileRequest).build());
}
/**
*
* Modifies the specified migration project using the provided parameters.
*
*
*
* The migration project must be closed before you can modify it.
*
*
*
* @param modifyMigrationProjectRequest
* @return Result of the ModifyMigrationProject operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyMigrationProject
* @see AWS
* API Documentation
*/
default ModifyMigrationProjectResponse modifyMigrationProject(ModifyMigrationProjectRequest modifyMigrationProjectRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, S3ResourceNotFoundException,
S3AccessDeniedException, FailedDependencyException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the specified migration project using the provided parameters.
*
*
*
* The migration project must be closed before you can modify it.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyMigrationProjectRequest.Builder} avoiding the
* need to create one manually via {@link ModifyMigrationProjectRequest#builder()}
*
*
* @param modifyMigrationProjectRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ModifyMigrationProjectRequest.Builder} to
* create a request.
* @return Result of the ModifyMigrationProject operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyMigrationProject
* @see AWS
* API Documentation
*/
default ModifyMigrationProjectResponse modifyMigrationProject(
Consumer modifyMigrationProjectRequest) throws AccessDeniedException,
ResourceNotFoundException, InvalidResourceStateException, S3ResourceNotFoundException, S3AccessDeniedException,
FailedDependencyException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return modifyMigrationProject(ModifyMigrationProjectRequest.builder().applyMutation(modifyMigrationProjectRequest)
.build());
}
/**
*
* Modifies an existing DMS Serverless replication configuration that you can use to start a replication. This
* command includes input validation and logic to check the state of any replication that uses this configuration.
* You can only modify a replication configuration before any replication that uses it has started. As soon as you
* have initially started a replication with a given configuiration, you can't modify that configuration, even if
* you stop it.
*
*
* Other run statuses that allow you to run this command include FAILED and CREATED. A provisioning state that
* allows you to run this command is FAILED_PROVISION.
*
*
* @param modifyReplicationConfigRequest
* @return Result of the ModifyReplicationConfig operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ReplicationSubnetGroupDoesNotCoverEnoughAZsException
* The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
* group and add more AZs.
* @throws InvalidSubnetException
* The subnet provided isn't valid.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyReplicationConfig
* @see AWS
* API Documentation
*/
default ModifyReplicationConfigResponse modifyReplicationConfig(ModifyReplicationConfigRequest modifyReplicationConfigRequest)
throws AccessDeniedException, ResourceNotFoundException, ReplicationSubnetGroupDoesNotCoverEnoughAZsException,
InvalidSubnetException, KmsKeyNotAccessibleException, InvalidResourceStateException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies an existing DMS Serverless replication configuration that you can use to start a replication. This
* command includes input validation and logic to check the state of any replication that uses this configuration.
* You can only modify a replication configuration before any replication that uses it has started. As soon as you
* have initially started a replication with a given configuiration, you can't modify that configuration, even if
* you stop it.
*
*
* Other run statuses that allow you to run this command include FAILED and CREATED. A provisioning state that
* allows you to run this command is FAILED_PROVISION.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyReplicationConfigRequest.Builder} avoiding
* the need to create one manually via {@link ModifyReplicationConfigRequest#builder()}
*
*
* @param modifyReplicationConfigRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ModifyReplicationConfigRequest.Builder} to
* create a request.
* @return Result of the ModifyReplicationConfig operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ReplicationSubnetGroupDoesNotCoverEnoughAZsException
* The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
* group and add more AZs.
* @throws InvalidSubnetException
* The subnet provided isn't valid.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyReplicationConfig
* @see AWS
* API Documentation
*/
default ModifyReplicationConfigResponse modifyReplicationConfig(
Consumer modifyReplicationConfigRequest) throws AccessDeniedException,
ResourceNotFoundException, ReplicationSubnetGroupDoesNotCoverEnoughAZsException, InvalidSubnetException,
KmsKeyNotAccessibleException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return modifyReplicationConfig(ModifyReplicationConfigRequest.builder().applyMutation(modifyReplicationConfigRequest)
.build());
}
/**
*
* Modifies the replication instance to apply new settings. You can change one or more parameters by specifying
* these parameters and the new values in the request.
*
*
* Some settings are applied during the maintenance window.
*
*
*
* @param modifyReplicationInstanceRequest
* @return Result of the ModifyReplicationInstance operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InsufficientResourceCapacityException
* There are not enough resources allocated to the database migration.
* @throws StorageQuotaExceededException
* The storage quota has been exceeded.
* @throws UpgradeDependencyFailureException
* An upgrade dependency is preventing the database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyReplicationInstance
* @see AWS
* API Documentation
*/
default ModifyReplicationInstanceResponse modifyReplicationInstance(
ModifyReplicationInstanceRequest modifyReplicationInstanceRequest) throws AccessDeniedException,
InvalidResourceStateException, ResourceAlreadyExistsException, ResourceNotFoundException,
InsufficientResourceCapacityException, StorageQuotaExceededException, UpgradeDependencyFailureException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the replication instance to apply new settings. You can change one or more parameters by specifying
* these parameters and the new values in the request.
*
*
* Some settings are applied during the maintenance window.
*
*
*
*
* This is a convenience which creates an instance of the {@link ModifyReplicationInstanceRequest.Builder} avoiding
* the need to create one manually via {@link ModifyReplicationInstanceRequest#builder()}
*
*
* @param modifyReplicationInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ModifyReplicationInstanceRequest.Builder}
* to create a request.
* @return Result of the ModifyReplicationInstance operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InsufficientResourceCapacityException
* There are not enough resources allocated to the database migration.
* @throws StorageQuotaExceededException
* The storage quota has been exceeded.
* @throws UpgradeDependencyFailureException
* An upgrade dependency is preventing the database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyReplicationInstance
* @see AWS
* API Documentation
*/
default ModifyReplicationInstanceResponse modifyReplicationInstance(
Consumer modifyReplicationInstanceRequest) throws AccessDeniedException,
InvalidResourceStateException, ResourceAlreadyExistsException, ResourceNotFoundException,
InsufficientResourceCapacityException, StorageQuotaExceededException, UpgradeDependencyFailureException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return modifyReplicationInstance(ModifyReplicationInstanceRequest.builder()
.applyMutation(modifyReplicationInstanceRequest).build());
}
/**
*
* Modifies the settings for the specified replication subnet group.
*
*
* @param modifyReplicationSubnetGroupRequest
* @return Result of the ModifyReplicationSubnetGroup operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SubnetAlreadyInUseException
* The specified subnet is already in use.
* @throws ReplicationSubnetGroupDoesNotCoverEnoughAZsException
* The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
* group and add more AZs.
* @throws InvalidSubnetException
* The subnet provided isn't valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyReplicationSubnetGroup
* @see AWS API Documentation
*/
default ModifyReplicationSubnetGroupResponse modifyReplicationSubnetGroup(
ModifyReplicationSubnetGroupRequest modifyReplicationSubnetGroupRequest) throws AccessDeniedException,
ResourceNotFoundException, ResourceQuotaExceededException, SubnetAlreadyInUseException,
ReplicationSubnetGroupDoesNotCoverEnoughAZsException, InvalidSubnetException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the settings for the specified replication subnet group.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyReplicationSubnetGroupRequest.Builder}
* avoiding the need to create one manually via {@link ModifyReplicationSubnetGroupRequest#builder()}
*
*
* @param modifyReplicationSubnetGroupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ModifyReplicationSubnetGroupRequest.Builder}
* to create a request.
* @return Result of the ModifyReplicationSubnetGroup operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SubnetAlreadyInUseException
* The specified subnet is already in use.
* @throws ReplicationSubnetGroupDoesNotCoverEnoughAZsException
* The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
* group and add more AZs.
* @throws InvalidSubnetException
* The subnet provided isn't valid.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyReplicationSubnetGroup
* @see AWS API Documentation
*/
default ModifyReplicationSubnetGroupResponse modifyReplicationSubnetGroup(
Consumer modifyReplicationSubnetGroupRequest)
throws AccessDeniedException, ResourceNotFoundException, ResourceQuotaExceededException, SubnetAlreadyInUseException,
ReplicationSubnetGroupDoesNotCoverEnoughAZsException, InvalidSubnetException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return modifyReplicationSubnetGroup(ModifyReplicationSubnetGroupRequest.builder()
.applyMutation(modifyReplicationSubnetGroupRequest).build());
}
/**
*
* Modifies the specified replication task.
*
*
* You can't modify the task endpoints. The task must be stopped before you can modify it.
*
*
* For more information about DMS tasks, see Working with Migration Tasks in the
* Database Migration Service User Guide.
*
*
* @param modifyReplicationTaskRequest
* @return Result of the ModifyReplicationTask operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyReplicationTask
* @see AWS API
* Documentation
*/
default ModifyReplicationTaskResponse modifyReplicationTask(ModifyReplicationTaskRequest modifyReplicationTaskRequest)
throws InvalidResourceStateException, ResourceNotFoundException, ResourceAlreadyExistsException,
KmsKeyNotAccessibleException, AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the specified replication task.
*
*
* You can't modify the task endpoints. The task must be stopped before you can modify it.
*
*
* For more information about DMS tasks, see Working with Migration Tasks in the
* Database Migration Service User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link ModifyReplicationTaskRequest.Builder} avoiding the
* need to create one manually via {@link ModifyReplicationTaskRequest#builder()}
*
*
* @param modifyReplicationTaskRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ModifyReplicationTaskRequest.Builder} to
* create a request.
* @return Result of the ModifyReplicationTask operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyReplicationTask
* @see AWS API
* Documentation
*/
default ModifyReplicationTaskResponse modifyReplicationTask(
Consumer modifyReplicationTaskRequest) throws InvalidResourceStateException,
ResourceNotFoundException, ResourceAlreadyExistsException, KmsKeyNotAccessibleException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return modifyReplicationTask(ModifyReplicationTaskRequest.builder().applyMutation(modifyReplicationTaskRequest).build());
}
/**
*
* Moves a replication task from its current replication instance to a different target replication instance using
* the specified parameters. The target replication instance must be created with the same or later DMS version as
* the current replication instance.
*
*
* @param moveReplicationTaskRequest
* @return Result of the MoveReplicationTask operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.MoveReplicationTask
* @see AWS API
* Documentation
*/
default MoveReplicationTaskResponse moveReplicationTask(MoveReplicationTaskRequest moveReplicationTaskRequest)
throws AccessDeniedException, InvalidResourceStateException, ResourceNotFoundException, KmsKeyNotAccessibleException,
ResourceQuotaExceededException, AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Moves a replication task from its current replication instance to a different target replication instance using
* the specified parameters. The target replication instance must be created with the same or later DMS version as
* the current replication instance.
*
*
*
* This is a convenience which creates an instance of the {@link MoveReplicationTaskRequest.Builder} avoiding the
* need to create one manually via {@link MoveReplicationTaskRequest#builder()}
*
*
* @param moveReplicationTaskRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.MoveReplicationTaskRequest.Builder} to
* create a request.
* @return Result of the MoveReplicationTask operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.MoveReplicationTask
* @see AWS API
* Documentation
*/
default MoveReplicationTaskResponse moveReplicationTask(
Consumer moveReplicationTaskRequest) throws AccessDeniedException,
InvalidResourceStateException, ResourceNotFoundException, KmsKeyNotAccessibleException,
ResourceQuotaExceededException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return moveReplicationTask(MoveReplicationTaskRequest.builder().applyMutation(moveReplicationTaskRequest).build());
}
/**
*
* Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes
* available again.
*
*
* @param rebootReplicationInstanceRequest
* @return Result of the RebootReplicationInstance operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.RebootReplicationInstance
* @see AWS
* API Documentation
*/
default RebootReplicationInstanceResponse rebootReplicationInstance(
RebootReplicationInstanceRequest rebootReplicationInstanceRequest) throws ResourceNotFoundException,
InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes
* available again.
*
*
*
* This is a convenience which creates an instance of the {@link RebootReplicationInstanceRequest.Builder} avoiding
* the need to create one manually via {@link RebootReplicationInstanceRequest#builder()}
*
*
* @param rebootReplicationInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.RebootReplicationInstanceRequest.Builder}
* to create a request.
* @return Result of the RebootReplicationInstance operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.RebootReplicationInstance
* @see AWS
* API Documentation
*/
default RebootReplicationInstanceResponse rebootReplicationInstance(
Consumer rebootReplicationInstanceRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return rebootReplicationInstance(RebootReplicationInstanceRequest.builder()
.applyMutation(rebootReplicationInstanceRequest).build());
}
/**
*
* Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes.
* You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation.
*
*
* @param refreshSchemasRequest
* @return Result of the RefreshSchemas operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.RefreshSchemas
* @see AWS API
* Documentation
*/
default RefreshSchemasResponse refreshSchemas(RefreshSchemasRequest refreshSchemasRequest)
throws InvalidResourceStateException, ResourceNotFoundException, KmsKeyNotAccessibleException,
ResourceQuotaExceededException, AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes.
* You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation.
*
*
*
* This is a convenience which creates an instance of the {@link RefreshSchemasRequest.Builder} avoiding the need to
* create one manually via {@link RefreshSchemasRequest#builder()}
*
*
* @param refreshSchemasRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.RefreshSchemasRequest.Builder} to create a
* request.
* @return Result of the RefreshSchemas operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.RefreshSchemas
* @see AWS API
* Documentation
*/
default RefreshSchemasResponse refreshSchemas(Consumer refreshSchemasRequest)
throws InvalidResourceStateException, ResourceNotFoundException, KmsKeyNotAccessibleException,
ResourceQuotaExceededException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return refreshSchemas(RefreshSchemasRequest.builder().applyMutation(refreshSchemasRequest).build());
}
/**
*
* Reloads the target database table with the source data for a given DMS Serverless replication configuration.
*
*
* You can only use this operation with a task in the RUNNING state, otherwise the service will throw an
* InvalidResourceStateFault
exception.
*
*
* @param reloadReplicationTablesRequest
* @return Result of the ReloadReplicationTables operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ReloadReplicationTables
* @see AWS
* API Documentation
*/
default ReloadReplicationTablesResponse reloadReplicationTables(ReloadReplicationTablesRequest reloadReplicationTablesRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Reloads the target database table with the source data for a given DMS Serverless replication configuration.
*
*
* You can only use this operation with a task in the RUNNING state, otherwise the service will throw an
* InvalidResourceStateFault
exception.
*
*
*
* This is a convenience which creates an instance of the {@link ReloadReplicationTablesRequest.Builder} avoiding
* the need to create one manually via {@link ReloadReplicationTablesRequest#builder()}
*
*
* @param reloadReplicationTablesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ReloadReplicationTablesRequest.Builder} to
* create a request.
* @return Result of the ReloadReplicationTables operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ReloadReplicationTables
* @see AWS
* API Documentation
*/
default ReloadReplicationTablesResponse reloadReplicationTables(
Consumer reloadReplicationTablesRequest) throws ResourceNotFoundException,
InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return reloadReplicationTables(ReloadReplicationTablesRequest.builder().applyMutation(reloadReplicationTablesRequest)
.build());
}
/**
*
* Reloads the target database table with the source data.
*
*
* You can only use this operation with a task in the RUNNING
state, otherwise the service will throw
* an InvalidResourceStateFault
exception.
*
*
* @param reloadTablesRequest
* @return Result of the ReloadTables operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ReloadTables
* @see AWS API
* Documentation
*/
default ReloadTablesResponse reloadTables(ReloadTablesRequest reloadTablesRequest) throws ResourceNotFoundException,
InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Reloads the target database table with the source data.
*
*
* You can only use this operation with a task in the RUNNING
state, otherwise the service will throw
* an InvalidResourceStateFault
exception.
*
*
*
* This is a convenience which creates an instance of the {@link ReloadTablesRequest.Builder} avoiding the need to
* create one manually via {@link ReloadTablesRequest#builder()}
*
*
* @param reloadTablesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.ReloadTablesRequest.Builder} to create a
* request.
* @return Result of the ReloadTables operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ReloadTables
* @see AWS API
* Documentation
*/
default ReloadTablesResponse reloadTables(Consumer reloadTablesRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return reloadTables(ReloadTablesRequest.builder().applyMutation(reloadTablesRequest).build());
}
/**
*
* Removes metadata tags from an DMS resource, including replication instance, endpoint, subnet group, and migration
* task. For more information, see
* Tag
data type description.
*
*
* @param removeTagsFromResourceRequest
* Removes one or more tags from an DMS resource.
* @return Result of the RemoveTagsFromResource operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.RemoveTagsFromResource
* @see AWS
* API Documentation
*/
default RemoveTagsFromResourceResponse removeTagsFromResource(RemoveTagsFromResourceRequest removeTagsFromResourceRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Removes metadata tags from an DMS resource, including replication instance, endpoint, subnet group, and migration
* task. For more information, see
* Tag
data type description.
*
*
*
* This is a convenience which creates an instance of the {@link RemoveTagsFromResourceRequest.Builder} avoiding the
* need to create one manually via {@link RemoveTagsFromResourceRequest#builder()}
*
*
* @param removeTagsFromResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.RemoveTagsFromResourceRequest.Builder} to
* create a request. Removes one or more tags from an DMS resource.
* @return Result of the RemoveTagsFromResource operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.RemoveTagsFromResource
* @see AWS
* API Documentation
*/
default RemoveTagsFromResourceResponse removeTagsFromResource(
Consumer removeTagsFromResourceRequest) throws ResourceNotFoundException,
InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return removeTagsFromResource(RemoveTagsFromResourceRequest.builder().applyMutation(removeTagsFromResourceRequest)
.build());
}
/**
*
* Runs large-scale assessment (LSA) analysis on every Fleet Advisor collector in your account.
*
*
* @param runFleetAdvisorLsaAnalysisRequest
* @return Result of the RunFleetAdvisorLsaAnalysis operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.RunFleetAdvisorLsaAnalysis
* @see AWS API Documentation
*/
default RunFleetAdvisorLsaAnalysisResponse runFleetAdvisorLsaAnalysis(
RunFleetAdvisorLsaAnalysisRequest runFleetAdvisorLsaAnalysisRequest) throws InvalidResourceStateException,
ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Runs large-scale assessment (LSA) analysis on every Fleet Advisor collector in your account.
*
*
*
* This is a convenience which creates an instance of the {@link RunFleetAdvisorLsaAnalysisRequest.Builder} avoiding
* the need to create one manually via {@link RunFleetAdvisorLsaAnalysisRequest#builder()}
*
*
* @param runFleetAdvisorLsaAnalysisRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.RunFleetAdvisorLsaAnalysisRequest.Builder}
* to create a request.
* @return Result of the RunFleetAdvisorLsaAnalysis operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.RunFleetAdvisorLsaAnalysis
* @see AWS API Documentation
*/
default RunFleetAdvisorLsaAnalysisResponse runFleetAdvisorLsaAnalysis(
Consumer runFleetAdvisorLsaAnalysisRequest)
throws InvalidResourceStateException, ResourceNotFoundException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return runFleetAdvisorLsaAnalysis(RunFleetAdvisorLsaAnalysisRequest.builder()
.applyMutation(runFleetAdvisorLsaAnalysisRequest).build());
}
/**
*
* Starts the specified data migration.
*
*
* @param startDataMigrationRequest
* @return Result of the StartDataMigration operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws InvalidOperationException
* The action or operation requested isn't valid.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartDataMigration
* @see AWS API
* Documentation
*/
default StartDataMigrationResponse startDataMigration(StartDataMigrationRequest startDataMigrationRequest)
throws InvalidResourceStateException, InvalidOperationException, ResourceNotFoundException,
ResourceQuotaExceededException, FailedDependencyException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Starts the specified data migration.
*
*
*
* This is a convenience which creates an instance of the {@link StartDataMigrationRequest.Builder} avoiding the
* need to create one manually via {@link StartDataMigrationRequest#builder()}
*
*
* @param startDataMigrationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StartDataMigrationRequest.Builder} to
* create a request.
* @return Result of the StartDataMigration operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws InvalidOperationException
* The action or operation requested isn't valid.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartDataMigration
* @see AWS API
* Documentation
*/
default StartDataMigrationResponse startDataMigration(Consumer startDataMigrationRequest)
throws InvalidResourceStateException, InvalidOperationException, ResourceNotFoundException,
ResourceQuotaExceededException, FailedDependencyException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return startDataMigration(StartDataMigrationRequest.builder().applyMutation(startDataMigrationRequest).build());
}
/**
*
* Applies the extension pack to your target database. An extension pack is an add-on module that emulates functions
* present in a source database that are required when converting objects to the target database.
*
*
* @param startExtensionPackAssociationRequest
* @return Result of the StartExtensionPackAssociation operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartExtensionPackAssociation
* @see AWS API Documentation
*/
default StartExtensionPackAssociationResponse startExtensionPackAssociation(
StartExtensionPackAssociationRequest startExtensionPackAssociationRequest) throws AccessDeniedException,
InvalidResourceStateException, ResourceAlreadyExistsException, ResourceNotFoundException,
KmsKeyNotAccessibleException, ResourceQuotaExceededException, S3ResourceNotFoundException, S3AccessDeniedException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Applies the extension pack to your target database. An extension pack is an add-on module that emulates functions
* present in a source database that are required when converting objects to the target database.
*
*
*
* This is a convenience which creates an instance of the {@link StartExtensionPackAssociationRequest.Builder}
* avoiding the need to create one manually via {@link StartExtensionPackAssociationRequest#builder()}
*
*
* @param startExtensionPackAssociationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StartExtensionPackAssociationRequest.Builder}
* to create a request.
* @return Result of the StartExtensionPackAssociation operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartExtensionPackAssociation
* @see AWS API Documentation
*/
default StartExtensionPackAssociationResponse startExtensionPackAssociation(
Consumer startExtensionPackAssociationRequest)
throws AccessDeniedException, InvalidResourceStateException, ResourceAlreadyExistsException,
ResourceNotFoundException, KmsKeyNotAccessibleException, ResourceQuotaExceededException, S3ResourceNotFoundException,
S3AccessDeniedException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return startExtensionPackAssociation(StartExtensionPackAssociationRequest.builder()
.applyMutation(startExtensionPackAssociationRequest).build());
}
/**
*
* Creates a database migration assessment report by assessing the migration complexity for your source database. A
* database migration assessment report summarizes all of the schema conversion tasks. It also details the action
* items for database objects that can't be converted to the database engine of your target database instance.
*
*
* @param startMetadataModelAssessmentRequest
* @return Result of the StartMetadataModelAssessment operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartMetadataModelAssessment
* @see AWS API Documentation
*/
default StartMetadataModelAssessmentResponse startMetadataModelAssessment(
StartMetadataModelAssessmentRequest startMetadataModelAssessmentRequest) throws AccessDeniedException,
InvalidResourceStateException, ResourceAlreadyExistsException, ResourceNotFoundException,
KmsKeyNotAccessibleException, ResourceQuotaExceededException, S3ResourceNotFoundException, S3AccessDeniedException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a database migration assessment report by assessing the migration complexity for your source database. A
* database migration assessment report summarizes all of the schema conversion tasks. It also details the action
* items for database objects that can't be converted to the database engine of your target database instance.
*
*
*
* This is a convenience which creates an instance of the {@link StartMetadataModelAssessmentRequest.Builder}
* avoiding the need to create one manually via {@link StartMetadataModelAssessmentRequest#builder()}
*
*
* @param startMetadataModelAssessmentRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StartMetadataModelAssessmentRequest.Builder}
* to create a request.
* @return Result of the StartMetadataModelAssessment operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartMetadataModelAssessment
* @see AWS API Documentation
*/
default StartMetadataModelAssessmentResponse startMetadataModelAssessment(
Consumer startMetadataModelAssessmentRequest)
throws AccessDeniedException, InvalidResourceStateException, ResourceAlreadyExistsException,
ResourceNotFoundException, KmsKeyNotAccessibleException, ResourceQuotaExceededException, S3ResourceNotFoundException,
S3AccessDeniedException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return startMetadataModelAssessment(StartMetadataModelAssessmentRequest.builder()
.applyMutation(startMetadataModelAssessmentRequest).build());
}
/**
*
* Converts your source database objects to a format compatible with the target database.
*
*
* @param startMetadataModelConversionRequest
* @return Result of the StartMetadataModelConversion operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartMetadataModelConversion
* @see AWS API Documentation
*/
default StartMetadataModelConversionResponse startMetadataModelConversion(
StartMetadataModelConversionRequest startMetadataModelConversionRequest) throws AccessDeniedException,
InvalidResourceStateException, ResourceAlreadyExistsException, ResourceNotFoundException,
KmsKeyNotAccessibleException, ResourceQuotaExceededException, S3ResourceNotFoundException, S3AccessDeniedException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Converts your source database objects to a format compatible with the target database.
*
*
*
* This is a convenience which creates an instance of the {@link StartMetadataModelConversionRequest.Builder}
* avoiding the need to create one manually via {@link StartMetadataModelConversionRequest#builder()}
*
*
* @param startMetadataModelConversionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StartMetadataModelConversionRequest.Builder}
* to create a request.
* @return Result of the StartMetadataModelConversion operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartMetadataModelConversion
* @see AWS API Documentation
*/
default StartMetadataModelConversionResponse startMetadataModelConversion(
Consumer startMetadataModelConversionRequest)
throws AccessDeniedException, InvalidResourceStateException, ResourceAlreadyExistsException,
ResourceNotFoundException, KmsKeyNotAccessibleException, ResourceQuotaExceededException, S3ResourceNotFoundException,
S3AccessDeniedException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return startMetadataModelConversion(StartMetadataModelConversionRequest.builder()
.applyMutation(startMetadataModelConversionRequest).build());
}
/**
*
* Saves your converted code to a file as a SQL script, and stores this file on your Amazon S3 bucket.
*
*
* @param startMetadataModelExportAsScriptRequest
* @return Result of the StartMetadataModelExportAsScript operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartMetadataModelExportAsScript
* @see AWS API Documentation
*/
default StartMetadataModelExportAsScriptResponse startMetadataModelExportAsScript(
StartMetadataModelExportAsScriptRequest startMetadataModelExportAsScriptRequest) throws AccessDeniedException,
InvalidResourceStateException, ResourceAlreadyExistsException, ResourceNotFoundException,
KmsKeyNotAccessibleException, ResourceQuotaExceededException, S3ResourceNotFoundException, S3AccessDeniedException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Saves your converted code to a file as a SQL script, and stores this file on your Amazon S3 bucket.
*
*
*
* This is a convenience which creates an instance of the {@link StartMetadataModelExportAsScriptRequest.Builder}
* avoiding the need to create one manually via {@link StartMetadataModelExportAsScriptRequest#builder()}
*
*
* @param startMetadataModelExportAsScriptRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StartMetadataModelExportAsScriptRequest.Builder}
* to create a request.
* @return Result of the StartMetadataModelExportAsScript operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartMetadataModelExportAsScript
* @see AWS API Documentation
*/
default StartMetadataModelExportAsScriptResponse startMetadataModelExportAsScript(
Consumer startMetadataModelExportAsScriptRequest)
throws AccessDeniedException, InvalidResourceStateException, ResourceAlreadyExistsException,
ResourceNotFoundException, KmsKeyNotAccessibleException, ResourceQuotaExceededException, S3ResourceNotFoundException,
S3AccessDeniedException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return startMetadataModelExportAsScript(StartMetadataModelExportAsScriptRequest.builder()
.applyMutation(startMetadataModelExportAsScriptRequest).build());
}
/**
*
* Applies converted database objects to your target database.
*
*
* @param startMetadataModelExportToTargetRequest
* @return Result of the StartMetadataModelExportToTarget operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartMetadataModelExportToTarget
* @see AWS API Documentation
*/
default StartMetadataModelExportToTargetResponse startMetadataModelExportToTarget(
StartMetadataModelExportToTargetRequest startMetadataModelExportToTargetRequest) throws AccessDeniedException,
InvalidResourceStateException, ResourceAlreadyExistsException, ResourceNotFoundException,
KmsKeyNotAccessibleException, ResourceQuotaExceededException, S3ResourceNotFoundException, S3AccessDeniedException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Applies converted database objects to your target database.
*
*
*
* This is a convenience which creates an instance of the {@link StartMetadataModelExportToTargetRequest.Builder}
* avoiding the need to create one manually via {@link StartMetadataModelExportToTargetRequest#builder()}
*
*
* @param startMetadataModelExportToTargetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StartMetadataModelExportToTargetRequest.Builder}
* to create a request.
* @return Result of the StartMetadataModelExportToTarget operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartMetadataModelExportToTarget
* @see AWS API Documentation
*/
default StartMetadataModelExportToTargetResponse startMetadataModelExportToTarget(
Consumer startMetadataModelExportToTargetRequest)
throws AccessDeniedException, InvalidResourceStateException, ResourceAlreadyExistsException,
ResourceNotFoundException, KmsKeyNotAccessibleException, ResourceQuotaExceededException, S3ResourceNotFoundException,
S3AccessDeniedException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return startMetadataModelExportToTarget(StartMetadataModelExportToTargetRequest.builder()
.applyMutation(startMetadataModelExportToTargetRequest).build());
}
/**
*
* Loads the metadata for all the dependent database objects of the parent object.
*
*
* This operation uses your project's Amazon S3 bucket as a metadata cache to improve performance.
*
*
* @param startMetadataModelImportRequest
* @return Result of the StartMetadataModelImport operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartMetadataModelImport
* @see AWS
* API Documentation
*/
default StartMetadataModelImportResponse startMetadataModelImport(
StartMetadataModelImportRequest startMetadataModelImportRequest) throws AccessDeniedException,
InvalidResourceStateException, ResourceAlreadyExistsException, ResourceNotFoundException,
KmsKeyNotAccessibleException, ResourceQuotaExceededException, S3ResourceNotFoundException, S3AccessDeniedException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Loads the metadata for all the dependent database objects of the parent object.
*
*
* This operation uses your project's Amazon S3 bucket as a metadata cache to improve performance.
*
*
*
* This is a convenience which creates an instance of the {@link StartMetadataModelImportRequest.Builder} avoiding
* the need to create one manually via {@link StartMetadataModelImportRequest#builder()}
*
*
* @param startMetadataModelImportRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StartMetadataModelImportRequest.Builder} to
* create a request.
* @return Result of the StartMetadataModelImport operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartMetadataModelImport
* @see AWS
* API Documentation
*/
default StartMetadataModelImportResponse startMetadataModelImport(
Consumer startMetadataModelImportRequest) throws AccessDeniedException,
InvalidResourceStateException, ResourceAlreadyExistsException, ResourceNotFoundException,
KmsKeyNotAccessibleException, ResourceQuotaExceededException, S3ResourceNotFoundException, S3AccessDeniedException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
return startMetadataModelImport(StartMetadataModelImportRequest.builder().applyMutation(startMetadataModelImportRequest)
.build());
}
/**
*
* Starts the analysis of your source database to provide recommendations of target engines.
*
*
* You can create recommendations for multiple source databases using BatchStartRecommendations.
*
*
* @param startRecommendationsRequest
* @return Result of the StartRecommendations operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartRecommendations
* @see AWS API
* Documentation
*/
default StartRecommendationsResponse startRecommendations(StartRecommendationsRequest startRecommendationsRequest)
throws InvalidResourceStateException, AccessDeniedException, ResourceNotFoundException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Starts the analysis of your source database to provide recommendations of target engines.
*
*
* You can create recommendations for multiple source databases using BatchStartRecommendations.
*
*
*
* This is a convenience which creates an instance of the {@link StartRecommendationsRequest.Builder} avoiding the
* need to create one manually via {@link StartRecommendationsRequest#builder()}
*
*
* @param startRecommendationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StartRecommendationsRequest.Builder} to
* create a request.
* @return Result of the StartRecommendations operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartRecommendations
* @see AWS API
* Documentation
*/
default StartRecommendationsResponse startRecommendations(
Consumer startRecommendationsRequest) throws InvalidResourceStateException,
AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return startRecommendations(StartRecommendationsRequest.builder().applyMutation(startRecommendationsRequest).build());
}
/**
*
* For a given DMS Serverless replication configuration, DMS connects to the source endpoint and collects the
* metadata to analyze the replication workload. Using this metadata, DMS then computes and provisions the required
* capacity and starts replicating to the target endpoint using the server resources that DMS has provisioned for
* the DMS Serverless replication.
*
*
* @param startReplicationRequest
* @return Result of the StartReplication operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartReplication
* @see AWS API
* Documentation
*/
default StartReplicationResponse startReplication(StartReplicationRequest startReplicationRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AccessDeniedException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* For a given DMS Serverless replication configuration, DMS connects to the source endpoint and collects the
* metadata to analyze the replication workload. Using this metadata, DMS then computes and provisions the required
* capacity and starts replicating to the target endpoint using the server resources that DMS has provisioned for
* the DMS Serverless replication.
*
*
*
* This is a convenience which creates an instance of the {@link StartReplicationRequest.Builder} avoiding the need
* to create one manually via {@link StartReplicationRequest#builder()}
*
*
* @param startReplicationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StartReplicationRequest.Builder} to create
* a request.
* @return Result of the StartReplication operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartReplication
* @see AWS API
* Documentation
*/
default StartReplicationResponse startReplication(Consumer startReplicationRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AccessDeniedException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return startReplication(StartReplicationRequest.builder().applyMutation(startReplicationRequest).build());
}
/**
*
* Starts the replication task.
*
*
* For more information about DMS tasks, see Working with Migration Tasks in the
* Database Migration Service User Guide.
*
*
* @param startReplicationTaskRequest
* @return Result of the StartReplicationTask operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartReplicationTask
* @see AWS API
* Documentation
*/
default StartReplicationTaskResponse startReplicationTask(StartReplicationTaskRequest startReplicationTaskRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AccessDeniedException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Starts the replication task.
*
*
* For more information about DMS tasks, see Working with Migration Tasks in the
* Database Migration Service User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link StartReplicationTaskRequest.Builder} avoiding the
* need to create one manually via {@link StartReplicationTaskRequest#builder()}
*
*
* @param startReplicationTaskRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StartReplicationTaskRequest.Builder} to
* create a request.
* @return Result of the StartReplicationTask operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartReplicationTask
* @see AWS API
* Documentation
*/
default StartReplicationTaskResponse startReplicationTask(
Consumer startReplicationTaskRequest) throws ResourceNotFoundException,
InvalidResourceStateException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return startReplicationTask(StartReplicationTaskRequest.builder().applyMutation(startReplicationTaskRequest).build());
}
/**
*
* Starts the replication task assessment for unsupported data types in the source database.
*
*
* You can only use this operation for a task if the following conditions are true:
*
*
* -
*
* The task must be in the stopped
state.
*
*
* -
*
* The task must have successful connections to the source and target.
*
*
*
*
* If either of these conditions are not met, an InvalidResourceStateFault
error will result.
*
*
* For information about DMS task assessments, see Creating a task
* assessment report in the Database Migration Service User Guide.
*
*
* @param startReplicationTaskAssessmentRequest
* @return Result of the StartReplicationTaskAssessment operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartReplicationTaskAssessment
* @see AWS API Documentation
*/
default StartReplicationTaskAssessmentResponse startReplicationTaskAssessment(
StartReplicationTaskAssessmentRequest startReplicationTaskAssessmentRequest) throws InvalidResourceStateException,
ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Starts the replication task assessment for unsupported data types in the source database.
*
*
* You can only use this operation for a task if the following conditions are true:
*
*
* -
*
* The task must be in the stopped
state.
*
*
* -
*
* The task must have successful connections to the source and target.
*
*
*
*
* If either of these conditions are not met, an InvalidResourceStateFault
error will result.
*
*
* For information about DMS task assessments, see Creating a task
* assessment report in the Database Migration Service User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link StartReplicationTaskAssessmentRequest.Builder}
* avoiding the need to create one manually via {@link StartReplicationTaskAssessmentRequest#builder()}
*
*
* @param startReplicationTaskAssessmentRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StartReplicationTaskAssessmentRequest.Builder}
* to create a request.
* @return Result of the StartReplicationTaskAssessment operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartReplicationTaskAssessment
* @see AWS API Documentation
*/
default StartReplicationTaskAssessmentResponse startReplicationTaskAssessment(
Consumer startReplicationTaskAssessmentRequest)
throws InvalidResourceStateException, ResourceNotFoundException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return startReplicationTaskAssessment(StartReplicationTaskAssessmentRequest.builder()
.applyMutation(startReplicationTaskAssessmentRequest).build());
}
/**
*
* Starts a new premigration assessment run for one or more individual assessments of a migration task.
*
*
* The assessments that you can specify depend on the source and target database engine and the migration type
* defined for the given task. To run this operation, your migration task must already be created. After you run
* this operation, you can review the status of each individual assessment. You can also run the migration task
* manually after the assessment run and its individual assessments complete.
*
*
* @param startReplicationTaskAssessmentRunRequest
* @return Result of the StartReplicationTaskAssessmentRun operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws KmsAccessDeniedException
* The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
* @throws KmsDisabledException
* The specified KMS key isn't enabled.
* @throws KmsException
* An Key Management Service (KMS) error is preventing access to KMS.
* @throws KmsInvalidStateException
* The state of the specified KMS resource isn't valid for this request.
* @throws KmsNotFoundException
* The specified KMS entity or resource can't be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartReplicationTaskAssessmentRun
* @see AWS API Documentation
*/
default StartReplicationTaskAssessmentRunResponse startReplicationTaskAssessmentRun(
StartReplicationTaskAssessmentRunRequest startReplicationTaskAssessmentRunRequest) throws AccessDeniedException,
ResourceNotFoundException, InvalidResourceStateException, KmsAccessDeniedException, KmsDisabledException,
KmsException, KmsInvalidStateException, KmsNotFoundException, KmsKeyNotAccessibleException, S3AccessDeniedException,
S3ResourceNotFoundException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Starts a new premigration assessment run for one or more individual assessments of a migration task.
*
*
* The assessments that you can specify depend on the source and target database engine and the migration type
* defined for the given task. To run this operation, your migration task must already be created. After you run
* this operation, you can review the status of each individual assessment. You can also run the migration task
* manually after the assessment run and its individual assessments complete.
*
*
*
* This is a convenience which creates an instance of the {@link StartReplicationTaskAssessmentRunRequest.Builder}
* avoiding the need to create one manually via {@link StartReplicationTaskAssessmentRunRequest#builder()}
*
*
* @param startReplicationTaskAssessmentRunRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StartReplicationTaskAssessmentRunRequest.Builder}
* to create a request.
* @return Result of the StartReplicationTaskAssessmentRun operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws KmsAccessDeniedException
* The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
* @throws KmsDisabledException
* The specified KMS key isn't enabled.
* @throws KmsException
* An Key Management Service (KMS) error is preventing access to KMS.
* @throws KmsInvalidStateException
* The state of the specified KMS resource isn't valid for this request.
* @throws KmsNotFoundException
* The specified KMS entity or resource can't be found.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws S3AccessDeniedException
* Insufficient privileges are preventing access to an Amazon S3 object.
* @throws S3ResourceNotFoundException
* A specified Amazon S3 bucket, bucket folder, or other object can't be found.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartReplicationTaskAssessmentRun
* @see AWS API Documentation
*/
default StartReplicationTaskAssessmentRunResponse startReplicationTaskAssessmentRun(
Consumer startReplicationTaskAssessmentRunRequest)
throws AccessDeniedException, ResourceNotFoundException, InvalidResourceStateException, KmsAccessDeniedException,
KmsDisabledException, KmsException, KmsInvalidStateException, KmsNotFoundException, KmsKeyNotAccessibleException,
S3AccessDeniedException, S3ResourceNotFoundException, ResourceAlreadyExistsException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return startReplicationTaskAssessmentRun(StartReplicationTaskAssessmentRunRequest.builder()
.applyMutation(startReplicationTaskAssessmentRunRequest).build());
}
/**
*
* Stops the specified data migration.
*
*
* @param stopDataMigrationRequest
* @return Result of the StopDataMigration operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StopDataMigration
* @see AWS API
* Documentation
*/
default StopDataMigrationResponse stopDataMigration(StopDataMigrationRequest stopDataMigrationRequest)
throws ResourceNotFoundException, InvalidResourceStateException, FailedDependencyException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Stops the specified data migration.
*
*
*
* This is a convenience which creates an instance of the {@link StopDataMigrationRequest.Builder} avoiding the need
* to create one manually via {@link StopDataMigrationRequest#builder()}
*
*
* @param stopDataMigrationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StopDataMigrationRequest.Builder} to create
* a request.
* @return Result of the StopDataMigration operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws FailedDependencyException
* A dependency threw an exception.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StopDataMigration
* @see AWS API
* Documentation
*/
default StopDataMigrationResponse stopDataMigration(Consumer stopDataMigrationRequest)
throws ResourceNotFoundException, InvalidResourceStateException, FailedDependencyException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return stopDataMigration(StopDataMigrationRequest.builder().applyMutation(stopDataMigrationRequest).build());
}
/**
*
* For a given DMS Serverless replication configuration, DMS stops any and all ongoing DMS Serverless replications.
* This command doesn't deprovision the stopped replications.
*
*
* @param stopReplicationRequest
* @return Result of the StopReplication operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StopReplication
* @see AWS API
* Documentation
*/
default StopReplicationResponse stopReplication(StopReplicationRequest stopReplicationRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AccessDeniedException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* For a given DMS Serverless replication configuration, DMS stops any and all ongoing DMS Serverless replications.
* This command doesn't deprovision the stopped replications.
*
*
*
* This is a convenience which creates an instance of the {@link StopReplicationRequest.Builder} avoiding the need
* to create one manually via {@link StopReplicationRequest#builder()}
*
*
* @param stopReplicationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StopReplicationRequest.Builder} to create a
* request.
* @return Result of the StopReplication operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StopReplication
* @see AWS API
* Documentation
*/
default StopReplicationResponse stopReplication(Consumer stopReplicationRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AccessDeniedException, AwsServiceException,
SdkClientException, DatabaseMigrationException {
return stopReplication(StopReplicationRequest.builder().applyMutation(stopReplicationRequest).build());
}
/**
*
* Stops the replication task.
*
*
* @param stopReplicationTaskRequest
* @return Result of the StopReplicationTask operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StopReplicationTask
* @see AWS API
* Documentation
*/
default StopReplicationTaskResponse stopReplicationTask(StopReplicationTaskRequest stopReplicationTaskRequest)
throws ResourceNotFoundException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Stops the replication task.
*
*
*
* This is a convenience which creates an instance of the {@link StopReplicationTaskRequest.Builder} avoiding the
* need to create one manually via {@link StopReplicationTaskRequest#builder()}
*
*
* @param stopReplicationTaskRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.StopReplicationTaskRequest.Builder} to
* create a request.
* @return Result of the StopReplicationTask operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StopReplicationTask
* @see AWS API
* Documentation
*/
default StopReplicationTaskResponse stopReplicationTask(
Consumer stopReplicationTaskRequest) throws ResourceNotFoundException,
InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
return stopReplicationTask(StopReplicationTaskRequest.builder().applyMutation(stopReplicationTaskRequest).build());
}
/**
*
* Tests the connection between the replication instance and the endpoint.
*
*
* @param testConnectionRequest
* @return Result of the TestConnection operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.TestConnection
* @see AWS API
* Documentation
*/
default TestConnectionResponse testConnection(TestConnectionRequest testConnectionRequest) throws ResourceNotFoundException,
InvalidResourceStateException, KmsKeyNotAccessibleException, ResourceQuotaExceededException, AccessDeniedException,
AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Tests the connection between the replication instance and the endpoint.
*
*
*
* This is a convenience which creates an instance of the {@link TestConnectionRequest.Builder} avoiding the need to
* create one manually via {@link TestConnectionRequest#builder()}
*
*
* @param testConnectionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.TestConnectionRequest.Builder} to create a
* request.
* @return Result of the TestConnection operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws KmsKeyNotAccessibleException
* DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.TestConnection
* @see AWS API
* Documentation
*/
default TestConnectionResponse testConnection(Consumer testConnectionRequest)
throws ResourceNotFoundException, InvalidResourceStateException, KmsKeyNotAccessibleException,
ResourceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return testConnection(TestConnectionRequest.builder().applyMutation(testConnectionRequest).build());
}
/**
*
* Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to corresponding Amazon
* EventBridge rules. By default, this operation migrates subscriptions only when all your replication instance
* versions are 3.4.5 or higher. If any replication instances are from versions earlier than 3.4.5, the operation
* raises an error and tells you to upgrade these instances to version 3.4.5 or higher. To enable migration
* regardless of version, set the Force
option to true. However, if you don't upgrade instances earlier
* than version 3.4.5, some types of events might not be available when you use Amazon EventBridge.
*
*
* To call this operation, make sure that you have certain permissions added to your user account. For more
* information, see Migrating event subscriptions to Amazon EventBridge in the Amazon Web Services Database Migration Service
* User Guide.
*
*
* @param updateSubscriptionsToEventBridgeRequest
* @return Result of the UpdateSubscriptionsToEventBridge operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.UpdateSubscriptionsToEventBridge
* @see AWS API Documentation
*/
default UpdateSubscriptionsToEventBridgeResponse updateSubscriptionsToEventBridge(
UpdateSubscriptionsToEventBridgeRequest updateSubscriptionsToEventBridgeRequest) throws AccessDeniedException,
InvalidResourceStateException, AwsServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to corresponding Amazon
* EventBridge rules. By default, this operation migrates subscriptions only when all your replication instance
* versions are 3.4.5 or higher. If any replication instances are from versions earlier than 3.4.5, the operation
* raises an error and tells you to upgrade these instances to version 3.4.5 or higher. To enable migration
* regardless of version, set the Force
option to true. However, if you don't upgrade instances earlier
* than version 3.4.5, some types of events might not be available when you use Amazon EventBridge.
*
*
* To call this operation, make sure that you have certain permissions added to your user account. For more
* information, see Migrating event subscriptions to Amazon EventBridge in the Amazon Web Services Database Migration Service
* User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateSubscriptionsToEventBridgeRequest.Builder}
* avoiding the need to create one manually via {@link UpdateSubscriptionsToEventBridgeRequest#builder()}
*
*
* @param updateSubscriptionsToEventBridgeRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.databasemigration.model.UpdateSubscriptionsToEventBridgeRequest.Builder}
* to create a request.
* @return Result of the UpdateSubscriptionsToEventBridge operation returned by the service.
* @throws AccessDeniedException
* DMS was denied access to the endpoint. Check that the role is correctly configured.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.UpdateSubscriptionsToEventBridge
* @see AWS API Documentation
*/
default UpdateSubscriptionsToEventBridgeResponse updateSubscriptionsToEventBridge(
Consumer updateSubscriptionsToEventBridgeRequest)
throws AccessDeniedException, InvalidResourceStateException, AwsServiceException, SdkClientException,
DatabaseMigrationException {
return updateSubscriptionsToEventBridge(UpdateSubscriptionsToEventBridgeRequest.builder()
.applyMutation(updateSubscriptionsToEventBridgeRequest).build());
}
/**
* Create an instance of {@link DatabaseMigrationWaiter} using this client.
*
* Waiters created via this method are managed by the SDK and resources will be released when the service client is
* closed.
*
* @return an instance of {@link DatabaseMigrationWaiter}
*/
default DatabaseMigrationWaiter waiter() {
throw new UnsupportedOperationException();
}
/**
* Create a {@link DatabaseMigrationClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static DatabaseMigrationClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link DatabaseMigrationClient}.
*/
static DatabaseMigrationClientBuilder builder() {
return new DefaultDatabaseMigrationClientBuilder();
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of(SERVICE_METADATA_ID);
}
@Override
default DatabaseMigrationServiceClientConfiguration serviceClientConfiguration() {
throw new UnsupportedOperationException();
}
}