Interface DatabaseMigrationAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
SdkAsyncHttpClient
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.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionaddTagsToResource
(Consumer<AddTagsToResourceRequest.Builder> addTagsToResourceRequest) Adds metadata tags to an DMS resource, including replication instance, endpoint, subnet group, and migration task.addTagsToResource
(AddTagsToResourceRequest addTagsToResourceRequest) Adds metadata tags to an DMS resource, including replication instance, endpoint, subnet group, and migration task.applyPendingMaintenanceAction
(Consumer<ApplyPendingMaintenanceActionRequest.Builder> applyPendingMaintenanceActionRequest) Applies a pending maintenance action to a resource (for example, to a replication instance).applyPendingMaintenanceAction
(ApplyPendingMaintenanceActionRequest applyPendingMaintenanceActionRequest) Applies a pending maintenance action to a resource (for example, to a replication instance).batchStartRecommendations
(Consumer<BatchStartRecommendationsRequest.Builder> batchStartRecommendationsRequest) Starts the analysis of up to 20 source databases to recommend target engines for each source database.batchStartRecommendations
(BatchStartRecommendationsRequest batchStartRecommendationsRequest) Starts the analysis of up to 20 source databases to recommend target engines for each source database.builder()
Create a builder that can be used to configure and create aDatabaseMigrationAsyncClient
.cancelReplicationTaskAssessmentRun
(Consumer<CancelReplicationTaskAssessmentRunRequest.Builder> cancelReplicationTaskAssessmentRunRequest) Cancels a single premigration assessment run.cancelReplicationTaskAssessmentRun
(CancelReplicationTaskAssessmentRunRequest cancelReplicationTaskAssessmentRunRequest) Cancels a single premigration assessment run.static DatabaseMigrationAsyncClient
create()
Create aDatabaseMigrationAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createDataProvider
(Consumer<CreateDataProviderRequest.Builder> createDataProviderRequest) Creates a data provider using the provided settings.createDataProvider
(CreateDataProviderRequest createDataProviderRequest) Creates a data provider using the provided settings.default CompletableFuture
<CreateEndpointResponse> createEndpoint
(Consumer<CreateEndpointRequest.Builder> createEndpointRequest) Creates an endpoint using the provided settings.default CompletableFuture
<CreateEndpointResponse> createEndpoint
(CreateEndpointRequest createEndpointRequest) Creates an endpoint using the provided settings.createEventSubscription
(Consumer<CreateEventSubscriptionRequest.Builder> createEventSubscriptionRequest) Creates an DMS event notification subscription.createEventSubscription
(CreateEventSubscriptionRequest createEventSubscriptionRequest) Creates an DMS event notification subscription.createFleetAdvisorCollector
(Consumer<CreateFleetAdvisorCollectorRequest.Builder> createFleetAdvisorCollectorRequest) Creates a Fleet Advisor collector using the specified parameters.createFleetAdvisorCollector
(CreateFleetAdvisorCollectorRequest createFleetAdvisorCollectorRequest) Creates a Fleet Advisor collector using the specified parameters.createInstanceProfile
(Consumer<CreateInstanceProfileRequest.Builder> createInstanceProfileRequest) Creates the instance profile using the specified parameters.createInstanceProfile
(CreateInstanceProfileRequest createInstanceProfileRequest) Creates the instance profile using the specified parameters.createMigrationProject
(Consumer<CreateMigrationProjectRequest.Builder> createMigrationProjectRequest) Creates the migration project using the specified parameters.createMigrationProject
(CreateMigrationProjectRequest createMigrationProjectRequest) Creates the migration project using the specified parameters.createReplicationConfig
(Consumer<CreateReplicationConfigRequest.Builder> createReplicationConfigRequest) Creates a configuration that you can later provide to configure and start an DMS Serverless replication.createReplicationConfig
(CreateReplicationConfigRequest createReplicationConfigRequest) Creates a configuration that you can later provide to configure and start an DMS Serverless replication.createReplicationInstance
(Consumer<CreateReplicationInstanceRequest.Builder> createReplicationInstanceRequest) Creates the replication instance using the specified parameters.createReplicationInstance
(CreateReplicationInstanceRequest createReplicationInstanceRequest) Creates the replication instance using the specified parameters.createReplicationSubnetGroup
(Consumer<CreateReplicationSubnetGroupRequest.Builder> createReplicationSubnetGroupRequest) Creates a replication subnet group given a list of the subnet IDs in a VPC.createReplicationSubnetGroup
(CreateReplicationSubnetGroupRequest createReplicationSubnetGroupRequest) Creates a replication subnet group given a list of the subnet IDs in a VPC.createReplicationTask
(Consumer<CreateReplicationTaskRequest.Builder> createReplicationTaskRequest) Creates a replication task using the specified parameters.createReplicationTask
(CreateReplicationTaskRequest createReplicationTaskRequest) Creates a replication task using the specified parameters.deleteCertificate
(Consumer<DeleteCertificateRequest.Builder> deleteCertificateRequest) Deletes the specified certificate.deleteCertificate
(DeleteCertificateRequest deleteCertificateRequest) Deletes the specified certificate.deleteConnection
(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest) Deletes the connection between a replication instance and an endpoint.deleteConnection
(DeleteConnectionRequest deleteConnectionRequest) Deletes the connection between a replication instance and an endpoint.deleteDataProvider
(Consumer<DeleteDataProviderRequest.Builder> deleteDataProviderRequest) Deletes the specified data provider.deleteDataProvider
(DeleteDataProviderRequest deleteDataProviderRequest) Deletes the specified data provider.default CompletableFuture
<DeleteEndpointResponse> deleteEndpoint
(Consumer<DeleteEndpointRequest.Builder> deleteEndpointRequest) Deletes the specified endpoint.default CompletableFuture
<DeleteEndpointResponse> deleteEndpoint
(DeleteEndpointRequest deleteEndpointRequest) Deletes the specified endpoint.deleteEventSubscription
(Consumer<DeleteEventSubscriptionRequest.Builder> deleteEventSubscriptionRequest) Deletes an DMS event subscription.deleteEventSubscription
(DeleteEventSubscriptionRequest deleteEventSubscriptionRequest) Deletes an DMS event subscription.deleteFleetAdvisorCollector
(Consumer<DeleteFleetAdvisorCollectorRequest.Builder> deleteFleetAdvisorCollectorRequest) Deletes the specified Fleet Advisor collector.deleteFleetAdvisorCollector
(DeleteFleetAdvisorCollectorRequest deleteFleetAdvisorCollectorRequest) Deletes the specified Fleet Advisor collector.deleteFleetAdvisorDatabases
(Consumer<DeleteFleetAdvisorDatabasesRequest.Builder> deleteFleetAdvisorDatabasesRequest) Deletes the specified Fleet Advisor collector databases.deleteFleetAdvisorDatabases
(DeleteFleetAdvisorDatabasesRequest deleteFleetAdvisorDatabasesRequest) Deletes the specified Fleet Advisor collector databases.deleteInstanceProfile
(Consumer<DeleteInstanceProfileRequest.Builder> deleteInstanceProfileRequest) Deletes the specified instance profile.deleteInstanceProfile
(DeleteInstanceProfileRequest deleteInstanceProfileRequest) Deletes the specified instance profile.deleteMigrationProject
(Consumer<DeleteMigrationProjectRequest.Builder> deleteMigrationProjectRequest) Deletes the specified migration project.deleteMigrationProject
(DeleteMigrationProjectRequest deleteMigrationProjectRequest) Deletes the specified migration project.deleteReplicationConfig
(Consumer<DeleteReplicationConfigRequest.Builder> deleteReplicationConfigRequest) Deletes an DMS Serverless replication configuration.deleteReplicationConfig
(DeleteReplicationConfigRequest deleteReplicationConfigRequest) Deletes an DMS Serverless replication configuration.deleteReplicationInstance
(Consumer<DeleteReplicationInstanceRequest.Builder> deleteReplicationInstanceRequest) Deletes the specified replication instance.deleteReplicationInstance
(DeleteReplicationInstanceRequest deleteReplicationInstanceRequest) Deletes the specified replication instance.deleteReplicationSubnetGroup
(Consumer<DeleteReplicationSubnetGroupRequest.Builder> deleteReplicationSubnetGroupRequest) Deletes a subnet group.deleteReplicationSubnetGroup
(DeleteReplicationSubnetGroupRequest deleteReplicationSubnetGroupRequest) Deletes a subnet group.deleteReplicationTask
(Consumer<DeleteReplicationTaskRequest.Builder> deleteReplicationTaskRequest) Deletes the specified replication task.deleteReplicationTask
(DeleteReplicationTaskRequest deleteReplicationTaskRequest) Deletes the specified replication task.deleteReplicationTaskAssessmentRun
(Consumer<DeleteReplicationTaskAssessmentRunRequest.Builder> deleteReplicationTaskAssessmentRunRequest) Deletes the record of a single premigration assessment run.deleteReplicationTaskAssessmentRun
(DeleteReplicationTaskAssessmentRunRequest deleteReplicationTaskAssessmentRunRequest) Deletes the record of a single premigration assessment run.Lists all of the DMS attributes for a customer account.describeAccountAttributes
(Consumer<DescribeAccountAttributesRequest.Builder> describeAccountAttributesRequest) Lists all of the DMS attributes for a customer account.describeAccountAttributes
(DescribeAccountAttributesRequest describeAccountAttributesRequest) Lists all of the DMS attributes for a customer account.describeApplicableIndividualAssessments
(Consumer<DescribeApplicableIndividualAssessmentsRequest.Builder> describeApplicableIndividualAssessmentsRequest) Provides a list of individual assessments that you can specify for a new premigration assessment run, given one or more parameters.describeApplicableIndividualAssessments
(DescribeApplicableIndividualAssessmentsRequest describeApplicableIndividualAssessmentsRequest) Provides a list of individual assessments that you can specify for a new premigration assessment run, given one or more parameters.describeApplicableIndividualAssessmentsPaginator
(Consumer<DescribeApplicableIndividualAssessmentsRequest.Builder> describeApplicableIndividualAssessmentsRequest) describeApplicableIndividualAssessmentsPaginator
(DescribeApplicableIndividualAssessmentsRequest describeApplicableIndividualAssessmentsRequest) Provides a description of the certificate.describeCertificates
(Consumer<DescribeCertificatesRequest.Builder> describeCertificatesRequest) Provides a description of the certificate.describeCertificates
(DescribeCertificatesRequest describeCertificatesRequest) Provides a description of the certificate.default DescribeCertificatesPublisher
This is a variant ofdescribeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)
operation.default DescribeCertificatesPublisher
describeCertificatesPaginator
(Consumer<DescribeCertificatesRequest.Builder> describeCertificatesRequest) This is a variant ofdescribeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)
operation.default DescribeCertificatesPublisher
describeCertificatesPaginator
(DescribeCertificatesRequest describeCertificatesRequest) This is a variant ofdescribeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)
operation.Describes the status of the connections that have been made between the replication instance and an endpoint.describeConnections
(Consumer<DescribeConnectionsRequest.Builder> describeConnectionsRequest) Describes the status of the connections that have been made between the replication instance and an endpoint.describeConnections
(DescribeConnectionsRequest describeConnectionsRequest) Describes the status of the connections that have been made between the replication instance and an endpoint.default DescribeConnectionsPublisher
This is a variant ofdescribeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)
operation.default DescribeConnectionsPublisher
describeConnectionsPaginator
(Consumer<DescribeConnectionsRequest.Builder> describeConnectionsRequest) This is a variant ofdescribeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)
operation.default DescribeConnectionsPublisher
describeConnectionsPaginator
(DescribeConnectionsRequest describeConnectionsRequest) This is a variant ofdescribeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)
operation.describeConversionConfiguration
(Consumer<DescribeConversionConfigurationRequest.Builder> describeConversionConfigurationRequest) Returns configuration parameters for a schema conversion project.describeConversionConfiguration
(DescribeConversionConfigurationRequest describeConversionConfigurationRequest) Returns configuration parameters for a schema conversion project.describeDataProviders
(Consumer<DescribeDataProvidersRequest.Builder> describeDataProvidersRequest) Returns a paginated list of data providers for your account in the current region.describeDataProviders
(DescribeDataProvidersRequest describeDataProvidersRequest) Returns a paginated list of data providers for your account in the current region.default DescribeDataProvidersPublisher
describeDataProvidersPaginator
(Consumer<DescribeDataProvidersRequest.Builder> describeDataProvidersRequest) This is a variant ofdescribeDataProviders(software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersRequest)
operation.default DescribeDataProvidersPublisher
describeDataProvidersPaginator
(DescribeDataProvidersRequest describeDataProvidersRequest) This is a variant ofdescribeDataProviders(software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersRequest)
operation.Returns information about the endpoints for your account in the current region.describeEndpoints
(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest) Returns information about the endpoints for your account in the current region.describeEndpoints
(DescribeEndpointsRequest describeEndpointsRequest) Returns information about the endpoints for your account in the current region.describeEndpointSettings
(Consumer<DescribeEndpointSettingsRequest.Builder> describeEndpointSettingsRequest) Returns information about the possible endpoint settings available when you create an endpoint for a specific database engine.describeEndpointSettings
(DescribeEndpointSettingsRequest describeEndpointSettingsRequest) Returns information about the possible endpoint settings available when you create an endpoint for a specific database engine.describeEndpointSettingsPaginator
(Consumer<DescribeEndpointSettingsRequest.Builder> describeEndpointSettingsRequest) This is a variant ofdescribeEndpointSettings(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsRequest)
operation.describeEndpointSettingsPaginator
(DescribeEndpointSettingsRequest describeEndpointSettingsRequest) This is a variant ofdescribeEndpointSettings(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsRequest)
operation.default DescribeEndpointsPublisher
This is a variant ofdescribeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)
operation.default DescribeEndpointsPublisher
describeEndpointsPaginator
(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest) This is a variant ofdescribeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)
operation.default DescribeEndpointsPublisher
describeEndpointsPaginator
(DescribeEndpointsRequest describeEndpointsRequest) This is a variant ofdescribeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)
operation.Returns information about the type of endpoints available.describeEndpointTypes
(Consumer<DescribeEndpointTypesRequest.Builder> describeEndpointTypesRequest) Returns information about the type of endpoints available.describeEndpointTypes
(DescribeEndpointTypesRequest describeEndpointTypesRequest) Returns information about the type of endpoints available.default DescribeEndpointTypesPublisher
This is a variant ofdescribeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)
operation.default DescribeEndpointTypesPublisher
describeEndpointTypesPaginator
(Consumer<DescribeEndpointTypesRequest.Builder> describeEndpointTypesRequest) This is a variant ofdescribeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)
operation.default DescribeEndpointTypesPublisher
describeEndpointTypesPaginator
(DescribeEndpointTypesRequest describeEndpointTypesRequest) This is a variant ofdescribeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)
operation.describeEngineVersions
(Consumer<DescribeEngineVersionsRequest.Builder> describeEngineVersionsRequest) Returns information about the replication instance versions used in the project.describeEngineVersions
(DescribeEngineVersionsRequest describeEngineVersionsRequest) Returns information about the replication instance versions used in the project.default DescribeEngineVersionsPublisher
describeEngineVersionsPaginator
(Consumer<DescribeEngineVersionsRequest.Builder> describeEngineVersionsRequest) This is a variant ofdescribeEngineVersions(software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsRequest)
operation.default DescribeEngineVersionsPublisher
describeEngineVersionsPaginator
(DescribeEngineVersionsRequest describeEngineVersionsRequest) This is a variant ofdescribeEngineVersions(software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsRequest)
operation.Lists categories for all event source types, or, if specified, for a specified source type.describeEventCategories
(Consumer<DescribeEventCategoriesRequest.Builder> describeEventCategoriesRequest) Lists categories for all event source types, or, if specified, for a specified source type.describeEventCategories
(DescribeEventCategoriesRequest describeEventCategoriesRequest) Lists categories for all event source types, or, if specified, for a specified source type.default CompletableFuture
<DescribeEventsResponse> Lists events for a given source identifier and source type.default CompletableFuture
<DescribeEventsResponse> describeEvents
(Consumer<DescribeEventsRequest.Builder> describeEventsRequest) Lists events for a given source identifier and source type.default CompletableFuture
<DescribeEventsResponse> describeEvents
(DescribeEventsRequest describeEventsRequest) Lists events for a given source identifier and source type.default DescribeEventsPublisher
This is a variant ofdescribeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)
operation.default DescribeEventsPublisher
describeEventsPaginator
(Consumer<DescribeEventsRequest.Builder> describeEventsRequest) This is a variant ofdescribeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)
operation.default DescribeEventsPublisher
describeEventsPaginator
(DescribeEventsRequest describeEventsRequest) This is a variant ofdescribeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)
operation.Lists all the event subscriptions for a customer account.describeEventSubscriptions
(Consumer<DescribeEventSubscriptionsRequest.Builder> describeEventSubscriptionsRequest) Lists all the event subscriptions for a customer account.describeEventSubscriptions
(DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest) Lists all the event subscriptions for a customer account.This is a variant ofdescribeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)
operation.describeEventSubscriptionsPaginator
(Consumer<DescribeEventSubscriptionsRequest.Builder> describeEventSubscriptionsRequest) This is a variant ofdescribeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)
operation.describeEventSubscriptionsPaginator
(DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest) This is a variant ofdescribeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)
operation.describeExtensionPackAssociations
(Consumer<DescribeExtensionPackAssociationsRequest.Builder> describeExtensionPackAssociationsRequest) Returns a paginated list of extension pack associations for the specified migration project.describeExtensionPackAssociations
(DescribeExtensionPackAssociationsRequest describeExtensionPackAssociationsRequest) Returns a paginated list of extension pack associations for the specified migration project.describeExtensionPackAssociationsPaginator
(Consumer<DescribeExtensionPackAssociationsRequest.Builder> describeExtensionPackAssociationsRequest) describeExtensionPackAssociationsPaginator
(DescribeExtensionPackAssociationsRequest describeExtensionPackAssociationsRequest) describeFleetAdvisorCollectors
(Consumer<DescribeFleetAdvisorCollectorsRequest.Builder> describeFleetAdvisorCollectorsRequest) Returns a list of the Fleet Advisor collectors in your account.describeFleetAdvisorCollectors
(DescribeFleetAdvisorCollectorsRequest describeFleetAdvisorCollectorsRequest) Returns a list of the Fleet Advisor collectors in your account.describeFleetAdvisorCollectorsPaginator
(Consumer<DescribeFleetAdvisorCollectorsRequest.Builder> describeFleetAdvisorCollectorsRequest) This is a variant ofdescribeFleetAdvisorCollectors(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsRequest)
operation.describeFleetAdvisorCollectorsPaginator
(DescribeFleetAdvisorCollectorsRequest describeFleetAdvisorCollectorsRequest) This is a variant ofdescribeFleetAdvisorCollectors(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsRequest)
operation.describeFleetAdvisorDatabases
(Consumer<DescribeFleetAdvisorDatabasesRequest.Builder> describeFleetAdvisorDatabasesRequest) Returns a list of Fleet Advisor databases in your account.describeFleetAdvisorDatabases
(DescribeFleetAdvisorDatabasesRequest describeFleetAdvisorDatabasesRequest) Returns a list of Fleet Advisor databases in your account.describeFleetAdvisorDatabasesPaginator
(Consumer<DescribeFleetAdvisorDatabasesRequest.Builder> describeFleetAdvisorDatabasesRequest) This is a variant ofdescribeFleetAdvisorDatabases(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesRequest)
operation.describeFleetAdvisorDatabasesPaginator
(DescribeFleetAdvisorDatabasesRequest describeFleetAdvisorDatabasesRequest) This is a variant ofdescribeFleetAdvisorDatabases(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesRequest)
operation.describeFleetAdvisorLsaAnalysis
(Consumer<DescribeFleetAdvisorLsaAnalysisRequest.Builder> describeFleetAdvisorLsaAnalysisRequest) Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.describeFleetAdvisorLsaAnalysis
(DescribeFleetAdvisorLsaAnalysisRequest describeFleetAdvisorLsaAnalysisRequest) Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.describeFleetAdvisorLsaAnalysisPaginator
(Consumer<DescribeFleetAdvisorLsaAnalysisRequest.Builder> describeFleetAdvisorLsaAnalysisRequest) This is a variant ofdescribeFleetAdvisorLsaAnalysis(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisRequest)
operation.describeFleetAdvisorLsaAnalysisPaginator
(DescribeFleetAdvisorLsaAnalysisRequest describeFleetAdvisorLsaAnalysisRequest) This is a variant ofdescribeFleetAdvisorLsaAnalysis(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisRequest)
operation.describeFleetAdvisorSchemaObjectSummary
(Consumer<DescribeFleetAdvisorSchemaObjectSummaryRequest.Builder> describeFleetAdvisorSchemaObjectSummaryRequest) Provides descriptions of the schemas discovered by your Fleet Advisor collectors.describeFleetAdvisorSchemaObjectSummary
(DescribeFleetAdvisorSchemaObjectSummaryRequest describeFleetAdvisorSchemaObjectSummaryRequest) Provides descriptions of the schemas discovered by your Fleet Advisor collectors.describeFleetAdvisorSchemaObjectSummaryPaginator
(Consumer<DescribeFleetAdvisorSchemaObjectSummaryRequest.Builder> describeFleetAdvisorSchemaObjectSummaryRequest) describeFleetAdvisorSchemaObjectSummaryPaginator
(DescribeFleetAdvisorSchemaObjectSummaryRequest describeFleetAdvisorSchemaObjectSummaryRequest) describeFleetAdvisorSchemas
(Consumer<DescribeFleetAdvisorSchemasRequest.Builder> describeFleetAdvisorSchemasRequest) Returns a list of schemas detected by Fleet Advisor Collectors in your account.describeFleetAdvisorSchemas
(DescribeFleetAdvisorSchemasRequest describeFleetAdvisorSchemasRequest) Returns a list of schemas detected by Fleet Advisor Collectors in your account.describeFleetAdvisorSchemasPaginator
(Consumer<DescribeFleetAdvisorSchemasRequest.Builder> describeFleetAdvisorSchemasRequest) This is a variant ofdescribeFleetAdvisorSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasRequest)
operation.describeFleetAdvisorSchemasPaginator
(DescribeFleetAdvisorSchemasRequest describeFleetAdvisorSchemasRequest) This is a variant ofdescribeFleetAdvisorSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasRequest)
operation.describeInstanceProfiles
(Consumer<DescribeInstanceProfilesRequest.Builder> describeInstanceProfilesRequest) Returns a paginated list of instance profiles for your account in the current region.describeInstanceProfiles
(DescribeInstanceProfilesRequest describeInstanceProfilesRequest) Returns a paginated list of instance profiles for your account in the current region.describeInstanceProfilesPaginator
(Consumer<DescribeInstanceProfilesRequest.Builder> describeInstanceProfilesRequest) This is a variant ofdescribeInstanceProfiles(software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesRequest)
operation.describeInstanceProfilesPaginator
(DescribeInstanceProfilesRequest describeInstanceProfilesRequest) This is a variant ofdescribeInstanceProfiles(software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesRequest)
operation.describeMetadataModelAssessments
(Consumer<DescribeMetadataModelAssessmentsRequest.Builder> describeMetadataModelAssessmentsRequest) Returns a paginated list of metadata model assessments for your account in the current region.describeMetadataModelAssessments
(DescribeMetadataModelAssessmentsRequest describeMetadataModelAssessmentsRequest) Returns a paginated list of metadata model assessments for your account in the current region.describeMetadataModelAssessmentsPaginator
(Consumer<DescribeMetadataModelAssessmentsRequest.Builder> describeMetadataModelAssessmentsRequest) describeMetadataModelAssessmentsPaginator
(DescribeMetadataModelAssessmentsRequest describeMetadataModelAssessmentsRequest) describeMetadataModelConversions
(Consumer<DescribeMetadataModelConversionsRequest.Builder> describeMetadataModelConversionsRequest) Returns a paginated list of metadata model conversions for a migration project.describeMetadataModelConversions
(DescribeMetadataModelConversionsRequest describeMetadataModelConversionsRequest) Returns a paginated list of metadata model conversions for a migration project.describeMetadataModelConversionsPaginator
(Consumer<DescribeMetadataModelConversionsRequest.Builder> describeMetadataModelConversionsRequest) describeMetadataModelConversionsPaginator
(DescribeMetadataModelConversionsRequest describeMetadataModelConversionsRequest) describeMetadataModelExportsAsScript
(Consumer<DescribeMetadataModelExportsAsScriptRequest.Builder> describeMetadataModelExportsAsScriptRequest) Returns a paginated list of metadata model exports.describeMetadataModelExportsAsScript
(DescribeMetadataModelExportsAsScriptRequest describeMetadataModelExportsAsScriptRequest) Returns a paginated list of metadata model exports.describeMetadataModelExportsAsScriptPaginator
(Consumer<DescribeMetadataModelExportsAsScriptRequest.Builder> describeMetadataModelExportsAsScriptRequest) describeMetadataModelExportsAsScriptPaginator
(DescribeMetadataModelExportsAsScriptRequest describeMetadataModelExportsAsScriptRequest) describeMetadataModelExportsToTarget
(Consumer<DescribeMetadataModelExportsToTargetRequest.Builder> describeMetadataModelExportsToTargetRequest) Returns a paginated list of metadata model exports.describeMetadataModelExportsToTarget
(DescribeMetadataModelExportsToTargetRequest describeMetadataModelExportsToTargetRequest) Returns a paginated list of metadata model exports.describeMetadataModelExportsToTargetPaginator
(Consumer<DescribeMetadataModelExportsToTargetRequest.Builder> describeMetadataModelExportsToTargetRequest) describeMetadataModelExportsToTargetPaginator
(DescribeMetadataModelExportsToTargetRequest describeMetadataModelExportsToTargetRequest) describeMetadataModelImports
(Consumer<DescribeMetadataModelImportsRequest.Builder> describeMetadataModelImportsRequest) Returns a paginated list of metadata model imports.describeMetadataModelImports
(DescribeMetadataModelImportsRequest describeMetadataModelImportsRequest) Returns a paginated list of metadata model imports.describeMetadataModelImportsPaginator
(Consumer<DescribeMetadataModelImportsRequest.Builder> describeMetadataModelImportsRequest) This is a variant ofdescribeMetadataModelImports(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsRequest)
operation.describeMetadataModelImportsPaginator
(DescribeMetadataModelImportsRequest describeMetadataModelImportsRequest) This is a variant ofdescribeMetadataModelImports(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsRequest)
operation.describeMigrationProjects
(Consumer<DescribeMigrationProjectsRequest.Builder> describeMigrationProjectsRequest) Returns a paginated list of migration projects for your account in the current region.describeMigrationProjects
(DescribeMigrationProjectsRequest describeMigrationProjectsRequest) Returns a paginated list of migration projects for your account in the current region.describeMigrationProjectsPaginator
(Consumer<DescribeMigrationProjectsRequest.Builder> describeMigrationProjectsRequest) This is a variant ofdescribeMigrationProjects(software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsRequest)
operation.describeMigrationProjectsPaginator
(DescribeMigrationProjectsRequest describeMigrationProjectsRequest) This is a variant ofdescribeMigrationProjects(software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsRequest)
operation.Returns information about the replication instance types that can be created in the specified region.describeOrderableReplicationInstances
(Consumer<DescribeOrderableReplicationInstancesRequest.Builder> describeOrderableReplicationInstancesRequest) Returns information about the replication instance types that can be created in the specified region.describeOrderableReplicationInstances
(DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest) Returns information about the replication instance types that can be created in the specified region.describeOrderableReplicationInstancesPaginator
(Consumer<DescribeOrderableReplicationInstancesRequest.Builder> describeOrderableReplicationInstancesRequest) describeOrderableReplicationInstancesPaginator
(DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest) describePendingMaintenanceActions
(Consumer<DescribePendingMaintenanceActionsRequest.Builder> describePendingMaintenanceActionsRequest) For internal use onlydescribePendingMaintenanceActions
(DescribePendingMaintenanceActionsRequest describePendingMaintenanceActionsRequest) For internal use onlydescribePendingMaintenanceActionsPaginator
(Consumer<DescribePendingMaintenanceActionsRequest.Builder> describePendingMaintenanceActionsRequest) describePendingMaintenanceActionsPaginator
(DescribePendingMaintenanceActionsRequest describePendingMaintenanceActionsRequest) describeRecommendationLimitations
(Consumer<DescribeRecommendationLimitationsRequest.Builder> describeRecommendationLimitationsRequest) Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.describeRecommendationLimitations
(DescribeRecommendationLimitationsRequest describeRecommendationLimitationsRequest) Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.describeRecommendationLimitationsPaginator
(Consumer<DescribeRecommendationLimitationsRequest.Builder> describeRecommendationLimitationsRequest) describeRecommendationLimitationsPaginator
(DescribeRecommendationLimitationsRequest describeRecommendationLimitationsRequest) describeRecommendations
(Consumer<DescribeRecommendationsRequest.Builder> describeRecommendationsRequest) Returns a paginated list of target engine recommendations for your source databases.describeRecommendations
(DescribeRecommendationsRequest describeRecommendationsRequest) Returns a paginated list of target engine recommendations for your source databases.default DescribeRecommendationsPublisher
describeRecommendationsPaginator
(Consumer<DescribeRecommendationsRequest.Builder> describeRecommendationsRequest) This is a variant ofdescribeRecommendations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsRequest)
operation.default DescribeRecommendationsPublisher
describeRecommendationsPaginator
(DescribeRecommendationsRequest describeRecommendationsRequest) This is a variant ofdescribeRecommendations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsRequest)
operation.describeRefreshSchemasStatus
(Consumer<DescribeRefreshSchemasStatusRequest.Builder> describeRefreshSchemasStatusRequest) Returns the status of the RefreshSchemas operation.describeRefreshSchemasStatus
(DescribeRefreshSchemasStatusRequest describeRefreshSchemasStatusRequest) Returns the status of the RefreshSchemas operation.describeReplicationConfigs
(Consumer<DescribeReplicationConfigsRequest.Builder> describeReplicationConfigsRequest) Returns one or more existing DMS Serverless replication configurations as a list of structures.describeReplicationConfigs
(DescribeReplicationConfigsRequest describeReplicationConfigsRequest) Returns one or more existing DMS Serverless replication configurations as a list of structures.describeReplicationConfigsPaginator
(Consumer<DescribeReplicationConfigsRequest.Builder> describeReplicationConfigsRequest) This is a variant ofdescribeReplicationConfigs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsRequest)
operation.describeReplicationConfigsPaginator
(DescribeReplicationConfigsRequest describeReplicationConfigsRequest) This is a variant ofdescribeReplicationConfigs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsRequest)
operation.Returns information about replication instances for your account in the current region.describeReplicationInstances
(Consumer<DescribeReplicationInstancesRequest.Builder> describeReplicationInstancesRequest) Returns information about replication instances for your account in the current region.describeReplicationInstances
(DescribeReplicationInstancesRequest describeReplicationInstancesRequest) Returns information about replication instances for your account in the current region.This is a variant ofdescribeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)
operation.describeReplicationInstancesPaginator
(Consumer<DescribeReplicationInstancesRequest.Builder> describeReplicationInstancesRequest) This is a variant ofdescribeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)
operation.describeReplicationInstancesPaginator
(DescribeReplicationInstancesRequest describeReplicationInstancesRequest) This is a variant ofdescribeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)
operation.describeReplicationInstanceTaskLogs
(Consumer<DescribeReplicationInstanceTaskLogsRequest.Builder> describeReplicationInstanceTaskLogsRequest) Returns information about the task logs for the specified task.describeReplicationInstanceTaskLogs
(DescribeReplicationInstanceTaskLogsRequest describeReplicationInstanceTaskLogsRequest) Returns information about the task logs for the specified task.describeReplicationInstanceTaskLogsPaginator
(Consumer<DescribeReplicationInstanceTaskLogsRequest.Builder> describeReplicationInstanceTaskLogsRequest) describeReplicationInstanceTaskLogsPaginator
(DescribeReplicationInstanceTaskLogsRequest describeReplicationInstanceTaskLogsRequest) describeReplications
(Consumer<DescribeReplicationsRequest.Builder> describeReplicationsRequest) Provides details on replication progress by returning status information for one or more provisioned DMS Serverless replications.describeReplications
(DescribeReplicationsRequest describeReplicationsRequest) Provides details on replication progress by returning status information for one or more provisioned DMS Serverless replications.default DescribeReplicationsPublisher
describeReplicationsPaginator
(Consumer<DescribeReplicationsRequest.Builder> describeReplicationsRequest) This is a variant ofdescribeReplications(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsRequest)
operation.default DescribeReplicationsPublisher
describeReplicationsPaginator
(DescribeReplicationsRequest describeReplicationsRequest) This is a variant ofdescribeReplications(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsRequest)
operation.Returns information about the replication subnet groups.describeReplicationSubnetGroups
(Consumer<DescribeReplicationSubnetGroupsRequest.Builder> describeReplicationSubnetGroupsRequest) Returns information about the replication subnet groups.describeReplicationSubnetGroups
(DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest) Returns information about the replication subnet groups.This is a variant ofdescribeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)
operation.describeReplicationSubnetGroupsPaginator
(Consumer<DescribeReplicationSubnetGroupsRequest.Builder> describeReplicationSubnetGroupsRequest) This is a variant ofdescribeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)
operation.describeReplicationSubnetGroupsPaginator
(DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest) This is a variant ofdescribeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)
operation.describeReplicationTableStatistics
(Consumer<DescribeReplicationTableStatisticsRequest.Builder> describeReplicationTableStatisticsRequest) Returns table and schema statistics for one or more provisioned replications that use a given DMS Serverless replication configuration.describeReplicationTableStatistics
(DescribeReplicationTableStatisticsRequest describeReplicationTableStatisticsRequest) Returns table and schema statistics for one or more provisioned replications that use a given DMS Serverless replication configuration.describeReplicationTableStatisticsPaginator
(Consumer<DescribeReplicationTableStatisticsRequest.Builder> describeReplicationTableStatisticsRequest) describeReplicationTableStatisticsPaginator
(DescribeReplicationTableStatisticsRequest describeReplicationTableStatisticsRequest) describeReplicationTaskAssessmentResults
(Consumer<DescribeReplicationTaskAssessmentResultsRequest.Builder> describeReplicationTaskAssessmentResultsRequest) Returns the task assessment results from the Amazon S3 bucket that DMS creates in your Amazon Web Services account.describeReplicationTaskAssessmentResults
(DescribeReplicationTaskAssessmentResultsRequest describeReplicationTaskAssessmentResultsRequest) Returns the task assessment results from the Amazon S3 bucket that DMS creates in your Amazon Web Services account.describeReplicationTaskAssessmentResultsPaginator
(Consumer<DescribeReplicationTaskAssessmentResultsRequest.Builder> describeReplicationTaskAssessmentResultsRequest) describeReplicationTaskAssessmentResultsPaginator
(DescribeReplicationTaskAssessmentResultsRequest describeReplicationTaskAssessmentResultsRequest) describeReplicationTaskAssessmentRuns
(Consumer<DescribeReplicationTaskAssessmentRunsRequest.Builder> describeReplicationTaskAssessmentRunsRequest) Returns a paginated list of premigration assessment runs based on filter settings.describeReplicationTaskAssessmentRuns
(DescribeReplicationTaskAssessmentRunsRequest describeReplicationTaskAssessmentRunsRequest) Returns a paginated list of premigration assessment runs based on filter settings.describeReplicationTaskAssessmentRunsPaginator
(Consumer<DescribeReplicationTaskAssessmentRunsRequest.Builder> describeReplicationTaskAssessmentRunsRequest) describeReplicationTaskAssessmentRunsPaginator
(DescribeReplicationTaskAssessmentRunsRequest describeReplicationTaskAssessmentRunsRequest) describeReplicationTaskIndividualAssessments
(Consumer<DescribeReplicationTaskIndividualAssessmentsRequest.Builder> describeReplicationTaskIndividualAssessmentsRequest) Returns a paginated list of individual assessments based on filter settings.describeReplicationTaskIndividualAssessments
(DescribeReplicationTaskIndividualAssessmentsRequest describeReplicationTaskIndividualAssessmentsRequest) Returns a paginated list of individual assessments based on filter settings.describeReplicationTaskIndividualAssessmentsPaginator
(Consumer<DescribeReplicationTaskIndividualAssessmentsRequest.Builder> describeReplicationTaskIndividualAssessmentsRequest) describeReplicationTaskIndividualAssessmentsPaginator
(DescribeReplicationTaskIndividualAssessmentsRequest describeReplicationTaskIndividualAssessmentsRequest) Returns information about replication tasks for your account in the current region.describeReplicationTasks
(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest) Returns information about replication tasks for your account in the current region.describeReplicationTasks
(DescribeReplicationTasksRequest describeReplicationTasksRequest) Returns information about replication tasks for your account in the current region.This is a variant ofdescribeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)
operation.describeReplicationTasksPaginator
(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest) This is a variant ofdescribeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)
operation.describeReplicationTasksPaginator
(DescribeReplicationTasksRequest describeReplicationTasksRequest) This is a variant ofdescribeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)
operation.default CompletableFuture
<DescribeSchemasResponse> describeSchemas
(Consumer<DescribeSchemasRequest.Builder> describeSchemasRequest) Returns information about the schema for the specified endpoint.default CompletableFuture
<DescribeSchemasResponse> describeSchemas
(DescribeSchemasRequest describeSchemasRequest) Returns information about the schema for the specified endpoint.default DescribeSchemasPublisher
describeSchemasPaginator
(Consumer<DescribeSchemasRequest.Builder> describeSchemasRequest) This is a variant ofdescribeSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest)
operation.default DescribeSchemasPublisher
describeSchemasPaginator
(DescribeSchemasRequest describeSchemasRequest) This is a variant ofdescribeSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest)
operation.describeTableStatistics
(Consumer<DescribeTableStatisticsRequest.Builder> describeTableStatisticsRequest) Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.describeTableStatistics
(DescribeTableStatisticsRequest describeTableStatisticsRequest) Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.default DescribeTableStatisticsPublisher
describeTableStatisticsPaginator
(Consumer<DescribeTableStatisticsRequest.Builder> describeTableStatisticsRequest) This is a variant ofdescribeTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest)
operation.default DescribeTableStatisticsPublisher
describeTableStatisticsPaginator
(DescribeTableStatisticsRequest describeTableStatisticsRequest) This is a variant ofdescribeTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest)
operation.exportMetadataModelAssessment
(Consumer<ExportMetadataModelAssessmentRequest.Builder> exportMetadataModelAssessmentRequest) Saves a copy of a database migration assessment report to your Amazon S3 bucket.exportMetadataModelAssessment
(ExportMetadataModelAssessmentRequest exportMetadataModelAssessmentRequest) Saves a copy of a database migration assessment report to your Amazon S3 bucket.importCertificate
(Consumer<ImportCertificateRequest.Builder> importCertificateRequest) Uploads the specified certificate.importCertificate
(ImportCertificateRequest importCertificateRequest) Uploads the specified certificate.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all metadata tags attached to an DMS resource, including replication instance, endpoint, subnet group, and migration task.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists all metadata tags attached to an DMS resource, including replication instance, endpoint, subnet group, and migration task.modifyConversionConfiguration
(Consumer<ModifyConversionConfigurationRequest.Builder> modifyConversionConfigurationRequest) Modifies the specified schema conversion configuration using the provided parameters.modifyConversionConfiguration
(ModifyConversionConfigurationRequest modifyConversionConfigurationRequest) Modifies the specified schema conversion configuration using the provided parameters.modifyDataProvider
(Consumer<ModifyDataProviderRequest.Builder> modifyDataProviderRequest) Modifies the specified data provider using the provided settings.modifyDataProvider
(ModifyDataProviderRequest modifyDataProviderRequest) Modifies the specified data provider using the provided settings.default CompletableFuture
<ModifyEndpointResponse> modifyEndpoint
(Consumer<ModifyEndpointRequest.Builder> modifyEndpointRequest) Modifies the specified endpoint.default CompletableFuture
<ModifyEndpointResponse> modifyEndpoint
(ModifyEndpointRequest modifyEndpointRequest) Modifies the specified endpoint.modifyEventSubscription
(Consumer<ModifyEventSubscriptionRequest.Builder> modifyEventSubscriptionRequest) Modifies an existing DMS event notification subscription.modifyEventSubscription
(ModifyEventSubscriptionRequest modifyEventSubscriptionRequest) Modifies an existing DMS event notification subscription.modifyInstanceProfile
(Consumer<ModifyInstanceProfileRequest.Builder> modifyInstanceProfileRequest) Modifies the specified instance profile using the provided parameters.modifyInstanceProfile
(ModifyInstanceProfileRequest modifyInstanceProfileRequest) Modifies the specified instance profile using the provided parameters.modifyMigrationProject
(Consumer<ModifyMigrationProjectRequest.Builder> modifyMigrationProjectRequest) Modifies the specified migration project using the provided parameters.modifyMigrationProject
(ModifyMigrationProjectRequest modifyMigrationProjectRequest) Modifies the specified migration project using the provided parameters.modifyReplicationConfig
(Consumer<ModifyReplicationConfigRequest.Builder> modifyReplicationConfigRequest) Modifies an existing DMS Serverless replication configuration that you can use to start a replication.modifyReplicationConfig
(ModifyReplicationConfigRequest modifyReplicationConfigRequest) Modifies an existing DMS Serverless replication configuration that you can use to start a replication.modifyReplicationInstance
(Consumer<ModifyReplicationInstanceRequest.Builder> modifyReplicationInstanceRequest) Modifies the replication instance to apply new settings.modifyReplicationInstance
(ModifyReplicationInstanceRequest modifyReplicationInstanceRequest) Modifies the replication instance to apply new settings.modifyReplicationSubnetGroup
(Consumer<ModifyReplicationSubnetGroupRequest.Builder> modifyReplicationSubnetGroupRequest) Modifies the settings for the specified replication subnet group.modifyReplicationSubnetGroup
(ModifyReplicationSubnetGroupRequest modifyReplicationSubnetGroupRequest) Modifies the settings for the specified replication subnet group.modifyReplicationTask
(Consumer<ModifyReplicationTaskRequest.Builder> modifyReplicationTaskRequest) Modifies the specified replication task.modifyReplicationTask
(ModifyReplicationTaskRequest modifyReplicationTaskRequest) Modifies the specified replication task.moveReplicationTask
(Consumer<MoveReplicationTaskRequest.Builder> moveReplicationTaskRequest) Moves a replication task from its current replication instance to a different target replication instance using the specified parameters.moveReplicationTask
(MoveReplicationTaskRequest moveReplicationTaskRequest) Moves a replication task from its current replication instance to a different target replication instance using the specified parameters.rebootReplicationInstance
(Consumer<RebootReplicationInstanceRequest.Builder> rebootReplicationInstanceRequest) Reboots a replication instance.rebootReplicationInstance
(RebootReplicationInstanceRequest rebootReplicationInstanceRequest) Reboots a replication instance.default CompletableFuture
<RefreshSchemasResponse> refreshSchemas
(Consumer<RefreshSchemasRequest.Builder> refreshSchemasRequest) Populates the schema for the specified endpoint.default CompletableFuture
<RefreshSchemasResponse> refreshSchemas
(RefreshSchemasRequest refreshSchemasRequest) Populates the schema for the specified endpoint.reloadReplicationTables
(Consumer<ReloadReplicationTablesRequest.Builder> reloadReplicationTablesRequest) Reloads the target database table with the source data for a given DMS Serverless replication configuration.reloadReplicationTables
(ReloadReplicationTablesRequest reloadReplicationTablesRequest) Reloads the target database table with the source data for a given DMS Serverless replication configuration.default CompletableFuture
<ReloadTablesResponse> reloadTables
(Consumer<ReloadTablesRequest.Builder> reloadTablesRequest) Reloads the target database table with the source data.default CompletableFuture
<ReloadTablesResponse> reloadTables
(ReloadTablesRequest reloadTablesRequest) Reloads the target database table with the source data.removeTagsFromResource
(Consumer<RemoveTagsFromResourceRequest.Builder> removeTagsFromResourceRequest) Removes metadata tags from an DMS resource, including replication instance, endpoint, subnet group, and migration task.removeTagsFromResource
(RemoveTagsFromResourceRequest removeTagsFromResourceRequest) Removes metadata tags from an DMS resource, including replication instance, endpoint, subnet group, and migration task.runFleetAdvisorLsaAnalysis
(Consumer<RunFleetAdvisorLsaAnalysisRequest.Builder> runFleetAdvisorLsaAnalysisRequest) Runs large-scale assessment (LSA) analysis on every Fleet Advisor collector in your account.runFleetAdvisorLsaAnalysis
(RunFleetAdvisorLsaAnalysisRequest runFleetAdvisorLsaAnalysisRequest) Runs large-scale assessment (LSA) analysis on every Fleet Advisor collector in your account.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartExtensionPackAssociation
(Consumer<StartExtensionPackAssociationRequest.Builder> startExtensionPackAssociationRequest) Applies the extension pack to your target database.startExtensionPackAssociation
(StartExtensionPackAssociationRequest startExtensionPackAssociationRequest) Applies the extension pack to your target database.startMetadataModelAssessment
(Consumer<StartMetadataModelAssessmentRequest.Builder> startMetadataModelAssessmentRequest) Creates a database migration assessment report by assessing the migration complexity for your source database.startMetadataModelAssessment
(StartMetadataModelAssessmentRequest startMetadataModelAssessmentRequest) Creates a database migration assessment report by assessing the migration complexity for your source database.startMetadataModelConversion
(Consumer<StartMetadataModelConversionRequest.Builder> startMetadataModelConversionRequest) Converts your source database objects to a format compatible with the target database.startMetadataModelConversion
(StartMetadataModelConversionRequest startMetadataModelConversionRequest) Converts your source database objects to a format compatible with the target database.startMetadataModelExportAsScript
(Consumer<StartMetadataModelExportAsScriptRequest.Builder> startMetadataModelExportAsScriptRequest) Saves your converted code to a file as a SQL script, and stores this file on your Amazon S3 bucket.startMetadataModelExportAsScript
(StartMetadataModelExportAsScriptRequest startMetadataModelExportAsScriptRequest) Saves your converted code to a file as a SQL script, and stores this file on your Amazon S3 bucket.startMetadataModelExportToTarget
(Consumer<StartMetadataModelExportToTargetRequest.Builder> startMetadataModelExportToTargetRequest) Applies converted database objects to your target database.startMetadataModelExportToTarget
(StartMetadataModelExportToTargetRequest startMetadataModelExportToTargetRequest) Applies converted database objects to your target database.startMetadataModelImport
(Consumer<StartMetadataModelImportRequest.Builder> startMetadataModelImportRequest) Loads the metadata for all the dependent database objects of the parent object.startMetadataModelImport
(StartMetadataModelImportRequest startMetadataModelImportRequest) Loads the metadata for all the dependent database objects of the parent object.startRecommendations
(Consumer<StartRecommendationsRequest.Builder> startRecommendationsRequest) Starts the analysis of your source database to provide recommendations of target engines.startRecommendations
(StartRecommendationsRequest startRecommendationsRequest) Starts the analysis of your source database to provide recommendations of target engines.startReplication
(Consumer<StartReplicationRequest.Builder> startReplicationRequest) For a given DMS Serverless replication configuration, DMS connects to the source endpoint and collects the metadata to analyze the replication workload.startReplication
(StartReplicationRequest startReplicationRequest) For a given DMS Serverless replication configuration, DMS connects to the source endpoint and collects the metadata to analyze the replication workload.startReplicationTask
(Consumer<StartReplicationTaskRequest.Builder> startReplicationTaskRequest) Starts the replication task.startReplicationTask
(StartReplicationTaskRequest startReplicationTaskRequest) Starts the replication task.startReplicationTaskAssessment
(Consumer<StartReplicationTaskAssessmentRequest.Builder> startReplicationTaskAssessmentRequest) Starts the replication task assessment for unsupported data types in the source database.startReplicationTaskAssessment
(StartReplicationTaskAssessmentRequest startReplicationTaskAssessmentRequest) Starts the replication task assessment for unsupported data types in the source database.startReplicationTaskAssessmentRun
(Consumer<StartReplicationTaskAssessmentRunRequest.Builder> startReplicationTaskAssessmentRunRequest) Starts a new premigration assessment run for one or more individual assessments of a migration task.startReplicationTaskAssessmentRun
(StartReplicationTaskAssessmentRunRequest startReplicationTaskAssessmentRunRequest) Starts a new premigration assessment run for one or more individual assessments of a migration task.default CompletableFuture
<StopReplicationResponse> stopReplication
(Consumer<StopReplicationRequest.Builder> stopReplicationRequest) For a given DMS Serverless replication configuration, DMS stops any and all ongoing DMS Serverless replications.default CompletableFuture
<StopReplicationResponse> stopReplication
(StopReplicationRequest stopReplicationRequest) For a given DMS Serverless replication configuration, DMS stops any and all ongoing DMS Serverless replications.stopReplicationTask
(Consumer<StopReplicationTaskRequest.Builder> stopReplicationTaskRequest) Stops the replication task.stopReplicationTask
(StopReplicationTaskRequest stopReplicationTaskRequest) Stops the replication task.default CompletableFuture
<TestConnectionResponse> testConnection
(Consumer<TestConnectionRequest.Builder> testConnectionRequest) Tests the connection between the replication instance and the endpoint.default CompletableFuture
<TestConnectionResponse> testConnection
(TestConnectionRequest testConnectionRequest) Tests the connection between the replication instance and the endpoint.updateSubscriptionsToEventBridge
(Consumer<UpdateSubscriptionsToEventBridgeRequest.Builder> updateSubscriptionsToEventBridgeRequest) Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to corresponding Amazon EventBridge rules.updateSubscriptionsToEventBridge
(UpdateSubscriptionsToEventBridgeRequest updateSubscriptionsToEventBridgeRequest) Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to corresponding Amazon EventBridge rules.default DatabaseMigrationAsyncWaiter
waiter()
Create an instance ofDatabaseMigrationAsyncWaiter
using this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
addTagsToResource
default CompletableFuture<AddTagsToResourceResponse> addTagsToResource(AddTagsToResourceRequest addTagsToResourceRequest) Adds metadata tags to an DMS resource, including replication instance, endpoint, subnet group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with DMS resources, or used in a Condition statement in an IAM policy for DMS. For more information, see
Tag
data type description.- Parameters:
addTagsToResourceRequest
- Associates a set of tags with an DMS resource.- Returns:
- A Java Future containing the result of the AddTagsToResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addTagsToResource
default CompletableFuture<AddTagsToResourceResponse> addTagsToResource(Consumer<AddTagsToResourceRequest.Builder> addTagsToResourceRequest) Adds metadata tags to an DMS resource, including replication instance, endpoint, subnet group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with DMS resources, or used in a Condition statement in an IAM policy for DMS. For more information, see
Tag
data type description.
This is a convenience which creates an instance of the
AddTagsToResourceRequest.Builder
avoiding the need to create one manually viaAddTagsToResourceRequest.builder()
- Parameters:
addTagsToResourceRequest
- AConsumer
that will call methods onAddTagsToResourceRequest.Builder
to create a request. Associates a set of tags with an DMS resource.- Returns:
- A Java Future containing the result of the AddTagsToResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
applyPendingMaintenanceAction
default CompletableFuture<ApplyPendingMaintenanceActionResponse> applyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest applyPendingMaintenanceActionRequest) Applies a pending maintenance action to a resource (for example, to a replication instance).
- Parameters:
applyPendingMaintenanceActionRequest
-- Returns:
- A Java Future containing the result of the ApplyPendingMaintenanceAction operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
applyPendingMaintenanceAction
default CompletableFuture<ApplyPendingMaintenanceActionResponse> applyPendingMaintenanceAction(Consumer<ApplyPendingMaintenanceActionRequest.Builder> applyPendingMaintenanceActionRequest) Applies a pending maintenance action to a resource (for example, to a replication instance).
This is a convenience which creates an instance of the
ApplyPendingMaintenanceActionRequest.Builder
avoiding the need to create one manually viaApplyPendingMaintenanceActionRequest.builder()
- Parameters:
applyPendingMaintenanceActionRequest
- AConsumer
that will call methods onApplyPendingMaintenanceActionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ApplyPendingMaintenanceAction operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchStartRecommendations
default CompletableFuture<BatchStartRecommendationsResponse> batchStartRecommendations(BatchStartRecommendationsRequest batchStartRecommendationsRequest) Starts the analysis of up to 20 source databases to recommend target engines for each source database. This is a batch version of StartRecommendations .
The result of analysis of each source database is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of
200
.- Parameters:
batchStartRecommendationsRequest
-- Returns:
- A Java Future containing the result of the BatchStartRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchStartRecommendations
default CompletableFuture<BatchStartRecommendationsResponse> batchStartRecommendations(Consumer<BatchStartRecommendationsRequest.Builder> batchStartRecommendationsRequest) Starts the analysis of up to 20 source databases to recommend target engines for each source database. This is a batch version of StartRecommendations .
The result of analysis of each source database is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of
200
.
This is a convenience which creates an instance of the
BatchStartRecommendationsRequest.Builder
avoiding the need to create one manually viaBatchStartRecommendationsRequest.builder()
- Parameters:
batchStartRecommendationsRequest
- AConsumer
that will call methods onBatchStartRecommendationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the BatchStartRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelReplicationTaskAssessmentRun
default CompletableFuture<CancelReplicationTaskAssessmentRunResponse> cancelReplicationTaskAssessmentRun(CancelReplicationTaskAssessmentRunRequest cancelReplicationTaskAssessmentRunRequest) Cancels a single premigration assessment run.
This operation prevents any individual assessments from running if they haven't started running. It also attempts to cancel any individual assessments that are currently running.
- Parameters:
cancelReplicationTaskAssessmentRunRequest
-- Returns:
- A Java Future containing the result of the CancelReplicationTaskAssessmentRun operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelReplicationTaskAssessmentRun
default CompletableFuture<CancelReplicationTaskAssessmentRunResponse> cancelReplicationTaskAssessmentRun(Consumer<CancelReplicationTaskAssessmentRunRequest.Builder> cancelReplicationTaskAssessmentRunRequest) Cancels a single premigration assessment run.
This operation prevents any individual assessments from running if they haven't started running. It also attempts to cancel any individual assessments that are currently running.
This is a convenience which creates an instance of the
CancelReplicationTaskAssessmentRunRequest.Builder
avoiding the need to create one manually viaCancelReplicationTaskAssessmentRunRequest.builder()
- Parameters:
cancelReplicationTaskAssessmentRunRequest
- AConsumer
that will call methods onCancelReplicationTaskAssessmentRunRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CancelReplicationTaskAssessmentRun operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDataProvider
default CompletableFuture<CreateDataProviderResponse> createDataProvider(CreateDataProviderRequest createDataProviderRequest) Creates a data provider using the provided settings. A data provider stores a data store type and location information about your database.
- Parameters:
createDataProviderRequest
-- Returns:
- A Java Future containing the result of the CreateDataProvider operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDataProvider
default CompletableFuture<CreateDataProviderResponse> createDataProvider(Consumer<CreateDataProviderRequest.Builder> createDataProviderRequest) Creates a data provider using the provided settings. A data provider stores a data store type and location information about your database.
This is a convenience which creates an instance of the
CreateDataProviderRequest.Builder
avoiding the need to create one manually viaCreateDataProviderRequest.builder()
- Parameters:
createDataProviderRequest
- AConsumer
that will call methods onCreateDataProviderRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDataProvider operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEndpoint
default CompletableFuture<CreateEndpointResponse> createEndpoint(CreateEndpointRequest createEndpointRequest) Creates an endpoint using the provided settings.
For a MySQL source or target endpoint, don't explicitly specify the database using the
DatabaseName
request parameter on theCreateEndpoint
API call. SpecifyingDatabaseName
when you create a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task.- Parameters:
createEndpointRequest
-- Returns:
- A Java Future containing the result of the CreateEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEndpoint
default CompletableFuture<CreateEndpointResponse> createEndpoint(Consumer<CreateEndpointRequest.Builder> createEndpointRequest) Creates an endpoint using the provided settings.
For a MySQL source or target endpoint, don't explicitly specify the database using the
DatabaseName
request parameter on theCreateEndpoint
API call. SpecifyingDatabaseName
when you create a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task.
This is a convenience which creates an instance of the
CreateEndpointRequest.Builder
avoiding the need to create one manually viaCreateEndpointRequest.builder()
- Parameters:
createEndpointRequest
- AConsumer
that will call methods onCreateEndpointRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEventSubscription
default CompletableFuture<CreateEventSubscriptionResponse> createEventSubscription(CreateEventSubscriptionRequest createEventSubscriptionRequest) Creates an DMS event notification subscription.
You can specify the type of source (
SourceType
) you want to be notified of, provide a list of DMS source IDs (SourceIds
) that triggers the events, and provide a list of event categories (EventCategories
) for events you want to be notified of. If you specify both theSourceType
andSourceIds
, such asSourceType = replication-instance
andSourceIdentifier = my-replinstance
, you will be notified of all the replication instance events for the specified source. If you specify aSourceType
but don't specify aSourceIdentifier
, you receive notice of the events for that source type for all your DMS sources. If you don't specify eitherSourceType
norSourceIdentifier
, you will be notified of events generated from all DMS sources belonging to your customer account.For more information about DMS events, see Working with Events and Notifications in the Database Migration Service User Guide.
- Parameters:
createEventSubscriptionRequest
-- Returns:
- A Java Future containing the result of the CreateEventSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- ResourceNotFoundException The resource could not be found.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- SnsInvalidTopicException The SNS topic is invalid.
- SnsNoAuthorizationException You are not authorized for the SNS subscription.
- KmsAccessDeniedException The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
- KmsDisabledException The specified KMS key isn't enabled.
- KmsInvalidStateException The state of the specified KMS resource isn't valid for this request.
- KmsNotFoundException The specified KMS entity or resource can't be found.
- KmsThrottlingException This request triggered KMS request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEventSubscription
default CompletableFuture<CreateEventSubscriptionResponse> createEventSubscription(Consumer<CreateEventSubscriptionRequest.Builder> createEventSubscriptionRequest) Creates an DMS event notification subscription.
You can specify the type of source (
SourceType
) you want to be notified of, provide a list of DMS source IDs (SourceIds
) that triggers the events, and provide a list of event categories (EventCategories
) for events you want to be notified of. If you specify both theSourceType
andSourceIds
, such asSourceType = replication-instance
andSourceIdentifier = my-replinstance
, you will be notified of all the replication instance events for the specified source. If you specify aSourceType
but don't specify aSourceIdentifier
, you receive notice of the events for that source type for all your DMS sources. If you don't specify eitherSourceType
norSourceIdentifier
, you will be notified of events generated from all DMS sources belonging to your customer account.For more information about DMS events, see Working with Events and Notifications in the Database Migration Service User Guide.
This is a convenience which creates an instance of the
CreateEventSubscriptionRequest.Builder
avoiding the need to create one manually viaCreateEventSubscriptionRequest.builder()
- Parameters:
createEventSubscriptionRequest
- AConsumer
that will call methods onCreateEventSubscriptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateEventSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- ResourceNotFoundException The resource could not be found.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- SnsInvalidTopicException The SNS topic is invalid.
- SnsNoAuthorizationException You are not authorized for the SNS subscription.
- KmsAccessDeniedException The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
- KmsDisabledException The specified KMS key isn't enabled.
- KmsInvalidStateException The state of the specified KMS resource isn't valid for this request.
- KmsNotFoundException The specified KMS entity or resource can't be found.
- KmsThrottlingException This request triggered KMS request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFleetAdvisorCollector
default CompletableFuture<CreateFleetAdvisorCollectorResponse> createFleetAdvisorCollector(CreateFleetAdvisorCollectorRequest createFleetAdvisorCollectorRequest) Creates a Fleet Advisor collector using the specified parameters.
- Parameters:
createFleetAdvisorCollectorRequest
-- Returns:
- A Java Future containing the result of the CreateFleetAdvisorCollector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFleetAdvisorCollector
default CompletableFuture<CreateFleetAdvisorCollectorResponse> createFleetAdvisorCollector(Consumer<CreateFleetAdvisorCollectorRequest.Builder> createFleetAdvisorCollectorRequest) Creates a Fleet Advisor collector using the specified parameters.
This is a convenience which creates an instance of the
CreateFleetAdvisorCollectorRequest.Builder
avoiding the need to create one manually viaCreateFleetAdvisorCollectorRequest.builder()
- Parameters:
createFleetAdvisorCollectorRequest
- AConsumer
that will call methods onCreateFleetAdvisorCollectorRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateFleetAdvisorCollector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createInstanceProfile
default CompletableFuture<CreateInstanceProfileResponse> createInstanceProfile(CreateInstanceProfileRequest createInstanceProfileRequest) Creates the instance profile using the specified parameters.
- Parameters:
createInstanceProfileRequest
-- Returns:
- A Java Future containing the result of the CreateInstanceProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createInstanceProfile
default CompletableFuture<CreateInstanceProfileResponse> createInstanceProfile(Consumer<CreateInstanceProfileRequest.Builder> createInstanceProfileRequest) Creates the instance profile using the specified parameters.
This is a convenience which creates an instance of the
CreateInstanceProfileRequest.Builder
avoiding the need to create one manually viaCreateInstanceProfileRequest.builder()
- Parameters:
createInstanceProfileRequest
- AConsumer
that will call methods onCreateInstanceProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateInstanceProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createMigrationProject
default CompletableFuture<CreateMigrationProjectResponse> createMigrationProject(CreateMigrationProjectRequest createMigrationProjectRequest) Creates the migration project using the specified parameters.
You can run this action only after you create an instance profile and data providers using CreateInstanceProfile and CreateDataProvider.
- Parameters:
createMigrationProjectRequest
-- Returns:
- A Java Future containing the result of the CreateMigrationProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- ResourceNotFoundException The resource could not be found.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createMigrationProject
default CompletableFuture<CreateMigrationProjectResponse> createMigrationProject(Consumer<CreateMigrationProjectRequest.Builder> createMigrationProjectRequest) Creates the migration project using the specified parameters.
You can run this action only after you create an instance profile and data providers using CreateInstanceProfile and CreateDataProvider.
This is a convenience which creates an instance of the
CreateMigrationProjectRequest.Builder
avoiding the need to create one manually viaCreateMigrationProjectRequest.builder()
- Parameters:
createMigrationProjectRequest
- AConsumer
that will call methods onCreateMigrationProjectRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateMigrationProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- ResourceNotFoundException The resource could not be found.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReplicationConfig
default CompletableFuture<CreateReplicationConfigResponse> createReplicationConfig(CreateReplicationConfigRequest createReplicationConfigRequest) Creates a configuration that you can later provide to configure and start an DMS Serverless replication. You can also provide options to validate the configuration inputs before you start the replication.
- Parameters:
createReplicationConfigRequest
-- Returns:
- A Java Future containing the result of the CreateReplicationConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidSubnetException The subnet provided isn't valid.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReplicationConfig
default CompletableFuture<CreateReplicationConfigResponse> createReplicationConfig(Consumer<CreateReplicationConfigRequest.Builder> createReplicationConfigRequest) Creates a configuration that you can later provide to configure and start an DMS Serverless replication. You can also provide options to validate the configuration inputs before you start the replication.
This is a convenience which creates an instance of the
CreateReplicationConfigRequest.Builder
avoiding the need to create one manually viaCreateReplicationConfigRequest.builder()
- Parameters:
createReplicationConfigRequest
- AConsumer
that will call methods onCreateReplicationConfigRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateReplicationConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidSubnetException The subnet provided isn't valid.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReplicationInstance
default CompletableFuture<CreateReplicationInstanceResponse> createReplicationInstance(CreateReplicationInstanceRequest createReplicationInstanceRequest) Creates the replication instance using the specified parameters.
DMS requires that your account have certain roles with appropriate permissions before you can create a replication instance. For information on the required roles, see Creating the IAM Roles to Use With the CLI and DMS API. For information on the required permissions, see IAM Permissions Needed to Use DMS.
If you don't specify a version when creating a replication instance, DMS will create the instance using the default engine version. For information about the default engine version, see Release Notes.
- Parameters:
createReplicationInstanceRequest
-- Returns:
- A Java Future containing the result of the CreateReplicationInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- InsufficientResourceCapacityException There are not enough resources allocated to the database migration.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- StorageQuotaExceededException The storage quota has been exceeded.
- ResourceNotFoundException The resource could not be found.
- ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- InvalidSubnetException The subnet provided isn't valid.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReplicationInstance
default CompletableFuture<CreateReplicationInstanceResponse> createReplicationInstance(Consumer<CreateReplicationInstanceRequest.Builder> createReplicationInstanceRequest) Creates the replication instance using the specified parameters.
DMS requires that your account have certain roles with appropriate permissions before you can create a replication instance. For information on the required roles, see Creating the IAM Roles to Use With the CLI and DMS API. For information on the required permissions, see IAM Permissions Needed to Use DMS.
If you don't specify a version when creating a replication instance, DMS will create the instance using the default engine version. For information about the default engine version, see Release Notes.
This is a convenience which creates an instance of the
CreateReplicationInstanceRequest.Builder
avoiding the need to create one manually viaCreateReplicationInstanceRequest.builder()
- Parameters:
createReplicationInstanceRequest
- AConsumer
that will call methods onCreateReplicationInstanceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateReplicationInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- InsufficientResourceCapacityException There are not enough resources allocated to the database migration.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- StorageQuotaExceededException The storage quota has been exceeded.
- ResourceNotFoundException The resource could not be found.
- ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- InvalidSubnetException The subnet provided isn't valid.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReplicationSubnetGroup
default CompletableFuture<CreateReplicationSubnetGroupResponse> createReplicationSubnetGroup(CreateReplicationSubnetGroupRequest createReplicationSubnetGroupRequest) Creates a replication subnet group given a list of the subnet IDs in a VPC.
The VPC needs to have at least one subnet in at least two availability zones in the Amazon Web Services Region, otherwise the service will throw a
ReplicationSubnetGroupDoesNotCoverEnoughAZs
exception.If a replication subnet group exists in your Amazon Web Services account, the CreateReplicationSubnetGroup action returns the following error message: The Replication Subnet Group already exists. In this case, delete the existing replication subnet group. To do so, use the DeleteReplicationSubnetGroup action. Optionally, choose Subnet groups in the DMS console, then choose your subnet group. Next, choose Delete from Actions.
- Parameters:
createReplicationSubnetGroupRequest
-- Returns:
- A Java Future containing the result of the CreateReplicationSubnetGroup operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidSubnetException The subnet provided isn't valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReplicationSubnetGroup
default CompletableFuture<CreateReplicationSubnetGroupResponse> createReplicationSubnetGroup(Consumer<CreateReplicationSubnetGroupRequest.Builder> createReplicationSubnetGroupRequest) Creates a replication subnet group given a list of the subnet IDs in a VPC.
The VPC needs to have at least one subnet in at least two availability zones in the Amazon Web Services Region, otherwise the service will throw a
ReplicationSubnetGroupDoesNotCoverEnoughAZs
exception.If a replication subnet group exists in your Amazon Web Services account, the CreateReplicationSubnetGroup action returns the following error message: The Replication Subnet Group already exists. In this case, delete the existing replication subnet group. To do so, use the DeleteReplicationSubnetGroup action. Optionally, choose Subnet groups in the DMS console, then choose your subnet group. Next, choose Delete from Actions.
This is a convenience which creates an instance of the
CreateReplicationSubnetGroupRequest.Builder
avoiding the need to create one manually viaCreateReplicationSubnetGroupRequest.builder()
- Parameters:
createReplicationSubnetGroupRequest
- AConsumer
that will call methods onCreateReplicationSubnetGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateReplicationSubnetGroup operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidSubnetException The subnet provided isn't valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReplicationTask
default CompletableFuture<CreateReplicationTaskResponse> createReplicationTask(CreateReplicationTaskRequest createReplicationTaskRequest) Creates a replication task using the specified parameters.
- Parameters:
createReplicationTaskRequest
-- Returns:
- A Java Future containing the result of the CreateReplicationTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReplicationTask
default CompletableFuture<CreateReplicationTaskResponse> createReplicationTask(Consumer<CreateReplicationTaskRequest.Builder> createReplicationTaskRequest) Creates a replication task using the specified parameters.
This is a convenience which creates an instance of the
CreateReplicationTaskRequest.Builder
avoiding the need to create one manually viaCreateReplicationTaskRequest.builder()
- Parameters:
createReplicationTaskRequest
- AConsumer
that will call methods onCreateReplicationTaskRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateReplicationTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCertificate
default CompletableFuture<DeleteCertificateResponse> deleteCertificate(DeleteCertificateRequest deleteCertificateRequest) Deletes the specified certificate.
- Parameters:
deleteCertificateRequest
-- Returns:
- A Java Future containing the result of the DeleteCertificate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCertificate
default CompletableFuture<DeleteCertificateResponse> deleteCertificate(Consumer<DeleteCertificateRequest.Builder> deleteCertificateRequest) Deletes the specified certificate.
This is a convenience which creates an instance of the
DeleteCertificateRequest.Builder
avoiding the need to create one manually viaDeleteCertificateRequest.builder()
- Parameters:
deleteCertificateRequest
- AConsumer
that will call methods onDeleteCertificateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteCertificate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteConnection
default CompletableFuture<DeleteConnectionResponse> deleteConnection(DeleteConnectionRequest deleteConnectionRequest) Deletes the connection between a replication instance and an endpoint.
- Parameters:
deleteConnectionRequest
-- Returns:
- A Java Future containing the result of the DeleteConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteConnection
default CompletableFuture<DeleteConnectionResponse> deleteConnection(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest) Deletes the connection between a replication instance and an endpoint.
This is a convenience which creates an instance of the
DeleteConnectionRequest.Builder
avoiding the need to create one manually viaDeleteConnectionRequest.builder()
- Parameters:
deleteConnectionRequest
- AConsumer
that will call methods onDeleteConnectionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDataProvider
default CompletableFuture<DeleteDataProviderResponse> deleteDataProvider(DeleteDataProviderRequest deleteDataProviderRequest) Deletes the specified data provider.
All migration projects associated with the data provider must be deleted or modified before you can delete the data provider.
- Parameters:
deleteDataProviderRequest
-- Returns:
- A Java Future containing the result of the DeleteDataProvider operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDataProvider
default CompletableFuture<DeleteDataProviderResponse> deleteDataProvider(Consumer<DeleteDataProviderRequest.Builder> deleteDataProviderRequest) Deletes the specified data provider.
All migration projects associated with the data provider must be deleted or modified before you can delete the data provider.
This is a convenience which creates an instance of the
DeleteDataProviderRequest.Builder
avoiding the need to create one manually viaDeleteDataProviderRequest.builder()
- Parameters:
deleteDataProviderRequest
- AConsumer
that will call methods onDeleteDataProviderRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteDataProvider operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEndpoint
default CompletableFuture<DeleteEndpointResponse> deleteEndpoint(DeleteEndpointRequest deleteEndpointRequest) Deletes the specified endpoint.
All tasks associated with the endpoint must be deleted before you can delete the endpoint.
- Parameters:
deleteEndpointRequest
-- Returns:
- A Java Future containing the result of the DeleteEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEndpoint
default CompletableFuture<DeleteEndpointResponse> deleteEndpoint(Consumer<DeleteEndpointRequest.Builder> deleteEndpointRequest) Deletes the specified endpoint.
All tasks associated with the endpoint must be deleted before you can delete the endpoint.
This is a convenience which creates an instance of the
DeleteEndpointRequest.Builder
avoiding the need to create one manually viaDeleteEndpointRequest.builder()
- Parameters:
deleteEndpointRequest
- AConsumer
that will call methods onDeleteEndpointRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEventSubscription
default CompletableFuture<DeleteEventSubscriptionResponse> deleteEventSubscription(DeleteEventSubscriptionRequest deleteEventSubscriptionRequest) Deletes an DMS event subscription.
- Parameters:
deleteEventSubscriptionRequest
-- Returns:
- A Java Future containing the result of the DeleteEventSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEventSubscription
default CompletableFuture<DeleteEventSubscriptionResponse> deleteEventSubscription(Consumer<DeleteEventSubscriptionRequest.Builder> deleteEventSubscriptionRequest) Deletes an DMS event subscription.
This is a convenience which creates an instance of the
DeleteEventSubscriptionRequest.Builder
avoiding the need to create one manually viaDeleteEventSubscriptionRequest.builder()
- Parameters:
deleteEventSubscriptionRequest
- AConsumer
that will call methods onDeleteEventSubscriptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteEventSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFleetAdvisorCollector
default CompletableFuture<DeleteFleetAdvisorCollectorResponse> deleteFleetAdvisorCollector(DeleteFleetAdvisorCollectorRequest deleteFleetAdvisorCollectorRequest) Deletes the specified Fleet Advisor collector.
- Parameters:
deleteFleetAdvisorCollectorRequest
-- Returns:
- A Java Future containing the result of the DeleteFleetAdvisorCollector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- CollectorNotFoundException The specified collector doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFleetAdvisorCollector
default CompletableFuture<DeleteFleetAdvisorCollectorResponse> deleteFleetAdvisorCollector(Consumer<DeleteFleetAdvisorCollectorRequest.Builder> deleteFleetAdvisorCollectorRequest) Deletes the specified Fleet Advisor collector.
This is a convenience which creates an instance of the
DeleteFleetAdvisorCollectorRequest.Builder
avoiding the need to create one manually viaDeleteFleetAdvisorCollectorRequest.builder()
- Parameters:
deleteFleetAdvisorCollectorRequest
- AConsumer
that will call methods onDeleteFleetAdvisorCollectorRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteFleetAdvisorCollector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- CollectorNotFoundException The specified collector doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFleetAdvisorDatabases
default CompletableFuture<DeleteFleetAdvisorDatabasesResponse> deleteFleetAdvisorDatabases(DeleteFleetAdvisorDatabasesRequest deleteFleetAdvisorDatabasesRequest) Deletes the specified Fleet Advisor collector databases.
- Parameters:
deleteFleetAdvisorDatabasesRequest
-- Returns:
- A Java Future containing the result of the DeleteFleetAdvisorDatabases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidOperationException The action or operation requested isn't valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFleetAdvisorDatabases
default CompletableFuture<DeleteFleetAdvisorDatabasesResponse> deleteFleetAdvisorDatabases(Consumer<DeleteFleetAdvisorDatabasesRequest.Builder> deleteFleetAdvisorDatabasesRequest) Deletes the specified Fleet Advisor collector databases.
This is a convenience which creates an instance of the
DeleteFleetAdvisorDatabasesRequest.Builder
avoiding the need to create one manually viaDeleteFleetAdvisorDatabasesRequest.builder()
- Parameters:
deleteFleetAdvisorDatabasesRequest
- AConsumer
that will call methods onDeleteFleetAdvisorDatabasesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteFleetAdvisorDatabases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidOperationException The action or operation requested isn't valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInstanceProfile
default CompletableFuture<DeleteInstanceProfileResponse> deleteInstanceProfile(DeleteInstanceProfileRequest deleteInstanceProfileRequest) Deletes the specified instance profile.
All migration projects associated with the instance profile must be deleted or modified before you can delete the instance profile.
- Parameters:
deleteInstanceProfileRequest
-- Returns:
- A Java Future containing the result of the DeleteInstanceProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInstanceProfile
default CompletableFuture<DeleteInstanceProfileResponse> deleteInstanceProfile(Consumer<DeleteInstanceProfileRequest.Builder> deleteInstanceProfileRequest) Deletes the specified instance profile.
All migration projects associated with the instance profile must be deleted or modified before you can delete the instance profile.
This is a convenience which creates an instance of the
DeleteInstanceProfileRequest.Builder
avoiding the need to create one manually viaDeleteInstanceProfileRequest.builder()
- Parameters:
deleteInstanceProfileRequest
- AConsumer
that will call methods onDeleteInstanceProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteInstanceProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMigrationProject
default CompletableFuture<DeleteMigrationProjectResponse> deleteMigrationProject(DeleteMigrationProjectRequest deleteMigrationProjectRequest) Deletes the specified migration project.
The migration project must be closed before you can delete it.
- Parameters:
deleteMigrationProjectRequest
-- Returns:
- A Java Future containing the result of the DeleteMigrationProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMigrationProject
default CompletableFuture<DeleteMigrationProjectResponse> deleteMigrationProject(Consumer<DeleteMigrationProjectRequest.Builder> deleteMigrationProjectRequest) Deletes the specified migration project.
The migration project must be closed before you can delete it.
This is a convenience which creates an instance of the
DeleteMigrationProjectRequest.Builder
avoiding the need to create one manually viaDeleteMigrationProjectRequest.builder()
- Parameters:
deleteMigrationProjectRequest
- AConsumer
that will call methods onDeleteMigrationProjectRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteMigrationProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReplicationConfig
default CompletableFuture<DeleteReplicationConfigResponse> deleteReplicationConfig(DeleteReplicationConfigRequest deleteReplicationConfigRequest) Deletes an DMS Serverless replication configuration. This effectively deprovisions any and all replications that use this configuration. You can't delete the configuration for an DMS Serverless replication that is ongoing. You can delete the configuration when the replication is in a non-RUNNING and non-STARTING state.
- Parameters:
deleteReplicationConfigRequest
-- Returns:
- A Java Future containing the result of the DeleteReplicationConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReplicationConfig
default CompletableFuture<DeleteReplicationConfigResponse> deleteReplicationConfig(Consumer<DeleteReplicationConfigRequest.Builder> deleteReplicationConfigRequest) Deletes an DMS Serverless replication configuration. This effectively deprovisions any and all replications that use this configuration. You can't delete the configuration for an DMS Serverless replication that is ongoing. You can delete the configuration when the replication is in a non-RUNNING and non-STARTING state.
This is a convenience which creates an instance of the
DeleteReplicationConfigRequest.Builder
avoiding the need to create one manually viaDeleteReplicationConfigRequest.builder()
- Parameters:
deleteReplicationConfigRequest
- AConsumer
that will call methods onDeleteReplicationConfigRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteReplicationConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReplicationInstance
default CompletableFuture<DeleteReplicationInstanceResponse> deleteReplicationInstance(DeleteReplicationInstanceRequest deleteReplicationInstanceRequest) Deletes the specified replication instance.
You must delete any migration tasks that are associated with the replication instance before you can delete it.
- Parameters:
deleteReplicationInstanceRequest
-- Returns:
- A Java Future containing the result of the DeleteReplicationInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReplicationInstance
default CompletableFuture<DeleteReplicationInstanceResponse> deleteReplicationInstance(Consumer<DeleteReplicationInstanceRequest.Builder> deleteReplicationInstanceRequest) Deletes the specified replication instance.
You must delete any migration tasks that are associated with the replication instance before you can delete it.
This is a convenience which creates an instance of the
DeleteReplicationInstanceRequest.Builder
avoiding the need to create one manually viaDeleteReplicationInstanceRequest.builder()
- Parameters:
deleteReplicationInstanceRequest
- AConsumer
that will call methods onDeleteReplicationInstanceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteReplicationInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReplicationSubnetGroup
default CompletableFuture<DeleteReplicationSubnetGroupResponse> deleteReplicationSubnetGroup(DeleteReplicationSubnetGroupRequest deleteReplicationSubnetGroupRequest) Deletes a subnet group.
- Parameters:
deleteReplicationSubnetGroupRequest
-- Returns:
- A Java Future containing the result of the DeleteReplicationSubnetGroup operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReplicationSubnetGroup
default CompletableFuture<DeleteReplicationSubnetGroupResponse> deleteReplicationSubnetGroup(Consumer<DeleteReplicationSubnetGroupRequest.Builder> deleteReplicationSubnetGroupRequest) Deletes a subnet group.
This is a convenience which creates an instance of the
DeleteReplicationSubnetGroupRequest.Builder
avoiding the need to create one manually viaDeleteReplicationSubnetGroupRequest.builder()
- Parameters:
deleteReplicationSubnetGroupRequest
- AConsumer
that will call methods onDeleteReplicationSubnetGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteReplicationSubnetGroup operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReplicationTask
default CompletableFuture<DeleteReplicationTaskResponse> deleteReplicationTask(DeleteReplicationTaskRequest deleteReplicationTaskRequest) Deletes the specified replication task.
- Parameters:
deleteReplicationTaskRequest
-- Returns:
- A Java Future containing the result of the DeleteReplicationTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReplicationTask
default CompletableFuture<DeleteReplicationTaskResponse> deleteReplicationTask(Consumer<DeleteReplicationTaskRequest.Builder> deleteReplicationTaskRequest) Deletes the specified replication task.
This is a convenience which creates an instance of the
DeleteReplicationTaskRequest.Builder
avoiding the need to create one manually viaDeleteReplicationTaskRequest.builder()
- Parameters:
deleteReplicationTaskRequest
- AConsumer
that will call methods onDeleteReplicationTaskRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteReplicationTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReplicationTaskAssessmentRun
default CompletableFuture<DeleteReplicationTaskAssessmentRunResponse> deleteReplicationTaskAssessmentRun(DeleteReplicationTaskAssessmentRunRequest deleteReplicationTaskAssessmentRunRequest) Deletes the record of a single premigration assessment run.
This operation removes all metadata that DMS maintains about this assessment run. However, the operation leaves untouched all information about this assessment run that is stored in your Amazon S3 bucket.
- Parameters:
deleteReplicationTaskAssessmentRunRequest
-- Returns:
- A Java Future containing the result of the DeleteReplicationTaskAssessmentRun operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReplicationTaskAssessmentRun
default CompletableFuture<DeleteReplicationTaskAssessmentRunResponse> deleteReplicationTaskAssessmentRun(Consumer<DeleteReplicationTaskAssessmentRunRequest.Builder> deleteReplicationTaskAssessmentRunRequest) Deletes the record of a single premigration assessment run.
This operation removes all metadata that DMS maintains about this assessment run. However, the operation leaves untouched all information about this assessment run that is stored in your Amazon S3 bucket.
This is a convenience which creates an instance of the
DeleteReplicationTaskAssessmentRunRequest.Builder
avoiding the need to create one manually viaDeleteReplicationTaskAssessmentRunRequest.builder()
- Parameters:
deleteReplicationTaskAssessmentRunRequest
- AConsumer
that will call methods onDeleteReplicationTaskAssessmentRunRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteReplicationTaskAssessmentRun operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAccountAttributes
default CompletableFuture<DescribeAccountAttributesResponse> describeAccountAttributes(DescribeAccountAttributesRequest describeAccountAttributesRequest) Lists all of the DMS attributes for a customer account. These attributes include DMS quotas for the account and a unique account identifier in a particular DMS region. DMS quotas include a list of resource quotas supported by the account, such as the number of replication instances allowed. The description for each resource quota, includes the quota name, current usage toward that quota, and the quota's maximum value. DMS uses the unique account identifier to name each artifact used by DMS in the given region.
This command does not take any parameters.
- Parameters:
describeAccountAttributesRequest
-- Returns:
- A Java Future containing the result of the DescribeAccountAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAccountAttributes
default CompletableFuture<DescribeAccountAttributesResponse> describeAccountAttributes(Consumer<DescribeAccountAttributesRequest.Builder> describeAccountAttributesRequest) Lists all of the DMS attributes for a customer account. These attributes include DMS quotas for the account and a unique account identifier in a particular DMS region. DMS quotas include a list of resource quotas supported by the account, such as the number of replication instances allowed. The description for each resource quota, includes the quota name, current usage toward that quota, and the quota's maximum value. DMS uses the unique account identifier to name each artifact used by DMS in the given region.
This command does not take any parameters.
This is a convenience which creates an instance of the
DescribeAccountAttributesRequest.Builder
avoiding the need to create one manually viaDescribeAccountAttributesRequest.builder()
- Parameters:
describeAccountAttributesRequest
- AConsumer
that will call methods onDescribeAccountAttributesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeAccountAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAccountAttributes
Lists all of the DMS attributes for a customer account. These attributes include DMS quotas for the account and a unique account identifier in a particular DMS region. DMS quotas include a list of resource quotas supported by the account, such as the number of replication instances allowed. The description for each resource quota, includes the quota name, current usage toward that quota, and the quota's maximum value. DMS uses the unique account identifier to name each artifact used by DMS in the given region.
This command does not take any parameters.
- Returns:
- A Java Future containing the result of the DescribeAccountAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplicableIndividualAssessments
default CompletableFuture<DescribeApplicableIndividualAssessmentsResponse> describeApplicableIndividualAssessments(DescribeApplicableIndividualAssessmentsRequest describeApplicableIndividualAssessmentsRequest) Provides a list of individual assessments that you can specify for a new premigration assessment run, given one or more parameters.
If you specify an existing migration task, this operation provides the default individual assessments you can specify for that task. Otherwise, the specified parameters model elements of a possible migration task on which to base a premigration assessment run.
To use these migration task modeling parameters, you must specify an existing replication instance, a source database engine, a target database engine, and a migration type. This combination of parameters potentially limits the default individual assessments available for an assessment run created for a corresponding migration task.
If you specify no parameters, this operation provides a list of all possible individual assessments that you can specify for an assessment run. If you specify any one of the task modeling parameters, you must specify all of them or the operation cannot provide a list of individual assessments. The only parameter that you can specify alone is for an existing migration task. The specified task definition then determines the default list of individual assessments that you can specify in an assessment run for the task.
- Parameters:
describeApplicableIndividualAssessmentsRequest
-- Returns:
- A Java Future containing the result of the DescribeApplicableIndividualAssessments operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplicableIndividualAssessments
default CompletableFuture<DescribeApplicableIndividualAssessmentsResponse> describeApplicableIndividualAssessments(Consumer<DescribeApplicableIndividualAssessmentsRequest.Builder> describeApplicableIndividualAssessmentsRequest) Provides a list of individual assessments that you can specify for a new premigration assessment run, given one or more parameters.
If you specify an existing migration task, this operation provides the default individual assessments you can specify for that task. Otherwise, the specified parameters model elements of a possible migration task on which to base a premigration assessment run.
To use these migration task modeling parameters, you must specify an existing replication instance, a source database engine, a target database engine, and a migration type. This combination of parameters potentially limits the default individual assessments available for an assessment run created for a corresponding migration task.
If you specify no parameters, this operation provides a list of all possible individual assessments that you can specify for an assessment run. If you specify any one of the task modeling parameters, you must specify all of them or the operation cannot provide a list of individual assessments. The only parameter that you can specify alone is for an existing migration task. The specified task definition then determines the default list of individual assessments that you can specify in an assessment run for the task.
This is a convenience which creates an instance of the
DescribeApplicableIndividualAssessmentsRequest.Builder
avoiding the need to create one manually viaDescribeApplicableIndividualAssessmentsRequest.builder()
- Parameters:
describeApplicableIndividualAssessmentsRequest
- AConsumer
that will call methods onDescribeApplicableIndividualAssessmentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeApplicableIndividualAssessments operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplicableIndividualAssessmentsPaginator
default DescribeApplicableIndividualAssessmentsPublisher describeApplicableIndividualAssessmentsPaginator(DescribeApplicableIndividualAssessmentsRequest describeApplicableIndividualAssessmentsRequest) This is a variant of
describeApplicableIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsPublisher publisher = client.describeApplicableIndividualAssessmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsPublisher publisher = client.describeApplicableIndividualAssessmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeApplicableIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsRequest)
operation.- Parameters:
describeApplicableIndividualAssessmentsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplicableIndividualAssessmentsPaginator
default DescribeApplicableIndividualAssessmentsPublisher describeApplicableIndividualAssessmentsPaginator(Consumer<DescribeApplicableIndividualAssessmentsRequest.Builder> describeApplicableIndividualAssessmentsRequest) This is a variant of
describeApplicableIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsPublisher publisher = client.describeApplicableIndividualAssessmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeApplicableIndividualAssessmentsPublisher publisher = client.describeApplicableIndividualAssessmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeApplicableIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeApplicableIndividualAssessmentsRequest)
operation.
This is a convenience which creates an instance of the
DescribeApplicableIndividualAssessmentsRequest.Builder
avoiding the need to create one manually viaDescribeApplicableIndividualAssessmentsRequest.builder()
- Parameters:
describeApplicableIndividualAssessmentsRequest
- AConsumer
that will call methods onDescribeApplicableIndividualAssessmentsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCertificates
default CompletableFuture<DescribeCertificatesResponse> describeCertificates(DescribeCertificatesRequest describeCertificatesRequest) Provides a description of the certificate.
- Parameters:
describeCertificatesRequest
-- Returns:
- A Java Future containing the result of the DescribeCertificates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCertificates
default CompletableFuture<DescribeCertificatesResponse> describeCertificates(Consumer<DescribeCertificatesRequest.Builder> describeCertificatesRequest) Provides a description of the certificate.
This is a convenience which creates an instance of the
DescribeCertificatesRequest.Builder
avoiding the need to create one manually viaDescribeCertificatesRequest.builder()
- Parameters:
describeCertificatesRequest
- AConsumer
that will call methods onDescribeCertificatesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeCertificates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCertificates
Provides a description of the certificate.
- Returns:
- A Java Future containing the result of the DescribeCertificates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCertificatesPaginator
This is a variant of
describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPublisher publisher = client.describeCertificatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPublisher publisher = client.describeCertificatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)
operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCertificatesPaginator
default DescribeCertificatesPublisher describeCertificatesPaginator(DescribeCertificatesRequest describeCertificatesRequest) This is a variant of
describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPublisher publisher = client.describeCertificatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPublisher publisher = client.describeCertificatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)
operation.- Parameters:
describeCertificatesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCertificatesPaginator
default DescribeCertificatesPublisher describeCertificatesPaginator(Consumer<DescribeCertificatesRequest.Builder> describeCertificatesRequest) This is a variant of
describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPublisher publisher = client.describeCertificatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPublisher publisher = client.describeCertificatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)
operation.
This is a convenience which creates an instance of the
DescribeCertificatesRequest.Builder
avoiding the need to create one manually viaDescribeCertificatesRequest.builder()
- Parameters:
describeCertificatesRequest
- AConsumer
that will call methods onDescribeCertificatesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeConnections
default CompletableFuture<DescribeConnectionsResponse> describeConnections(DescribeConnectionsRequest describeConnectionsRequest) Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.
- Parameters:
describeConnectionsRequest
-- Returns:
- A Java Future containing the result of the DescribeConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeConnections
default CompletableFuture<DescribeConnectionsResponse> describeConnections(Consumer<DescribeConnectionsRequest.Builder> describeConnectionsRequest) Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.
This is a convenience which creates an instance of the
DescribeConnectionsRequest.Builder
avoiding the need to create one manually viaDescribeConnectionsRequest.builder()
- Parameters:
describeConnectionsRequest
- AConsumer
that will call methods onDescribeConnectionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeConnections
Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.
- Returns:
- A Java Future containing the result of the DescribeConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeConnectionsPaginator
This is a variant of
describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPublisher publisher = client.describeConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPublisher publisher = client.describeConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)
operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeConnectionsPaginator
default DescribeConnectionsPublisher describeConnectionsPaginator(DescribeConnectionsRequest describeConnectionsRequest) This is a variant of
describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPublisher publisher = client.describeConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPublisher publisher = client.describeConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)
operation.- Parameters:
describeConnectionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeConnectionsPaginator
default DescribeConnectionsPublisher describeConnectionsPaginator(Consumer<DescribeConnectionsRequest.Builder> describeConnectionsRequest) This is a variant of
describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPublisher publisher = client.describeConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPublisher publisher = client.describeConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)
operation.
This is a convenience which creates an instance of the
DescribeConnectionsRequest.Builder
avoiding the need to create one manually viaDescribeConnectionsRequest.builder()
- Parameters:
describeConnectionsRequest
- AConsumer
that will call methods onDescribeConnectionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeConversionConfiguration
default CompletableFuture<DescribeConversionConfigurationResponse> describeConversionConfiguration(DescribeConversionConfigurationRequest describeConversionConfigurationRequest) Returns configuration parameters for a schema conversion project.
- Parameters:
describeConversionConfigurationRequest
-- Returns:
- A Java Future containing the result of the DescribeConversionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeConversionConfiguration
default CompletableFuture<DescribeConversionConfigurationResponse> describeConversionConfiguration(Consumer<DescribeConversionConfigurationRequest.Builder> describeConversionConfigurationRequest) Returns configuration parameters for a schema conversion project.
This is a convenience which creates an instance of the
DescribeConversionConfigurationRequest.Builder
avoiding the need to create one manually viaDescribeConversionConfigurationRequest.builder()
- Parameters:
describeConversionConfigurationRequest
- AConsumer
that will call methods onDescribeConversionConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeConversionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeDataProviders
default CompletableFuture<DescribeDataProvidersResponse> describeDataProviders(DescribeDataProvidersRequest describeDataProvidersRequest) Returns a paginated list of data providers for your account in the current region.
- Parameters:
describeDataProvidersRequest
-- Returns:
- A Java Future containing the result of the DescribeDataProviders operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeDataProviders
default CompletableFuture<DescribeDataProvidersResponse> describeDataProviders(Consumer<DescribeDataProvidersRequest.Builder> describeDataProvidersRequest) Returns a paginated list of data providers for your account in the current region.
This is a convenience which creates an instance of the
DescribeDataProvidersRequest.Builder
avoiding the need to create one manually viaDescribeDataProvidersRequest.builder()
- Parameters:
describeDataProvidersRequest
- AConsumer
that will call methods onDescribeDataProvidersRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeDataProviders operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeDataProvidersPaginator
default DescribeDataProvidersPublisher describeDataProvidersPaginator(DescribeDataProvidersRequest describeDataProvidersRequest) This is a variant of
describeDataProviders(software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersPublisher publisher = client.describeDataProvidersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersPublisher publisher = client.describeDataProvidersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeDataProviders(software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersRequest)
operation.- Parameters:
describeDataProvidersRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeDataProvidersPaginator
default DescribeDataProvidersPublisher describeDataProvidersPaginator(Consumer<DescribeDataProvidersRequest.Builder> describeDataProvidersRequest) This is a variant of
describeDataProviders(software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersPublisher publisher = client.describeDataProvidersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeDataProvidersPublisher publisher = client.describeDataProvidersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeDataProviders(software.amazon.awssdk.services.databasemigration.model.DescribeDataProvidersRequest)
operation.
This is a convenience which creates an instance of the
DescribeDataProvidersRequest.Builder
avoiding the need to create one manually viaDescribeDataProvidersRequest.builder()
- Parameters:
describeDataProvidersRequest
- AConsumer
that will call methods onDescribeDataProvidersRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpointSettings
default CompletableFuture<DescribeEndpointSettingsResponse> describeEndpointSettings(DescribeEndpointSettingsRequest describeEndpointSettingsRequest) Returns information about the possible endpoint settings available when you create an endpoint for a specific database engine.
- Parameters:
describeEndpointSettingsRequest
-- Returns:
- A Java Future containing the result of the DescribeEndpointSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpointSettings
default CompletableFuture<DescribeEndpointSettingsResponse> describeEndpointSettings(Consumer<DescribeEndpointSettingsRequest.Builder> describeEndpointSettingsRequest) Returns information about the possible endpoint settings available when you create an endpoint for a specific database engine.
This is a convenience which creates an instance of the
DescribeEndpointSettingsRequest.Builder
avoiding the need to create one manually viaDescribeEndpointSettingsRequest.builder()
- Parameters:
describeEndpointSettingsRequest
- AConsumer
that will call methods onDescribeEndpointSettingsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeEndpointSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpointSettingsPaginator
default DescribeEndpointSettingsPublisher describeEndpointSettingsPaginator(DescribeEndpointSettingsRequest describeEndpointSettingsRequest) This is a variant of
describeEndpointSettings(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsPublisher publisher = client.describeEndpointSettingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsPublisher publisher = client.describeEndpointSettingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEndpointSettings(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsRequest)
operation.- Parameters:
describeEndpointSettingsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpointSettingsPaginator
default DescribeEndpointSettingsPublisher describeEndpointSettingsPaginator(Consumer<DescribeEndpointSettingsRequest.Builder> describeEndpointSettingsRequest) This is a variant of
describeEndpointSettings(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsPublisher publisher = client.describeEndpointSettingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointSettingsPublisher publisher = client.describeEndpointSettingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEndpointSettings(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointSettingsRequest)
operation.
This is a convenience which creates an instance of the
DescribeEndpointSettingsRequest.Builder
avoiding the need to create one manually viaDescribeEndpointSettingsRequest.builder()
- Parameters:
describeEndpointSettingsRequest
- AConsumer
that will call methods onDescribeEndpointSettingsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpointTypes
default CompletableFuture<DescribeEndpointTypesResponse> describeEndpointTypes(DescribeEndpointTypesRequest describeEndpointTypesRequest) Returns information about the type of endpoints available.
- Parameters:
describeEndpointTypesRequest
-- Returns:
- A Java Future containing the result of the DescribeEndpointTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpointTypes
default CompletableFuture<DescribeEndpointTypesResponse> describeEndpointTypes(Consumer<DescribeEndpointTypesRequest.Builder> describeEndpointTypesRequest) Returns information about the type of endpoints available.
This is a convenience which creates an instance of the
DescribeEndpointTypesRequest.Builder
avoiding the need to create one manually viaDescribeEndpointTypesRequest.builder()
- Parameters:
describeEndpointTypesRequest
- AConsumer
that will call methods onDescribeEndpointTypesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeEndpointTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpointTypes
Returns information about the type of endpoints available.
- Returns:
- A Java Future containing the result of the DescribeEndpointTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpointTypesPaginator
This is a variant of
describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPublisher publisher = client.describeEndpointTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPublisher publisher = client.describeEndpointTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)
operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpointTypesPaginator
default DescribeEndpointTypesPublisher describeEndpointTypesPaginator(DescribeEndpointTypesRequest describeEndpointTypesRequest) This is a variant of
describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPublisher publisher = client.describeEndpointTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPublisher publisher = client.describeEndpointTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)
operation.- Parameters:
describeEndpointTypesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpointTypesPaginator
default DescribeEndpointTypesPublisher describeEndpointTypesPaginator(Consumer<DescribeEndpointTypesRequest.Builder> describeEndpointTypesRequest) This is a variant of
describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPublisher publisher = client.describeEndpointTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPublisher publisher = client.describeEndpointTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)
operation.
This is a convenience which creates an instance of the
DescribeEndpointTypesRequest.Builder
avoiding the need to create one manually viaDescribeEndpointTypesRequest.builder()
- Parameters:
describeEndpointTypesRequest
- AConsumer
that will call methods onDescribeEndpointTypesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpoints
default CompletableFuture<DescribeEndpointsResponse> describeEndpoints(DescribeEndpointsRequest describeEndpointsRequest) Returns information about the endpoints for your account in the current region.
- Parameters:
describeEndpointsRequest
-- Returns:
- A Java Future containing the result of the DescribeEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpoints
default CompletableFuture<DescribeEndpointsResponse> describeEndpoints(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest) Returns information about the endpoints for your account in the current region.
This is a convenience which creates an instance of the
DescribeEndpointsRequest.Builder
avoiding the need to create one manually viaDescribeEndpointsRequest.builder()
- Parameters:
describeEndpointsRequest
- AConsumer
that will call methods onDescribeEndpointsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpoints
Returns information about the endpoints for your account in the current region.
- Returns:
- A Java Future containing the result of the DescribeEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpointsPaginator
This is a variant of
describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)
operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpointsPaginator
default DescribeEndpointsPublisher describeEndpointsPaginator(DescribeEndpointsRequest describeEndpointsRequest) This is a variant of
describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)
operation.- Parameters:
describeEndpointsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEndpointsPaginator
default DescribeEndpointsPublisher describeEndpointsPaginator(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest) This is a variant of
describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)
operation.
This is a convenience which creates an instance of the
DescribeEndpointsRequest.Builder
avoiding the need to create one manually viaDescribeEndpointsRequest.builder()
- Parameters:
describeEndpointsRequest
- AConsumer
that will call methods onDescribeEndpointsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEngineVersions
default CompletableFuture<DescribeEngineVersionsResponse> describeEngineVersions(DescribeEngineVersionsRequest describeEngineVersionsRequest) Returns information about the replication instance versions used in the project.
- Parameters:
describeEngineVersionsRequest
-- Returns:
- A Java Future containing the result of the DescribeEngineVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEngineVersions
default CompletableFuture<DescribeEngineVersionsResponse> describeEngineVersions(Consumer<DescribeEngineVersionsRequest.Builder> describeEngineVersionsRequest) Returns information about the replication instance versions used in the project.
This is a convenience which creates an instance of the
DescribeEngineVersionsRequest.Builder
avoiding the need to create one manually viaDescribeEngineVersionsRequest.builder()
- Parameters:
describeEngineVersionsRequest
- AConsumer
that will call methods onDescribeEngineVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeEngineVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEngineVersionsPaginator
default DescribeEngineVersionsPublisher describeEngineVersionsPaginator(DescribeEngineVersionsRequest describeEngineVersionsRequest) This is a variant of
describeEngineVersions(software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsPublisher publisher = client.describeEngineVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsPublisher publisher = client.describeEngineVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEngineVersions(software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsRequest)
operation.- Parameters:
describeEngineVersionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEngineVersionsPaginator
default DescribeEngineVersionsPublisher describeEngineVersionsPaginator(Consumer<DescribeEngineVersionsRequest.Builder> describeEngineVersionsRequest) This is a variant of
describeEngineVersions(software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsPublisher publisher = client.describeEngineVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEngineVersionsPublisher publisher = client.describeEngineVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEngineVersions(software.amazon.awssdk.services.databasemigration.model.DescribeEngineVersionsRequest)
operation.
This is a convenience which creates an instance of the
DescribeEngineVersionsRequest.Builder
avoiding the need to create one manually viaDescribeEngineVersionsRequest.builder()
- Parameters:
describeEngineVersionsRequest
- AConsumer
that will call methods onDescribeEngineVersionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEventCategories
default CompletableFuture<DescribeEventCategoriesResponse> describeEventCategories(DescribeEventCategoriesRequest describeEventCategoriesRequest) Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Working with Events and Notifications in the Database Migration Service User Guide.
- Parameters:
describeEventCategoriesRequest
-- Returns:
- A Java Future containing the result of the DescribeEventCategories operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEventCategories
default CompletableFuture<DescribeEventCategoriesResponse> describeEventCategories(Consumer<DescribeEventCategoriesRequest.Builder> describeEventCategoriesRequest) Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Working with Events and Notifications in the Database Migration Service User Guide.
This is a convenience which creates an instance of the
DescribeEventCategoriesRequest.Builder
avoiding the need to create one manually viaDescribeEventCategoriesRequest.builder()
- Parameters:
describeEventCategoriesRequest
- AConsumer
that will call methods onDescribeEventCategoriesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeEventCategories operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEventCategories
Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Working with Events and Notifications in the Database Migration Service User Guide.
- Returns:
- A Java Future containing the result of the DescribeEventCategories operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEventSubscriptions
default CompletableFuture<DescribeEventSubscriptionsResponse> describeEventSubscriptions(DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest) Lists all the event subscriptions for a customer account. The description of a subscription includes
SubscriptionName
,SNSTopicARN
,CustomerID
,SourceType
,SourceID
,CreationTime
, andStatus
.If you specify
SubscriptionName
, this action lists the description for that subscription.- Parameters:
describeEventSubscriptionsRequest
-- Returns:
- A Java Future containing the result of the DescribeEventSubscriptions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEventSubscriptions
default CompletableFuture<DescribeEventSubscriptionsResponse> describeEventSubscriptions(Consumer<DescribeEventSubscriptionsRequest.Builder> describeEventSubscriptionsRequest) Lists all the event subscriptions for a customer account. The description of a subscription includes
SubscriptionName
,SNSTopicARN
,CustomerID
,SourceType
,SourceID
,CreationTime
, andStatus
.If you specify
SubscriptionName
, this action lists the description for that subscription.
This is a convenience which creates an instance of the
DescribeEventSubscriptionsRequest.Builder
avoiding the need to create one manually viaDescribeEventSubscriptionsRequest.builder()
- Parameters:
describeEventSubscriptionsRequest
- AConsumer
that will call methods onDescribeEventSubscriptionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeEventSubscriptions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEventSubscriptions
Lists all the event subscriptions for a customer account. The description of a subscription includes
SubscriptionName
,SNSTopicARN
,CustomerID
,SourceType
,SourceID
,CreationTime
, andStatus
.If you specify
SubscriptionName
, this action lists the description for that subscription.- Returns:
- A Java Future containing the result of the DescribeEventSubscriptions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEventSubscriptionsPaginator
This is a variant of
describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPublisher publisher = client.describeEventSubscriptionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPublisher publisher = client.describeEventSubscriptionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)
operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEventSubscriptionsPaginator
default DescribeEventSubscriptionsPublisher describeEventSubscriptionsPaginator(DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest) This is a variant of
describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPublisher publisher = client.describeEventSubscriptionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPublisher publisher = client.describeEventSubscriptionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)
operation.- Parameters:
describeEventSubscriptionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEventSubscriptionsPaginator
default DescribeEventSubscriptionsPublisher describeEventSubscriptionsPaginator(Consumer<DescribeEventSubscriptionsRequest.Builder> describeEventSubscriptionsRequest) This is a variant of
describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPublisher publisher = client.describeEventSubscriptionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPublisher publisher = client.describeEventSubscriptionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)
operation.
This is a convenience which creates an instance of the
DescribeEventSubscriptionsRequest.Builder
avoiding the need to create one manually viaDescribeEventSubscriptionsRequest.builder()
- Parameters:
describeEventSubscriptionsRequest
- AConsumer
that will call methods onDescribeEventSubscriptionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEvents
default CompletableFuture<DescribeEventsResponse> describeEvents(DescribeEventsRequest describeEventsRequest) Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on DMS events, see Working with Events and Notifications in the Database Migration Service User Guide.
- Parameters:
describeEventsRequest
-- Returns:
- A Java Future containing the result of the DescribeEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEvents
default CompletableFuture<DescribeEventsResponse> describeEvents(Consumer<DescribeEventsRequest.Builder> describeEventsRequest) Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on DMS events, see Working with Events and Notifications in the Database Migration Service User Guide.
This is a convenience which creates an instance of the
DescribeEventsRequest.Builder
avoiding the need to create one manually viaDescribeEventsRequest.builder()
- Parameters:
describeEventsRequest
- AConsumer
that will call methods onDescribeEventsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEvents
Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on DMS events, see Working with Events and Notifications in the Database Migration Service User Guide.
- Returns:
- A Java Future containing the result of the DescribeEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEventsPaginator
This is a variant of
describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEventsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEventsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)
operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEventsPaginator
default DescribeEventsPublisher describeEventsPaginator(DescribeEventsRequest describeEventsRequest) This is a variant of
describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEventsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEventsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)
operation.- Parameters:
describeEventsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEventsPaginator
default DescribeEventsPublisher describeEventsPaginator(Consumer<DescribeEventsRequest.Builder> describeEventsRequest) This is a variant of
describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPublisher publisher = client.describeEventsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeEventsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeEventsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)
operation.
This is a convenience which creates an instance of the
DescribeEventsRequest.Builder
avoiding the need to create one manually viaDescribeEventsRequest.builder()
- Parameters:
describeEventsRequest
- AConsumer
that will call methods onDescribeEventsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeExtensionPackAssociations
default CompletableFuture<DescribeExtensionPackAssociationsResponse> describeExtensionPackAssociations(DescribeExtensionPackAssociationsRequest describeExtensionPackAssociationsRequest) Returns a paginated list of extension pack associations for the specified migration project. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database.
- Parameters:
describeExtensionPackAssociationsRequest
-- Returns:
- A Java Future containing the result of the DescribeExtensionPackAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeExtensionPackAssociations
default CompletableFuture<DescribeExtensionPackAssociationsResponse> describeExtensionPackAssociations(Consumer<DescribeExtensionPackAssociationsRequest.Builder> describeExtensionPackAssociationsRequest) Returns a paginated list of extension pack associations for the specified migration project. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database.
This is a convenience which creates an instance of the
DescribeExtensionPackAssociationsRequest.Builder
avoiding the need to create one manually viaDescribeExtensionPackAssociationsRequest.builder()
- Parameters:
describeExtensionPackAssociationsRequest
- AConsumer
that will call methods onDescribeExtensionPackAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeExtensionPackAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeExtensionPackAssociationsPaginator
default DescribeExtensionPackAssociationsPublisher describeExtensionPackAssociationsPaginator(DescribeExtensionPackAssociationsRequest describeExtensionPackAssociationsRequest) This is a variant of
describeExtensionPackAssociations(software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsPublisher publisher = client.describeExtensionPackAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsPublisher publisher = client.describeExtensionPackAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeExtensionPackAssociations(software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsRequest)
operation.- Parameters:
describeExtensionPackAssociationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeExtensionPackAssociationsPaginator
default DescribeExtensionPackAssociationsPublisher describeExtensionPackAssociationsPaginator(Consumer<DescribeExtensionPackAssociationsRequest.Builder> describeExtensionPackAssociationsRequest) This is a variant of
describeExtensionPackAssociations(software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsPublisher publisher = client.describeExtensionPackAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeExtensionPackAssociationsPublisher publisher = client.describeExtensionPackAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeExtensionPackAssociations(software.amazon.awssdk.services.databasemigration.model.DescribeExtensionPackAssociationsRequest)
operation.
This is a convenience which creates an instance of the
DescribeExtensionPackAssociationsRequest.Builder
avoiding the need to create one manually viaDescribeExtensionPackAssociationsRequest.builder()
- Parameters:
describeExtensionPackAssociationsRequest
- AConsumer
that will call methods onDescribeExtensionPackAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorCollectors
default CompletableFuture<DescribeFleetAdvisorCollectorsResponse> describeFleetAdvisorCollectors(DescribeFleetAdvisorCollectorsRequest describeFleetAdvisorCollectorsRequest) Returns a list of the Fleet Advisor collectors in your account.
- Parameters:
describeFleetAdvisorCollectorsRequest
-- Returns:
- A Java Future containing the result of the DescribeFleetAdvisorCollectors operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorCollectors
default CompletableFuture<DescribeFleetAdvisorCollectorsResponse> describeFleetAdvisorCollectors(Consumer<DescribeFleetAdvisorCollectorsRequest.Builder> describeFleetAdvisorCollectorsRequest) Returns a list of the Fleet Advisor collectors in your account.
This is a convenience which creates an instance of the
DescribeFleetAdvisorCollectorsRequest.Builder
avoiding the need to create one manually viaDescribeFleetAdvisorCollectorsRequest.builder()
- Parameters:
describeFleetAdvisorCollectorsRequest
- AConsumer
that will call methods onDescribeFleetAdvisorCollectorsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeFleetAdvisorCollectors operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorCollectorsPaginator
default DescribeFleetAdvisorCollectorsPublisher describeFleetAdvisorCollectorsPaginator(DescribeFleetAdvisorCollectorsRequest describeFleetAdvisorCollectorsRequest) This is a variant of
describeFleetAdvisorCollectors(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsPublisher publisher = client.describeFleetAdvisorCollectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsPublisher publisher = client.describeFleetAdvisorCollectorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeFleetAdvisorCollectors(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsRequest)
operation.- Parameters:
describeFleetAdvisorCollectorsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorCollectorsPaginator
default DescribeFleetAdvisorCollectorsPublisher describeFleetAdvisorCollectorsPaginator(Consumer<DescribeFleetAdvisorCollectorsRequest.Builder> describeFleetAdvisorCollectorsRequest) This is a variant of
describeFleetAdvisorCollectors(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsPublisher publisher = client.describeFleetAdvisorCollectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorCollectorsPublisher publisher = client.describeFleetAdvisorCollectorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeFleetAdvisorCollectors(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorCollectorsRequest)
operation.
This is a convenience which creates an instance of the
DescribeFleetAdvisorCollectorsRequest.Builder
avoiding the need to create one manually viaDescribeFleetAdvisorCollectorsRequest.builder()
- Parameters:
describeFleetAdvisorCollectorsRequest
- AConsumer
that will call methods onDescribeFleetAdvisorCollectorsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorDatabases
default CompletableFuture<DescribeFleetAdvisorDatabasesResponse> describeFleetAdvisorDatabases(DescribeFleetAdvisorDatabasesRequest describeFleetAdvisorDatabasesRequest) Returns a list of Fleet Advisor databases in your account.
- Parameters:
describeFleetAdvisorDatabasesRequest
-- Returns:
- A Java Future containing the result of the DescribeFleetAdvisorDatabases operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorDatabases
default CompletableFuture<DescribeFleetAdvisorDatabasesResponse> describeFleetAdvisorDatabases(Consumer<DescribeFleetAdvisorDatabasesRequest.Builder> describeFleetAdvisorDatabasesRequest) Returns a list of Fleet Advisor databases in your account.
This is a convenience which creates an instance of the
DescribeFleetAdvisorDatabasesRequest.Builder
avoiding the need to create one manually viaDescribeFleetAdvisorDatabasesRequest.builder()
- Parameters:
describeFleetAdvisorDatabasesRequest
- AConsumer
that will call methods onDescribeFleetAdvisorDatabasesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeFleetAdvisorDatabases operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorDatabasesPaginator
default DescribeFleetAdvisorDatabasesPublisher describeFleetAdvisorDatabasesPaginator(DescribeFleetAdvisorDatabasesRequest describeFleetAdvisorDatabasesRequest) This is a variant of
describeFleetAdvisorDatabases(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesPublisher publisher = client.describeFleetAdvisorDatabasesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesPublisher publisher = client.describeFleetAdvisorDatabasesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeFleetAdvisorDatabases(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesRequest)
operation.- Parameters:
describeFleetAdvisorDatabasesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorDatabasesPaginator
default DescribeFleetAdvisorDatabasesPublisher describeFleetAdvisorDatabasesPaginator(Consumer<DescribeFleetAdvisorDatabasesRequest.Builder> describeFleetAdvisorDatabasesRequest) This is a variant of
describeFleetAdvisorDatabases(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesPublisher publisher = client.describeFleetAdvisorDatabasesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorDatabasesPublisher publisher = client.describeFleetAdvisorDatabasesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeFleetAdvisorDatabases(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorDatabasesRequest)
operation.
This is a convenience which creates an instance of the
DescribeFleetAdvisorDatabasesRequest.Builder
avoiding the need to create one manually viaDescribeFleetAdvisorDatabasesRequest.builder()
- Parameters:
describeFleetAdvisorDatabasesRequest
- AConsumer
that will call methods onDescribeFleetAdvisorDatabasesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorLsaAnalysis
default CompletableFuture<DescribeFleetAdvisorLsaAnalysisResponse> describeFleetAdvisorLsaAnalysis(DescribeFleetAdvisorLsaAnalysisRequest describeFleetAdvisorLsaAnalysisRequest) Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.
- Parameters:
describeFleetAdvisorLsaAnalysisRequest
-- Returns:
- A Java Future containing the result of the DescribeFleetAdvisorLsaAnalysis operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorLsaAnalysis
default CompletableFuture<DescribeFleetAdvisorLsaAnalysisResponse> describeFleetAdvisorLsaAnalysis(Consumer<DescribeFleetAdvisorLsaAnalysisRequest.Builder> describeFleetAdvisorLsaAnalysisRequest) Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet Advisor collectors.
This is a convenience which creates an instance of the
DescribeFleetAdvisorLsaAnalysisRequest.Builder
avoiding the need to create one manually viaDescribeFleetAdvisorLsaAnalysisRequest.builder()
- Parameters:
describeFleetAdvisorLsaAnalysisRequest
- AConsumer
that will call methods onDescribeFleetAdvisorLsaAnalysisRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeFleetAdvisorLsaAnalysis operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorLsaAnalysisPaginator
default DescribeFleetAdvisorLsaAnalysisPublisher describeFleetAdvisorLsaAnalysisPaginator(DescribeFleetAdvisorLsaAnalysisRequest describeFleetAdvisorLsaAnalysisRequest) This is a variant of
describeFleetAdvisorLsaAnalysis(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisPublisher publisher = client.describeFleetAdvisorLsaAnalysisPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisPublisher publisher = client.describeFleetAdvisorLsaAnalysisPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeFleetAdvisorLsaAnalysis(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisRequest)
operation.- Parameters:
describeFleetAdvisorLsaAnalysisRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorLsaAnalysisPaginator
default DescribeFleetAdvisorLsaAnalysisPublisher describeFleetAdvisorLsaAnalysisPaginator(Consumer<DescribeFleetAdvisorLsaAnalysisRequest.Builder> describeFleetAdvisorLsaAnalysisRequest) This is a variant of
describeFleetAdvisorLsaAnalysis(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisPublisher publisher = client.describeFleetAdvisorLsaAnalysisPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorLsaAnalysisPublisher publisher = client.describeFleetAdvisorLsaAnalysisPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeFleetAdvisorLsaAnalysis(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorLsaAnalysisRequest)
operation.
This is a convenience which creates an instance of the
DescribeFleetAdvisorLsaAnalysisRequest.Builder
avoiding the need to create one manually viaDescribeFleetAdvisorLsaAnalysisRequest.builder()
- Parameters:
describeFleetAdvisorLsaAnalysisRequest
- AConsumer
that will call methods onDescribeFleetAdvisorLsaAnalysisRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorSchemaObjectSummary
default CompletableFuture<DescribeFleetAdvisorSchemaObjectSummaryResponse> describeFleetAdvisorSchemaObjectSummary(DescribeFleetAdvisorSchemaObjectSummaryRequest describeFleetAdvisorSchemaObjectSummaryRequest) Provides descriptions of the schemas discovered by your Fleet Advisor collectors.
- Parameters:
describeFleetAdvisorSchemaObjectSummaryRequest
-- Returns:
- A Java Future containing the result of the DescribeFleetAdvisorSchemaObjectSummary operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorSchemaObjectSummary
default CompletableFuture<DescribeFleetAdvisorSchemaObjectSummaryResponse> describeFleetAdvisorSchemaObjectSummary(Consumer<DescribeFleetAdvisorSchemaObjectSummaryRequest.Builder> describeFleetAdvisorSchemaObjectSummaryRequest) Provides descriptions of the schemas discovered by your Fleet Advisor collectors.
This is a convenience which creates an instance of the
DescribeFleetAdvisorSchemaObjectSummaryRequest.Builder
avoiding the need to create one manually viaDescribeFleetAdvisorSchemaObjectSummaryRequest.builder()
- Parameters:
describeFleetAdvisorSchemaObjectSummaryRequest
- AConsumer
that will call methods onDescribeFleetAdvisorSchemaObjectSummaryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeFleetAdvisorSchemaObjectSummary operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorSchemaObjectSummaryPaginator
default DescribeFleetAdvisorSchemaObjectSummaryPublisher describeFleetAdvisorSchemaObjectSummaryPaginator(DescribeFleetAdvisorSchemaObjectSummaryRequest describeFleetAdvisorSchemaObjectSummaryRequest) This is a variant of
describeFleetAdvisorSchemaObjectSummary(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryPublisher publisher = client.describeFleetAdvisorSchemaObjectSummaryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryPublisher publisher = client.describeFleetAdvisorSchemaObjectSummaryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeFleetAdvisorSchemaObjectSummary(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryRequest)
operation.- Parameters:
describeFleetAdvisorSchemaObjectSummaryRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorSchemaObjectSummaryPaginator
default DescribeFleetAdvisorSchemaObjectSummaryPublisher describeFleetAdvisorSchemaObjectSummaryPaginator(Consumer<DescribeFleetAdvisorSchemaObjectSummaryRequest.Builder> describeFleetAdvisorSchemaObjectSummaryRequest) This is a variant of
describeFleetAdvisorSchemaObjectSummary(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryPublisher publisher = client.describeFleetAdvisorSchemaObjectSummaryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemaObjectSummaryPublisher publisher = client.describeFleetAdvisorSchemaObjectSummaryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeFleetAdvisorSchemaObjectSummary(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemaObjectSummaryRequest)
operation.
This is a convenience which creates an instance of the
DescribeFleetAdvisorSchemaObjectSummaryRequest.Builder
avoiding the need to create one manually viaDescribeFleetAdvisorSchemaObjectSummaryRequest.builder()
- Parameters:
describeFleetAdvisorSchemaObjectSummaryRequest
- AConsumer
that will call methods onDescribeFleetAdvisorSchemaObjectSummaryRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorSchemas
default CompletableFuture<DescribeFleetAdvisorSchemasResponse> describeFleetAdvisorSchemas(DescribeFleetAdvisorSchemasRequest describeFleetAdvisorSchemasRequest) Returns a list of schemas detected by Fleet Advisor Collectors in your account.
- Parameters:
describeFleetAdvisorSchemasRequest
-- Returns:
- A Java Future containing the result of the DescribeFleetAdvisorSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorSchemas
default CompletableFuture<DescribeFleetAdvisorSchemasResponse> describeFleetAdvisorSchemas(Consumer<DescribeFleetAdvisorSchemasRequest.Builder> describeFleetAdvisorSchemasRequest) Returns a list of schemas detected by Fleet Advisor Collectors in your account.
This is a convenience which creates an instance of the
DescribeFleetAdvisorSchemasRequest.Builder
avoiding the need to create one manually viaDescribeFleetAdvisorSchemasRequest.builder()
- Parameters:
describeFleetAdvisorSchemasRequest
- AConsumer
that will call methods onDescribeFleetAdvisorSchemasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeFleetAdvisorSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorSchemasPaginator
default DescribeFleetAdvisorSchemasPublisher describeFleetAdvisorSchemasPaginator(DescribeFleetAdvisorSchemasRequest describeFleetAdvisorSchemasRequest) This is a variant of
describeFleetAdvisorSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasPublisher publisher = client.describeFleetAdvisorSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasPublisher publisher = client.describeFleetAdvisorSchemasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeFleetAdvisorSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasRequest)
operation.- Parameters:
describeFleetAdvisorSchemasRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFleetAdvisorSchemasPaginator
default DescribeFleetAdvisorSchemasPublisher describeFleetAdvisorSchemasPaginator(Consumer<DescribeFleetAdvisorSchemasRequest.Builder> describeFleetAdvisorSchemasRequest) This is a variant of
describeFleetAdvisorSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasPublisher publisher = client.describeFleetAdvisorSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeFleetAdvisorSchemasPublisher publisher = client.describeFleetAdvisorSchemasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeFleetAdvisorSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeFleetAdvisorSchemasRequest)
operation.
This is a convenience which creates an instance of the
DescribeFleetAdvisorSchemasRequest.Builder
avoiding the need to create one manually viaDescribeFleetAdvisorSchemasRequest.builder()
- Parameters:
describeFleetAdvisorSchemasRequest
- AConsumer
that will call methods onDescribeFleetAdvisorSchemasRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeInstanceProfiles
default CompletableFuture<DescribeInstanceProfilesResponse> describeInstanceProfiles(DescribeInstanceProfilesRequest describeInstanceProfilesRequest) Returns a paginated list of instance profiles for your account in the current region.
- Parameters:
describeInstanceProfilesRequest
-- Returns:
- A Java Future containing the result of the DescribeInstanceProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeInstanceProfiles
default CompletableFuture<DescribeInstanceProfilesResponse> describeInstanceProfiles(Consumer<DescribeInstanceProfilesRequest.Builder> describeInstanceProfilesRequest) Returns a paginated list of instance profiles for your account in the current region.
This is a convenience which creates an instance of the
DescribeInstanceProfilesRequest.Builder
avoiding the need to create one manually viaDescribeInstanceProfilesRequest.builder()
- Parameters:
describeInstanceProfilesRequest
- AConsumer
that will call methods onDescribeInstanceProfilesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeInstanceProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeInstanceProfilesPaginator
default DescribeInstanceProfilesPublisher describeInstanceProfilesPaginator(DescribeInstanceProfilesRequest describeInstanceProfilesRequest) This is a variant of
describeInstanceProfiles(software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesPublisher publisher = client.describeInstanceProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesPublisher publisher = client.describeInstanceProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeInstanceProfiles(software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesRequest)
operation.- Parameters:
describeInstanceProfilesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeInstanceProfilesPaginator
default DescribeInstanceProfilesPublisher describeInstanceProfilesPaginator(Consumer<DescribeInstanceProfilesRequest.Builder> describeInstanceProfilesRequest) This is a variant of
describeInstanceProfiles(software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesPublisher publisher = client.describeInstanceProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeInstanceProfilesPublisher publisher = client.describeInstanceProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeInstanceProfiles(software.amazon.awssdk.services.databasemigration.model.DescribeInstanceProfilesRequest)
operation.
This is a convenience which creates an instance of the
DescribeInstanceProfilesRequest.Builder
avoiding the need to create one manually viaDescribeInstanceProfilesRequest.builder()
- Parameters:
describeInstanceProfilesRequest
- AConsumer
that will call methods onDescribeInstanceProfilesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelAssessments
default CompletableFuture<DescribeMetadataModelAssessmentsResponse> describeMetadataModelAssessments(DescribeMetadataModelAssessmentsRequest describeMetadataModelAssessmentsRequest) Returns a paginated list of metadata model assessments for your account in the current region.
- Parameters:
describeMetadataModelAssessmentsRequest
-- Returns:
- A Java Future containing the result of the DescribeMetadataModelAssessments operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelAssessments
default CompletableFuture<DescribeMetadataModelAssessmentsResponse> describeMetadataModelAssessments(Consumer<DescribeMetadataModelAssessmentsRequest.Builder> describeMetadataModelAssessmentsRequest) Returns a paginated list of metadata model assessments for your account in the current region.
This is a convenience which creates an instance of the
DescribeMetadataModelAssessmentsRequest.Builder
avoiding the need to create one manually viaDescribeMetadataModelAssessmentsRequest.builder()
- Parameters:
describeMetadataModelAssessmentsRequest
- AConsumer
that will call methods onDescribeMetadataModelAssessmentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeMetadataModelAssessments operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelAssessmentsPaginator
default DescribeMetadataModelAssessmentsPublisher describeMetadataModelAssessmentsPaginator(DescribeMetadataModelAssessmentsRequest describeMetadataModelAssessmentsRequest) This is a variant of
describeMetadataModelAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsPublisher publisher = client.describeMetadataModelAssessmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsPublisher publisher = client.describeMetadataModelAssessmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMetadataModelAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsRequest)
operation.- Parameters:
describeMetadataModelAssessmentsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelAssessmentsPaginator
default DescribeMetadataModelAssessmentsPublisher describeMetadataModelAssessmentsPaginator(Consumer<DescribeMetadataModelAssessmentsRequest.Builder> describeMetadataModelAssessmentsRequest) This is a variant of
describeMetadataModelAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsPublisher publisher = client.describeMetadataModelAssessmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelAssessmentsPublisher publisher = client.describeMetadataModelAssessmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMetadataModelAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelAssessmentsRequest)
operation.
This is a convenience which creates an instance of the
DescribeMetadataModelAssessmentsRequest.Builder
avoiding the need to create one manually viaDescribeMetadataModelAssessmentsRequest.builder()
- Parameters:
describeMetadataModelAssessmentsRequest
- AConsumer
that will call methods onDescribeMetadataModelAssessmentsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelConversions
default CompletableFuture<DescribeMetadataModelConversionsResponse> describeMetadataModelConversions(DescribeMetadataModelConversionsRequest describeMetadataModelConversionsRequest) Returns a paginated list of metadata model conversions for a migration project.
- Parameters:
describeMetadataModelConversionsRequest
-- Returns:
- A Java Future containing the result of the DescribeMetadataModelConversions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelConversions
default CompletableFuture<DescribeMetadataModelConversionsResponse> describeMetadataModelConversions(Consumer<DescribeMetadataModelConversionsRequest.Builder> describeMetadataModelConversionsRequest) Returns a paginated list of metadata model conversions for a migration project.
This is a convenience which creates an instance of the
DescribeMetadataModelConversionsRequest.Builder
avoiding the need to create one manually viaDescribeMetadataModelConversionsRequest.builder()
- Parameters:
describeMetadataModelConversionsRequest
- AConsumer
that will call methods onDescribeMetadataModelConversionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeMetadataModelConversions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelConversionsPaginator
default DescribeMetadataModelConversionsPublisher describeMetadataModelConversionsPaginator(DescribeMetadataModelConversionsRequest describeMetadataModelConversionsRequest) This is a variant of
describeMetadataModelConversions(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsPublisher publisher = client.describeMetadataModelConversionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsPublisher publisher = client.describeMetadataModelConversionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMetadataModelConversions(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsRequest)
operation.- Parameters:
describeMetadataModelConversionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelConversionsPaginator
default DescribeMetadataModelConversionsPublisher describeMetadataModelConversionsPaginator(Consumer<DescribeMetadataModelConversionsRequest.Builder> describeMetadataModelConversionsRequest) This is a variant of
describeMetadataModelConversions(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsPublisher publisher = client.describeMetadataModelConversionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelConversionsPublisher publisher = client.describeMetadataModelConversionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMetadataModelConversions(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelConversionsRequest)
operation.
This is a convenience which creates an instance of the
DescribeMetadataModelConversionsRequest.Builder
avoiding the need to create one manually viaDescribeMetadataModelConversionsRequest.builder()
- Parameters:
describeMetadataModelConversionsRequest
- AConsumer
that will call methods onDescribeMetadataModelConversionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelExportsAsScript
default CompletableFuture<DescribeMetadataModelExportsAsScriptResponse> describeMetadataModelExportsAsScript(DescribeMetadataModelExportsAsScriptRequest describeMetadataModelExportsAsScriptRequest) Returns a paginated list of metadata model exports.
- Parameters:
describeMetadataModelExportsAsScriptRequest
-- Returns:
- A Java Future containing the result of the DescribeMetadataModelExportsAsScript operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelExportsAsScript
default CompletableFuture<DescribeMetadataModelExportsAsScriptResponse> describeMetadataModelExportsAsScript(Consumer<DescribeMetadataModelExportsAsScriptRequest.Builder> describeMetadataModelExportsAsScriptRequest) Returns a paginated list of metadata model exports.
This is a convenience which creates an instance of the
DescribeMetadataModelExportsAsScriptRequest.Builder
avoiding the need to create one manually viaDescribeMetadataModelExportsAsScriptRequest.builder()
- Parameters:
describeMetadataModelExportsAsScriptRequest
- AConsumer
that will call methods onDescribeMetadataModelExportsAsScriptRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeMetadataModelExportsAsScript operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelExportsAsScriptPaginator
default DescribeMetadataModelExportsAsScriptPublisher describeMetadataModelExportsAsScriptPaginator(DescribeMetadataModelExportsAsScriptRequest describeMetadataModelExportsAsScriptRequest) This is a variant of
describeMetadataModelExportsAsScript(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptPublisher publisher = client.describeMetadataModelExportsAsScriptPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptPublisher publisher = client.describeMetadataModelExportsAsScriptPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMetadataModelExportsAsScript(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptRequest)
operation.- Parameters:
describeMetadataModelExportsAsScriptRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelExportsAsScriptPaginator
default DescribeMetadataModelExportsAsScriptPublisher describeMetadataModelExportsAsScriptPaginator(Consumer<DescribeMetadataModelExportsAsScriptRequest.Builder> describeMetadataModelExportsAsScriptRequest) This is a variant of
describeMetadataModelExportsAsScript(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptPublisher publisher = client.describeMetadataModelExportsAsScriptPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsAsScriptPublisher publisher = client.describeMetadataModelExportsAsScriptPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMetadataModelExportsAsScript(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsAsScriptRequest)
operation.
This is a convenience which creates an instance of the
DescribeMetadataModelExportsAsScriptRequest.Builder
avoiding the need to create one manually viaDescribeMetadataModelExportsAsScriptRequest.builder()
- Parameters:
describeMetadataModelExportsAsScriptRequest
- AConsumer
that will call methods onDescribeMetadataModelExportsAsScriptRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelExportsToTarget
default CompletableFuture<DescribeMetadataModelExportsToTargetResponse> describeMetadataModelExportsToTarget(DescribeMetadataModelExportsToTargetRequest describeMetadataModelExportsToTargetRequest) Returns a paginated list of metadata model exports.
- Parameters:
describeMetadataModelExportsToTargetRequest
-- Returns:
- A Java Future containing the result of the DescribeMetadataModelExportsToTarget operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelExportsToTarget
default CompletableFuture<DescribeMetadataModelExportsToTargetResponse> describeMetadataModelExportsToTarget(Consumer<DescribeMetadataModelExportsToTargetRequest.Builder> describeMetadataModelExportsToTargetRequest) Returns a paginated list of metadata model exports.
This is a convenience which creates an instance of the
DescribeMetadataModelExportsToTargetRequest.Builder
avoiding the need to create one manually viaDescribeMetadataModelExportsToTargetRequest.builder()
- Parameters:
describeMetadataModelExportsToTargetRequest
- AConsumer
that will call methods onDescribeMetadataModelExportsToTargetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeMetadataModelExportsToTarget operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelExportsToTargetPaginator
default DescribeMetadataModelExportsToTargetPublisher describeMetadataModelExportsToTargetPaginator(DescribeMetadataModelExportsToTargetRequest describeMetadataModelExportsToTargetRequest) This is a variant of
describeMetadataModelExportsToTarget(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetPublisher publisher = client.describeMetadataModelExportsToTargetPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetPublisher publisher = client.describeMetadataModelExportsToTargetPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMetadataModelExportsToTarget(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetRequest)
operation.- Parameters:
describeMetadataModelExportsToTargetRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelExportsToTargetPaginator
default DescribeMetadataModelExportsToTargetPublisher describeMetadataModelExportsToTargetPaginator(Consumer<DescribeMetadataModelExportsToTargetRequest.Builder> describeMetadataModelExportsToTargetRequest) This is a variant of
describeMetadataModelExportsToTarget(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetPublisher publisher = client.describeMetadataModelExportsToTargetPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelExportsToTargetPublisher publisher = client.describeMetadataModelExportsToTargetPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMetadataModelExportsToTarget(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelExportsToTargetRequest)
operation.
This is a convenience which creates an instance of the
DescribeMetadataModelExportsToTargetRequest.Builder
avoiding the need to create one manually viaDescribeMetadataModelExportsToTargetRequest.builder()
- Parameters:
describeMetadataModelExportsToTargetRequest
- AConsumer
that will call methods onDescribeMetadataModelExportsToTargetRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelImports
default CompletableFuture<DescribeMetadataModelImportsResponse> describeMetadataModelImports(DescribeMetadataModelImportsRequest describeMetadataModelImportsRequest) Returns a paginated list of metadata model imports.
- Parameters:
describeMetadataModelImportsRequest
-- Returns:
- A Java Future containing the result of the DescribeMetadataModelImports operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelImports
default CompletableFuture<DescribeMetadataModelImportsResponse> describeMetadataModelImports(Consumer<DescribeMetadataModelImportsRequest.Builder> describeMetadataModelImportsRequest) Returns a paginated list of metadata model imports.
This is a convenience which creates an instance of the
DescribeMetadataModelImportsRequest.Builder
avoiding the need to create one manually viaDescribeMetadataModelImportsRequest.builder()
- Parameters:
describeMetadataModelImportsRequest
- AConsumer
that will call methods onDescribeMetadataModelImportsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeMetadataModelImports operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelImportsPaginator
default DescribeMetadataModelImportsPublisher describeMetadataModelImportsPaginator(DescribeMetadataModelImportsRequest describeMetadataModelImportsRequest) This is a variant of
describeMetadataModelImports(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsPublisher publisher = client.describeMetadataModelImportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsPublisher publisher = client.describeMetadataModelImportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMetadataModelImports(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsRequest)
operation.- Parameters:
describeMetadataModelImportsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMetadataModelImportsPaginator
default DescribeMetadataModelImportsPublisher describeMetadataModelImportsPaginator(Consumer<DescribeMetadataModelImportsRequest.Builder> describeMetadataModelImportsRequest) This is a variant of
describeMetadataModelImports(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsPublisher publisher = client.describeMetadataModelImportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeMetadataModelImportsPublisher publisher = client.describeMetadataModelImportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMetadataModelImports(software.amazon.awssdk.services.databasemigration.model.DescribeMetadataModelImportsRequest)
operation.
This is a convenience which creates an instance of the
DescribeMetadataModelImportsRequest.Builder
avoiding the need to create one manually viaDescribeMetadataModelImportsRequest.builder()
- Parameters:
describeMetadataModelImportsRequest
- AConsumer
that will call methods onDescribeMetadataModelImportsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMigrationProjects
default CompletableFuture<DescribeMigrationProjectsResponse> describeMigrationProjects(DescribeMigrationProjectsRequest describeMigrationProjectsRequest) Returns a paginated list of migration projects for your account in the current region.
- Parameters:
describeMigrationProjectsRequest
-- Returns:
- A Java Future containing the result of the DescribeMigrationProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMigrationProjects
default CompletableFuture<DescribeMigrationProjectsResponse> describeMigrationProjects(Consumer<DescribeMigrationProjectsRequest.Builder> describeMigrationProjectsRequest) Returns a paginated list of migration projects for your account in the current region.
This is a convenience which creates an instance of the
DescribeMigrationProjectsRequest.Builder
avoiding the need to create one manually viaDescribeMigrationProjectsRequest.builder()
- Parameters:
describeMigrationProjectsRequest
- AConsumer
that will call methods onDescribeMigrationProjectsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeMigrationProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMigrationProjectsPaginator
default DescribeMigrationProjectsPublisher describeMigrationProjectsPaginator(DescribeMigrationProjectsRequest describeMigrationProjectsRequest) This is a variant of
describeMigrationProjects(software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsPublisher publisher = client.describeMigrationProjectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsPublisher publisher = client.describeMigrationProjectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMigrationProjects(software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsRequest)
operation.- Parameters:
describeMigrationProjectsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeMigrationProjectsPaginator
default DescribeMigrationProjectsPublisher describeMigrationProjectsPaginator(Consumer<DescribeMigrationProjectsRequest.Builder> describeMigrationProjectsRequest) This is a variant of
describeMigrationProjects(software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsPublisher publisher = client.describeMigrationProjectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeMigrationProjectsPublisher publisher = client.describeMigrationProjectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMigrationProjects(software.amazon.awssdk.services.databasemigration.model.DescribeMigrationProjectsRequest)
operation.
This is a convenience which creates an instance of the
DescribeMigrationProjectsRequest.Builder
avoiding the need to create one manually viaDescribeMigrationProjectsRequest.builder()
- Parameters:
describeMigrationProjectsRequest
- AConsumer
that will call methods onDescribeMigrationProjectsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrderableReplicationInstances
default CompletableFuture<DescribeOrderableReplicationInstancesResponse> describeOrderableReplicationInstances(DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest) Returns information about the replication instance types that can be created in the specified region.
- Parameters:
describeOrderableReplicationInstancesRequest
-- Returns:
- A Java Future containing the result of the DescribeOrderableReplicationInstances operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrderableReplicationInstances
default CompletableFuture<DescribeOrderableReplicationInstancesResponse> describeOrderableReplicationInstances(Consumer<DescribeOrderableReplicationInstancesRequest.Builder> describeOrderableReplicationInstancesRequest) 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
DescribeOrderableReplicationInstancesRequest.Builder
avoiding the need to create one manually viaDescribeOrderableReplicationInstancesRequest.builder()
- Parameters:
describeOrderableReplicationInstancesRequest
- AConsumer
that will call methods onDescribeOrderableReplicationInstancesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeOrderableReplicationInstances operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrderableReplicationInstances
default CompletableFuture<DescribeOrderableReplicationInstancesResponse> describeOrderableReplicationInstances()Returns information about the replication instance types that can be created in the specified region.
- Returns:
- A Java Future containing the result of the DescribeOrderableReplicationInstances operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrderableReplicationInstancesPaginator
default DescribeOrderableReplicationInstancesPublisher describeOrderableReplicationInstancesPaginator()This is a variant of
describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPublisher publisher = client.describeOrderableReplicationInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPublisher publisher = client.describeOrderableReplicationInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)
operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrderableReplicationInstancesPaginator
default DescribeOrderableReplicationInstancesPublisher describeOrderableReplicationInstancesPaginator(DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest) This is a variant of
describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPublisher publisher = client.describeOrderableReplicationInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPublisher publisher = client.describeOrderableReplicationInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)
operation.- Parameters:
describeOrderableReplicationInstancesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrderableReplicationInstancesPaginator
default DescribeOrderableReplicationInstancesPublisher describeOrderableReplicationInstancesPaginator(Consumer<DescribeOrderableReplicationInstancesRequest.Builder> describeOrderableReplicationInstancesRequest) This is a variant of
describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPublisher publisher = client.describeOrderableReplicationInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPublisher publisher = client.describeOrderableReplicationInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)
operation.
This is a convenience which creates an instance of the
DescribeOrderableReplicationInstancesRequest.Builder
avoiding the need to create one manually viaDescribeOrderableReplicationInstancesRequest.builder()
- Parameters:
describeOrderableReplicationInstancesRequest
- AConsumer
that will call methods onDescribeOrderableReplicationInstancesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describePendingMaintenanceActions
default CompletableFuture<DescribePendingMaintenanceActionsResponse> describePendingMaintenanceActions(DescribePendingMaintenanceActionsRequest describePendingMaintenanceActionsRequest) For internal use only
- Parameters:
describePendingMaintenanceActionsRequest
-- Returns:
- A Java Future containing the result of the DescribePendingMaintenanceActions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describePendingMaintenanceActions
default CompletableFuture<DescribePendingMaintenanceActionsResponse> describePendingMaintenanceActions(Consumer<DescribePendingMaintenanceActionsRequest.Builder> describePendingMaintenanceActionsRequest) For internal use only
This is a convenience which creates an instance of the
DescribePendingMaintenanceActionsRequest.Builder
avoiding the need to create one manually viaDescribePendingMaintenanceActionsRequest.builder()
- Parameters:
describePendingMaintenanceActionsRequest
- AConsumer
that will call methods onDescribePendingMaintenanceActionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribePendingMaintenanceActions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describePendingMaintenanceActionsPaginator
default DescribePendingMaintenanceActionsPublisher describePendingMaintenanceActionsPaginator(DescribePendingMaintenanceActionsRequest describePendingMaintenanceActionsRequest) This is a variant of
describePendingMaintenanceActions(software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsPublisher publisher = client.describePendingMaintenanceActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsPublisher publisher = client.describePendingMaintenanceActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describePendingMaintenanceActions(software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsRequest)
operation.- Parameters:
describePendingMaintenanceActionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describePendingMaintenanceActionsPaginator
default DescribePendingMaintenanceActionsPublisher describePendingMaintenanceActionsPaginator(Consumer<DescribePendingMaintenanceActionsRequest.Builder> describePendingMaintenanceActionsRequest) This is a variant of
describePendingMaintenanceActions(software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsPublisher publisher = client.describePendingMaintenanceActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribePendingMaintenanceActionsPublisher publisher = client.describePendingMaintenanceActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describePendingMaintenanceActions(software.amazon.awssdk.services.databasemigration.model.DescribePendingMaintenanceActionsRequest)
operation.
This is a convenience which creates an instance of the
DescribePendingMaintenanceActionsRequest.Builder
avoiding the need to create one manually viaDescribePendingMaintenanceActionsRequest.builder()
- Parameters:
describePendingMaintenanceActionsRequest
- AConsumer
that will call methods onDescribePendingMaintenanceActionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecommendationLimitations
default CompletableFuture<DescribeRecommendationLimitationsResponse> describeRecommendationLimitations(DescribeRecommendationLimitationsRequest describeRecommendationLimitationsRequest) Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.
- Parameters:
describeRecommendationLimitationsRequest
-- Returns:
- A Java Future containing the result of the DescribeRecommendationLimitations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecommendationLimitations
default CompletableFuture<DescribeRecommendationLimitationsResponse> describeRecommendationLimitations(Consumer<DescribeRecommendationLimitationsRequest.Builder> describeRecommendationLimitationsRequest) Returns a paginated list of limitations for recommendations of target Amazon Web Services engines.
This is a convenience which creates an instance of the
DescribeRecommendationLimitationsRequest.Builder
avoiding the need to create one manually viaDescribeRecommendationLimitationsRequest.builder()
- Parameters:
describeRecommendationLimitationsRequest
- AConsumer
that will call methods onDescribeRecommendationLimitationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeRecommendationLimitations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecommendationLimitationsPaginator
default DescribeRecommendationLimitationsPublisher describeRecommendationLimitationsPaginator(DescribeRecommendationLimitationsRequest describeRecommendationLimitationsRequest) This is a variant of
describeRecommendationLimitations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsPublisher publisher = client.describeRecommendationLimitationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsPublisher publisher = client.describeRecommendationLimitationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeRecommendationLimitations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsRequest)
operation.- Parameters:
describeRecommendationLimitationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecommendationLimitationsPaginator
default DescribeRecommendationLimitationsPublisher describeRecommendationLimitationsPaginator(Consumer<DescribeRecommendationLimitationsRequest.Builder> describeRecommendationLimitationsRequest) This is a variant of
describeRecommendationLimitations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsPublisher publisher = client.describeRecommendationLimitationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationLimitationsPublisher publisher = client.describeRecommendationLimitationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeRecommendationLimitations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationLimitationsRequest)
operation.
This is a convenience which creates an instance of the
DescribeRecommendationLimitationsRequest.Builder
avoiding the need to create one manually viaDescribeRecommendationLimitationsRequest.builder()
- Parameters:
describeRecommendationLimitationsRequest
- AConsumer
that will call methods onDescribeRecommendationLimitationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecommendations
default CompletableFuture<DescribeRecommendationsResponse> describeRecommendations(DescribeRecommendationsRequest describeRecommendationsRequest) Returns a paginated list of target engine recommendations for your source databases.
- Parameters:
describeRecommendationsRequest
-- Returns:
- A Java Future containing the result of the DescribeRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecommendations
default CompletableFuture<DescribeRecommendationsResponse> describeRecommendations(Consumer<DescribeRecommendationsRequest.Builder> describeRecommendationsRequest) Returns a paginated list of target engine recommendations for your source databases.
This is a convenience which creates an instance of the
DescribeRecommendationsRequest.Builder
avoiding the need to create one manually viaDescribeRecommendationsRequest.builder()
- Parameters:
describeRecommendationsRequest
- AConsumer
that will call methods onDescribeRecommendationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecommendationsPaginator
default DescribeRecommendationsPublisher describeRecommendationsPaginator(DescribeRecommendationsRequest describeRecommendationsRequest) This is a variant of
describeRecommendations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsPublisher publisher = client.describeRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsPublisher publisher = client.describeRecommendationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeRecommendations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsRequest)
operation.- Parameters:
describeRecommendationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRecommendationsPaginator
default DescribeRecommendationsPublisher describeRecommendationsPaginator(Consumer<DescribeRecommendationsRequest.Builder> describeRecommendationsRequest) This is a variant of
describeRecommendations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsPublisher publisher = client.describeRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeRecommendationsPublisher publisher = client.describeRecommendationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeRecommendations(software.amazon.awssdk.services.databasemigration.model.DescribeRecommendationsRequest)
operation.
This is a convenience which creates an instance of the
DescribeRecommendationsRequest.Builder
avoiding the need to create one manually viaDescribeRecommendationsRequest.builder()
- Parameters:
describeRecommendationsRequest
- AConsumer
that will call methods onDescribeRecommendationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRefreshSchemasStatus
default CompletableFuture<DescribeRefreshSchemasStatusResponse> describeRefreshSchemasStatus(DescribeRefreshSchemasStatusRequest describeRefreshSchemasStatusRequest) Returns the status of the RefreshSchemas operation.
- Parameters:
describeRefreshSchemasStatusRequest
-- Returns:
- A Java Future containing the result of the DescribeRefreshSchemasStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRefreshSchemasStatus
default CompletableFuture<DescribeRefreshSchemasStatusResponse> describeRefreshSchemasStatus(Consumer<DescribeRefreshSchemasStatusRequest.Builder> describeRefreshSchemasStatusRequest) Returns the status of the RefreshSchemas operation.
This is a convenience which creates an instance of the
DescribeRefreshSchemasStatusRequest.Builder
avoiding the need to create one manually viaDescribeRefreshSchemasStatusRequest.builder()
- Parameters:
describeRefreshSchemasStatusRequest
- AConsumer
that will call methods onDescribeRefreshSchemasStatusRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeRefreshSchemasStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationConfigs
default CompletableFuture<DescribeReplicationConfigsResponse> describeReplicationConfigs(DescribeReplicationConfigsRequest describeReplicationConfigsRequest) Returns one or more existing DMS Serverless replication configurations as a list of structures.
- Parameters:
describeReplicationConfigsRequest
-- Returns:
- A Java Future containing the result of the DescribeReplicationConfigs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationConfigs
default CompletableFuture<DescribeReplicationConfigsResponse> describeReplicationConfigs(Consumer<DescribeReplicationConfigsRequest.Builder> describeReplicationConfigsRequest) Returns one or more existing DMS Serverless replication configurations as a list of structures.
This is a convenience which creates an instance of the
DescribeReplicationConfigsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationConfigsRequest.builder()
- Parameters:
describeReplicationConfigsRequest
- AConsumer
that will call methods onDescribeReplicationConfigsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeReplicationConfigs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationConfigsPaginator
default DescribeReplicationConfigsPublisher describeReplicationConfigsPaginator(DescribeReplicationConfigsRequest describeReplicationConfigsRequest) This is a variant of
describeReplicationConfigs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsPublisher publisher = client.describeReplicationConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsPublisher publisher = client.describeReplicationConfigsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationConfigs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsRequest)
operation.- Parameters:
describeReplicationConfigsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationConfigsPaginator
default DescribeReplicationConfigsPublisher describeReplicationConfigsPaginator(Consumer<DescribeReplicationConfigsRequest.Builder> describeReplicationConfigsRequest) This is a variant of
describeReplicationConfigs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsPublisher publisher = client.describeReplicationConfigsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationConfigsPublisher publisher = client.describeReplicationConfigsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationConfigs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationConfigsRequest)
operation.
This is a convenience which creates an instance of the
DescribeReplicationConfigsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationConfigsRequest.builder()
- Parameters:
describeReplicationConfigsRequest
- AConsumer
that will call methods onDescribeReplicationConfigsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationInstanceTaskLogs
default CompletableFuture<DescribeReplicationInstanceTaskLogsResponse> describeReplicationInstanceTaskLogs(DescribeReplicationInstanceTaskLogsRequest describeReplicationInstanceTaskLogsRequest) Returns information about the task logs for the specified task.
- Parameters:
describeReplicationInstanceTaskLogsRequest
-- Returns:
- A Java Future containing the result of the DescribeReplicationInstanceTaskLogs operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationInstanceTaskLogs
default CompletableFuture<DescribeReplicationInstanceTaskLogsResponse> describeReplicationInstanceTaskLogs(Consumer<DescribeReplicationInstanceTaskLogsRequest.Builder> describeReplicationInstanceTaskLogsRequest) Returns information about the task logs for the specified task.
This is a convenience which creates an instance of the
DescribeReplicationInstanceTaskLogsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationInstanceTaskLogsRequest.builder()
- Parameters:
describeReplicationInstanceTaskLogsRequest
- AConsumer
that will call methods onDescribeReplicationInstanceTaskLogsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeReplicationInstanceTaskLogs operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationInstanceTaskLogsPaginator
default DescribeReplicationInstanceTaskLogsPublisher describeReplicationInstanceTaskLogsPaginator(DescribeReplicationInstanceTaskLogsRequest describeReplicationInstanceTaskLogsRequest) This is a variant of
describeReplicationInstanceTaskLogs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsPublisher publisher = client.describeReplicationInstanceTaskLogsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsPublisher publisher = client.describeReplicationInstanceTaskLogsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationInstanceTaskLogs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsRequest)
operation.- Parameters:
describeReplicationInstanceTaskLogsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationInstanceTaskLogsPaginator
default DescribeReplicationInstanceTaskLogsPublisher describeReplicationInstanceTaskLogsPaginator(Consumer<DescribeReplicationInstanceTaskLogsRequest.Builder> describeReplicationInstanceTaskLogsRequest) This is a variant of
describeReplicationInstanceTaskLogs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsPublisher publisher = client.describeReplicationInstanceTaskLogsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstanceTaskLogsPublisher publisher = client.describeReplicationInstanceTaskLogsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationInstanceTaskLogs(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstanceTaskLogsRequest)
operation.
This is a convenience which creates an instance of the
DescribeReplicationInstanceTaskLogsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationInstanceTaskLogsRequest.builder()
- Parameters:
describeReplicationInstanceTaskLogsRequest
- AConsumer
that will call methods onDescribeReplicationInstanceTaskLogsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationInstances
default CompletableFuture<DescribeReplicationInstancesResponse> describeReplicationInstances(DescribeReplicationInstancesRequest describeReplicationInstancesRequest) Returns information about replication instances for your account in the current region.
- Parameters:
describeReplicationInstancesRequest
-- Returns:
- A Java Future containing the result of the DescribeReplicationInstances operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationInstances
default CompletableFuture<DescribeReplicationInstancesResponse> describeReplicationInstances(Consumer<DescribeReplicationInstancesRequest.Builder> describeReplicationInstancesRequest) Returns information about replication instances for your account in the current region.
This is a convenience which creates an instance of the
DescribeReplicationInstancesRequest.Builder
avoiding the need to create one manually viaDescribeReplicationInstancesRequest.builder()
- Parameters:
describeReplicationInstancesRequest
- AConsumer
that will call methods onDescribeReplicationInstancesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeReplicationInstances operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationInstances
Returns information about replication instances for your account in the current region.
- Returns:
- A Java Future containing the result of the DescribeReplicationInstances operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationInstancesPaginator
This is a variant of
describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPublisher publisher = client.describeReplicationInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPublisher publisher = client.describeReplicationInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)
operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationInstancesPaginator
default DescribeReplicationInstancesPublisher describeReplicationInstancesPaginator(DescribeReplicationInstancesRequest describeReplicationInstancesRequest) This is a variant of
describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPublisher publisher = client.describeReplicationInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPublisher publisher = client.describeReplicationInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)
operation.- Parameters:
describeReplicationInstancesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationInstancesPaginator
default DescribeReplicationInstancesPublisher describeReplicationInstancesPaginator(Consumer<DescribeReplicationInstancesRequest.Builder> describeReplicationInstancesRequest) This is a variant of
describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPublisher publisher = client.describeReplicationInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPublisher publisher = client.describeReplicationInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)
operation.
This is a convenience which creates an instance of the
DescribeReplicationInstancesRequest.Builder
avoiding the need to create one manually viaDescribeReplicationInstancesRequest.builder()
- Parameters:
describeReplicationInstancesRequest
- AConsumer
that will call methods onDescribeReplicationInstancesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationSubnetGroups
default CompletableFuture<DescribeReplicationSubnetGroupsResponse> describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest) Returns information about the replication subnet groups.
- Parameters:
describeReplicationSubnetGroupsRequest
-- Returns:
- A Java Future containing the result of the DescribeReplicationSubnetGroups operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationSubnetGroups
default CompletableFuture<DescribeReplicationSubnetGroupsResponse> describeReplicationSubnetGroups(Consumer<DescribeReplicationSubnetGroupsRequest.Builder> describeReplicationSubnetGroupsRequest) Returns information about the replication subnet groups.
This is a convenience which creates an instance of the
DescribeReplicationSubnetGroupsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationSubnetGroupsRequest.builder()
- Parameters:
describeReplicationSubnetGroupsRequest
- AConsumer
that will call methods onDescribeReplicationSubnetGroupsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeReplicationSubnetGroups operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationSubnetGroups
default CompletableFuture<DescribeReplicationSubnetGroupsResponse> describeReplicationSubnetGroups()Returns information about the replication subnet groups.
- Returns:
- A Java Future containing the result of the DescribeReplicationSubnetGroups operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationSubnetGroupsPaginator
This is a variant of
describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPublisher publisher = client.describeReplicationSubnetGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPublisher publisher = client.describeReplicationSubnetGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)
operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationSubnetGroupsPaginator
default DescribeReplicationSubnetGroupsPublisher describeReplicationSubnetGroupsPaginator(DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest) This is a variant of
describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPublisher publisher = client.describeReplicationSubnetGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPublisher publisher = client.describeReplicationSubnetGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)
operation.- Parameters:
describeReplicationSubnetGroupsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationSubnetGroupsPaginator
default DescribeReplicationSubnetGroupsPublisher describeReplicationSubnetGroupsPaginator(Consumer<DescribeReplicationSubnetGroupsRequest.Builder> describeReplicationSubnetGroupsRequest) This is a variant of
describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPublisher publisher = client.describeReplicationSubnetGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPublisher publisher = client.describeReplicationSubnetGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)
operation.
This is a convenience which creates an instance of the
DescribeReplicationSubnetGroupsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationSubnetGroupsRequest.builder()
- Parameters:
describeReplicationSubnetGroupsRequest
- AConsumer
that will call methods onDescribeReplicationSubnetGroupsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTableStatistics
default CompletableFuture<DescribeReplicationTableStatisticsResponse> describeReplicationTableStatistics(DescribeReplicationTableStatisticsRequest describeReplicationTableStatisticsRequest) Returns table and schema statistics for one or more provisioned replications that use a given DMS Serverless replication configuration.
- Parameters:
describeReplicationTableStatisticsRequest
-- Returns:
- A Java Future containing the result of the DescribeReplicationTableStatistics operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTableStatistics
default CompletableFuture<DescribeReplicationTableStatisticsResponse> describeReplicationTableStatistics(Consumer<DescribeReplicationTableStatisticsRequest.Builder> describeReplicationTableStatisticsRequest) Returns table and schema statistics for one or more provisioned replications that use a given DMS Serverless replication configuration.
This is a convenience which creates an instance of the
DescribeReplicationTableStatisticsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationTableStatisticsRequest.builder()
- Parameters:
describeReplicationTableStatisticsRequest
- AConsumer
that will call methods onDescribeReplicationTableStatisticsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeReplicationTableStatistics operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTableStatisticsPaginator
default DescribeReplicationTableStatisticsPublisher describeReplicationTableStatisticsPaginator(DescribeReplicationTableStatisticsRequest describeReplicationTableStatisticsRequest) This is a variant of
describeReplicationTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsPublisher publisher = client.describeReplicationTableStatisticsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsPublisher publisher = client.describeReplicationTableStatisticsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsRequest)
operation.- Parameters:
describeReplicationTableStatisticsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTableStatisticsPaginator
default DescribeReplicationTableStatisticsPublisher describeReplicationTableStatisticsPaginator(Consumer<DescribeReplicationTableStatisticsRequest.Builder> describeReplicationTableStatisticsRequest) This is a variant of
describeReplicationTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsPublisher publisher = client.describeReplicationTableStatisticsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTableStatisticsPublisher publisher = client.describeReplicationTableStatisticsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTableStatisticsRequest)
operation.
This is a convenience which creates an instance of the
DescribeReplicationTableStatisticsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationTableStatisticsRequest.builder()
- Parameters:
describeReplicationTableStatisticsRequest
- AConsumer
that will call methods onDescribeReplicationTableStatisticsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTaskAssessmentResults
default CompletableFuture<DescribeReplicationTaskAssessmentResultsResponse> describeReplicationTaskAssessmentResults(DescribeReplicationTaskAssessmentResultsRequest describeReplicationTaskAssessmentResultsRequest) Returns the task assessment results from the Amazon S3 bucket that DMS creates in your Amazon Web Services account. This action always returns the latest results.
For more information about DMS task assessments, see Creating a task assessment report in the Database Migration Service User Guide.
- Parameters:
describeReplicationTaskAssessmentResultsRequest
-- Returns:
- A Java Future containing the result of the DescribeReplicationTaskAssessmentResults operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTaskAssessmentResults
default CompletableFuture<DescribeReplicationTaskAssessmentResultsResponse> describeReplicationTaskAssessmentResults(Consumer<DescribeReplicationTaskAssessmentResultsRequest.Builder> describeReplicationTaskAssessmentResultsRequest) Returns the task assessment results from the Amazon S3 bucket that DMS creates in your Amazon Web Services account. This action always returns the latest results.
For more information about DMS task assessments, see Creating a task assessment report in the Database Migration Service User Guide.
This is a convenience which creates an instance of the
DescribeReplicationTaskAssessmentResultsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationTaskAssessmentResultsRequest.builder()
- Parameters:
describeReplicationTaskAssessmentResultsRequest
- AConsumer
that will call methods onDescribeReplicationTaskAssessmentResultsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeReplicationTaskAssessmentResults operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTaskAssessmentResultsPaginator
default DescribeReplicationTaskAssessmentResultsPublisher describeReplicationTaskAssessmentResultsPaginator(DescribeReplicationTaskAssessmentResultsRequest describeReplicationTaskAssessmentResultsRequest) This is a variant of
describeReplicationTaskAssessmentResults(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsPublisher publisher = client.describeReplicationTaskAssessmentResultsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsPublisher publisher = client.describeReplicationTaskAssessmentResultsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationTaskAssessmentResults(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsRequest)
operation.- Parameters:
describeReplicationTaskAssessmentResultsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTaskAssessmentResultsPaginator
default DescribeReplicationTaskAssessmentResultsPublisher describeReplicationTaskAssessmentResultsPaginator(Consumer<DescribeReplicationTaskAssessmentResultsRequest.Builder> describeReplicationTaskAssessmentResultsRequest) This is a variant of
describeReplicationTaskAssessmentResults(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsPublisher publisher = client.describeReplicationTaskAssessmentResultsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentResultsPublisher publisher = client.describeReplicationTaskAssessmentResultsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationTaskAssessmentResults(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsRequest)
operation.
This is a convenience which creates an instance of the
DescribeReplicationTaskAssessmentResultsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationTaskAssessmentResultsRequest.builder()
- Parameters:
describeReplicationTaskAssessmentResultsRequest
- AConsumer
that will call methods onDescribeReplicationTaskAssessmentResultsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTaskAssessmentRuns
default CompletableFuture<DescribeReplicationTaskAssessmentRunsResponse> describeReplicationTaskAssessmentRuns(DescribeReplicationTaskAssessmentRunsRequest describeReplicationTaskAssessmentRunsRequest) Returns a paginated list of premigration assessment runs based on filter settings.
These filter settings can specify a combination of premigration assessment runs, migration tasks, replication instances, and assessment run status values.
This operation doesn't return information about individual assessments. For this information, see the
DescribeReplicationTaskIndividualAssessments
operation.- Parameters:
describeReplicationTaskAssessmentRunsRequest
-- Returns:
- A Java Future containing the result of the DescribeReplicationTaskAssessmentRuns operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTaskAssessmentRuns
default CompletableFuture<DescribeReplicationTaskAssessmentRunsResponse> describeReplicationTaskAssessmentRuns(Consumer<DescribeReplicationTaskAssessmentRunsRequest.Builder> describeReplicationTaskAssessmentRunsRequest) Returns a paginated list of premigration assessment runs based on filter settings.
These filter settings can specify a combination of premigration assessment runs, migration tasks, replication instances, and assessment run status values.
This operation doesn't return information about individual assessments. For this information, see the
DescribeReplicationTaskIndividualAssessments
operation.
This is a convenience which creates an instance of the
DescribeReplicationTaskAssessmentRunsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationTaskAssessmentRunsRequest.builder()
- Parameters:
describeReplicationTaskAssessmentRunsRequest
- AConsumer
that will call methods onDescribeReplicationTaskAssessmentRunsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeReplicationTaskAssessmentRuns operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTaskAssessmentRunsPaginator
default DescribeReplicationTaskAssessmentRunsPublisher describeReplicationTaskAssessmentRunsPaginator(DescribeReplicationTaskAssessmentRunsRequest describeReplicationTaskAssessmentRunsRequest) This is a variant of
describeReplicationTaskAssessmentRuns(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsPublisher publisher = client.describeReplicationTaskAssessmentRunsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsPublisher publisher = client.describeReplicationTaskAssessmentRunsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationTaskAssessmentRuns(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsRequest)
operation.- Parameters:
describeReplicationTaskAssessmentRunsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTaskAssessmentRunsPaginator
default DescribeReplicationTaskAssessmentRunsPublisher describeReplicationTaskAssessmentRunsPaginator(Consumer<DescribeReplicationTaskAssessmentRunsRequest.Builder> describeReplicationTaskAssessmentRunsRequest) This is a variant of
describeReplicationTaskAssessmentRuns(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsPublisher publisher = client.describeReplicationTaskAssessmentRunsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskAssessmentRunsPublisher publisher = client.describeReplicationTaskAssessmentRunsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationTaskAssessmentRuns(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentRunsRequest)
operation.
This is a convenience which creates an instance of the
DescribeReplicationTaskAssessmentRunsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationTaskAssessmentRunsRequest.builder()
- Parameters:
describeReplicationTaskAssessmentRunsRequest
- AConsumer
that will call methods onDescribeReplicationTaskAssessmentRunsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTaskIndividualAssessments
default CompletableFuture<DescribeReplicationTaskIndividualAssessmentsResponse> describeReplicationTaskIndividualAssessments(DescribeReplicationTaskIndividualAssessmentsRequest describeReplicationTaskIndividualAssessmentsRequest) Returns a paginated list of individual assessments based on filter settings.
These filter settings can specify a combination of premigration assessment runs, migration tasks, and assessment status values.
- Parameters:
describeReplicationTaskIndividualAssessmentsRequest
-- Returns:
- A Java Future containing the result of the DescribeReplicationTaskIndividualAssessments operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTaskIndividualAssessments
default CompletableFuture<DescribeReplicationTaskIndividualAssessmentsResponse> describeReplicationTaskIndividualAssessments(Consumer<DescribeReplicationTaskIndividualAssessmentsRequest.Builder> describeReplicationTaskIndividualAssessmentsRequest) Returns a paginated list of individual assessments based on filter settings.
These filter settings can specify a combination of premigration assessment runs, migration tasks, and assessment status values.
This is a convenience which creates an instance of the
DescribeReplicationTaskIndividualAssessmentsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationTaskIndividualAssessmentsRequest.builder()
- Parameters:
describeReplicationTaskIndividualAssessmentsRequest
- AConsumer
that will call methods onDescribeReplicationTaskIndividualAssessmentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeReplicationTaskIndividualAssessments operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTaskIndividualAssessmentsPaginator
default DescribeReplicationTaskIndividualAssessmentsPublisher describeReplicationTaskIndividualAssessmentsPaginator(DescribeReplicationTaskIndividualAssessmentsRequest describeReplicationTaskIndividualAssessmentsRequest) This is a variant of
describeReplicationTaskIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsPublisher publisher = client.describeReplicationTaskIndividualAssessmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsPublisher publisher = client.describeReplicationTaskIndividualAssessmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationTaskIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsRequest)
operation.- Parameters:
describeReplicationTaskIndividualAssessmentsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTaskIndividualAssessmentsPaginator
default DescribeReplicationTaskIndividualAssessmentsPublisher describeReplicationTaskIndividualAssessmentsPaginator(Consumer<DescribeReplicationTaskIndividualAssessmentsRequest.Builder> describeReplicationTaskIndividualAssessmentsRequest) This is a variant of
describeReplicationTaskIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsPublisher publisher = client.describeReplicationTaskIndividualAssessmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTaskIndividualAssessmentsPublisher publisher = client.describeReplicationTaskIndividualAssessmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationTaskIndividualAssessments(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskIndividualAssessmentsRequest)
operation.
This is a convenience which creates an instance of the
DescribeReplicationTaskIndividualAssessmentsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationTaskIndividualAssessmentsRequest.builder()
- Parameters:
describeReplicationTaskIndividualAssessmentsRequest
- AConsumer
that will call methods onDescribeReplicationTaskIndividualAssessmentsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTasks
default CompletableFuture<DescribeReplicationTasksResponse> describeReplicationTasks(DescribeReplicationTasksRequest describeReplicationTasksRequest) Returns information about replication tasks for your account in the current region.
- Parameters:
describeReplicationTasksRequest
-- Returns:
- A Java Future containing the result of the DescribeReplicationTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTasks
default CompletableFuture<DescribeReplicationTasksResponse> describeReplicationTasks(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest) Returns information about replication tasks for your account in the current region.
This is a convenience which creates an instance of the
DescribeReplicationTasksRequest.Builder
avoiding the need to create one manually viaDescribeReplicationTasksRequest.builder()
- Parameters:
describeReplicationTasksRequest
- AConsumer
that will call methods onDescribeReplicationTasksRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeReplicationTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTasks
Returns information about replication tasks for your account in the current region.
- Returns:
- A Java Future containing the result of the DescribeReplicationTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTasksPaginator
This is a variant of
describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksPublisher publisher = client.describeReplicationTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksPublisher publisher = client.describeReplicationTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)
operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTasksPaginator
default DescribeReplicationTasksPublisher describeReplicationTasksPaginator(DescribeReplicationTasksRequest describeReplicationTasksRequest) This is a variant of
describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksPublisher publisher = client.describeReplicationTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksPublisher publisher = client.describeReplicationTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)
operation.- Parameters:
describeReplicationTasksRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationTasksPaginator
default DescribeReplicationTasksPublisher describeReplicationTasksPaginator(Consumer<DescribeReplicationTasksRequest.Builder> describeReplicationTasksRequest) This is a variant of
describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksPublisher publisher = client.describeReplicationTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksPublisher publisher = client.describeReplicationTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)
operation.
This is a convenience which creates an instance of the
DescribeReplicationTasksRequest.Builder
avoiding the need to create one manually viaDescribeReplicationTasksRequest.builder()
- Parameters:
describeReplicationTasksRequest
- AConsumer
that will call methods onDescribeReplicationTasksRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplications
default CompletableFuture<DescribeReplicationsResponse> describeReplications(DescribeReplicationsRequest describeReplicationsRequest) Provides details on replication progress by returning status information for one or more provisioned DMS Serverless replications.
- Parameters:
describeReplicationsRequest
-- Returns:
- A Java Future containing the result of the DescribeReplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplications
default CompletableFuture<DescribeReplicationsResponse> describeReplications(Consumer<DescribeReplicationsRequest.Builder> describeReplicationsRequest) Provides details on replication progress by returning status information for one or more provisioned DMS Serverless replications.
This is a convenience which creates an instance of the
DescribeReplicationsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationsRequest.builder()
- Parameters:
describeReplicationsRequest
- AConsumer
that will call methods onDescribeReplicationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeReplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationsPaginator
default DescribeReplicationsPublisher describeReplicationsPaginator(DescribeReplicationsRequest describeReplicationsRequest) This is a variant of
describeReplications(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationsPublisher publisher = client.describeReplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationsPublisher publisher = client.describeReplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplications(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsRequest)
operation.- Parameters:
describeReplicationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationsPaginator
default DescribeReplicationsPublisher describeReplicationsPaginator(Consumer<DescribeReplicationsRequest.Builder> describeReplicationsRequest) This is a variant of
describeReplications(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationsPublisher publisher = client.describeReplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationsPublisher publisher = client.describeReplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplications(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationsRequest)
operation.
This is a convenience which creates an instance of the
DescribeReplicationsRequest.Builder
avoiding the need to create one manually viaDescribeReplicationsRequest.builder()
- Parameters:
describeReplicationsRequest
- AConsumer
that will call methods onDescribeReplicationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSchemas
default CompletableFuture<DescribeSchemasResponse> describeSchemas(DescribeSchemasRequest describeSchemasRequest) Returns information about the schema for the specified endpoint.
- Parameters:
describeSchemasRequest
-- Returns:
- A Java Future containing the result of the DescribeSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSchemas
default CompletableFuture<DescribeSchemasResponse> describeSchemas(Consumer<DescribeSchemasRequest.Builder> describeSchemasRequest) Returns information about the schema for the specified endpoint.
This is a convenience which creates an instance of the
DescribeSchemasRequest.Builder
avoiding the need to create one manually viaDescribeSchemasRequest.builder()
- Parameters:
describeSchemasRequest
- AConsumer
that will call methods onDescribeSchemasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSchemasPaginator
default DescribeSchemasPublisher describeSchemasPaginator(DescribeSchemasRequest describeSchemasRequest) This is a variant of
describeSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasPublisher publisher = client.describeSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasPublisher publisher = client.describeSchemasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeSchemasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeSchemasResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest)
operation.- Parameters:
describeSchemasRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSchemasPaginator
default DescribeSchemasPublisher describeSchemasPaginator(Consumer<DescribeSchemasRequest.Builder> describeSchemasRequest) This is a variant of
describeSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasPublisher publisher = client.describeSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasPublisher publisher = client.describeSchemasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeSchemasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeSchemasResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest)
operation.
This is a convenience which creates an instance of the
DescribeSchemasRequest.Builder
avoiding the need to create one manually viaDescribeSchemasRequest.builder()
- Parameters:
describeSchemasRequest
- AConsumer
that will call methods onDescribeSchemasRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeTableStatistics
default CompletableFuture<DescribeTableStatisticsResponse> describeTableStatistics(DescribeTableStatisticsRequest describeTableStatisticsRequest) Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
Note that the "last updated" column the DMS console only indicates the time that DMS last updated the table statistics record for a table. It does not indicate the time of the last update to the table.
- Parameters:
describeTableStatisticsRequest
-- Returns:
- A Java Future containing the result of the DescribeTableStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeTableStatistics
default CompletableFuture<DescribeTableStatisticsResponse> describeTableStatistics(Consumer<DescribeTableStatisticsRequest.Builder> describeTableStatisticsRequest) Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
Note that the "last updated" column the DMS console only indicates the time that DMS last updated the table statistics record for a table. It does not indicate the time of the last update to the table.
This is a convenience which creates an instance of the
DescribeTableStatisticsRequest.Builder
avoiding the need to create one manually viaDescribeTableStatisticsRequest.builder()
- Parameters:
describeTableStatisticsRequest
- AConsumer
that will call methods onDescribeTableStatisticsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeTableStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeTableStatisticsPaginator
default DescribeTableStatisticsPublisher describeTableStatisticsPaginator(DescribeTableStatisticsRequest describeTableStatisticsRequest) This is a variant of
describeTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsPublisher publisher = client.describeTableStatisticsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsPublisher publisher = client.describeTableStatisticsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest)
operation.- Parameters:
describeTableStatisticsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeTableStatisticsPaginator
default DescribeTableStatisticsPublisher describeTableStatisticsPaginator(Consumer<DescribeTableStatisticsRequest.Builder> describeTableStatisticsRequest) This is a variant of
describeTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsPublisher publisher = client.describeTableStatisticsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsPublisher publisher = client.describeTableStatisticsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsResponse response) { //... }; });
Please notice that the configuration of MaxRecords won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest)
operation.
This is a convenience which creates an instance of the
DescribeTableStatisticsRequest.Builder
avoiding the need to create one manually viaDescribeTableStatisticsRequest.builder()
- Parameters:
describeTableStatisticsRequest
- AConsumer
that will call methods onDescribeTableStatisticsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportMetadataModelAssessment
default CompletableFuture<ExportMetadataModelAssessmentResponse> exportMetadataModelAssessment(ExportMetadataModelAssessmentRequest exportMetadataModelAssessmentRequest) Saves a copy of a database migration assessment report to your Amazon S3 bucket. DMS can save your assessment report as a comma-separated value (CSV) or a PDF file.
- Parameters:
exportMetadataModelAssessmentRequest
-- Returns:
- A Java Future containing the result of the ExportMetadataModelAssessment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportMetadataModelAssessment
default CompletableFuture<ExportMetadataModelAssessmentResponse> exportMetadataModelAssessment(Consumer<ExportMetadataModelAssessmentRequest.Builder> exportMetadataModelAssessmentRequest) Saves a copy of a database migration assessment report to your Amazon S3 bucket. DMS can save your assessment report as a comma-separated value (CSV) or a PDF file.
This is a convenience which creates an instance of the
ExportMetadataModelAssessmentRequest.Builder
avoiding the need to create one manually viaExportMetadataModelAssessmentRequest.builder()
- Parameters:
exportMetadataModelAssessmentRequest
- AConsumer
that will call methods onExportMetadataModelAssessmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ExportMetadataModelAssessment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importCertificate
default CompletableFuture<ImportCertificateResponse> importCertificate(ImportCertificateRequest importCertificateRequest) Uploads the specified certificate.
- Parameters:
importCertificateRequest
-- Returns:
- A Java Future containing the result of the ImportCertificate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- InvalidCertificateException The certificate was not valid.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importCertificate
default CompletableFuture<ImportCertificateResponse> importCertificate(Consumer<ImportCertificateRequest.Builder> importCertificateRequest) Uploads the specified certificate.
This is a convenience which creates an instance of the
ImportCertificateRequest.Builder
avoiding the need to create one manually viaImportCertificateRequest.builder()
- Parameters:
importCertificateRequest
- AConsumer
that will call methods onImportCertificateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ImportCertificate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- InvalidCertificateException The certificate was not valid.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all metadata tags attached to an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see
Tag
data type description.- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all metadata tags attached to an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see
Tag
data type description.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyConversionConfiguration
default CompletableFuture<ModifyConversionConfigurationResponse> modifyConversionConfiguration(ModifyConversionConfigurationRequest modifyConversionConfigurationRequest) Modifies the specified schema conversion configuration using the provided parameters.
- Parameters:
modifyConversionConfigurationRequest
-- Returns:
- A Java Future containing the result of the ModifyConversionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyConversionConfiguration
default CompletableFuture<ModifyConversionConfigurationResponse> modifyConversionConfiguration(Consumer<ModifyConversionConfigurationRequest.Builder> modifyConversionConfigurationRequest) Modifies the specified schema conversion configuration using the provided parameters.
This is a convenience which creates an instance of the
ModifyConversionConfigurationRequest.Builder
avoiding the need to create one manually viaModifyConversionConfigurationRequest.builder()
- Parameters:
modifyConversionConfigurationRequest
- AConsumer
that will call methods onModifyConversionConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ModifyConversionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyDataProvider
default CompletableFuture<ModifyDataProviderResponse> modifyDataProvider(ModifyDataProviderRequest modifyDataProviderRequest) Modifies the specified data provider using the provided settings.
You must remove the data provider from all migration projects before you can modify it.
- Parameters:
modifyDataProviderRequest
-- Returns:
- A Java Future containing the result of the ModifyDataProvider operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyDataProvider
default CompletableFuture<ModifyDataProviderResponse> modifyDataProvider(Consumer<ModifyDataProviderRequest.Builder> modifyDataProviderRequest) Modifies the specified data provider using the provided settings.
You must remove the data provider from all migration projects before you can modify it.
This is a convenience which creates an instance of the
ModifyDataProviderRequest.Builder
avoiding the need to create one manually viaModifyDataProviderRequest.builder()
- Parameters:
modifyDataProviderRequest
- AConsumer
that will call methods onModifyDataProviderRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ModifyDataProvider operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyEndpoint
default CompletableFuture<ModifyEndpointResponse> modifyEndpoint(ModifyEndpointRequest modifyEndpointRequest) Modifies the specified endpoint.
For a MySQL source or target endpoint, don't explicitly specify the database using the
DatabaseName
request parameter on theModifyEndpoint
API call. SpecifyingDatabaseName
when you modify a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task.- Parameters:
modifyEndpointRequest
-- Returns:
- A Java Future containing the result of the ModifyEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyEndpoint
default CompletableFuture<ModifyEndpointResponse> modifyEndpoint(Consumer<ModifyEndpointRequest.Builder> modifyEndpointRequest) Modifies the specified endpoint.
For a MySQL source or target endpoint, don't explicitly specify the database using the
DatabaseName
request parameter on theModifyEndpoint
API call. SpecifyingDatabaseName
when you modify a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task.
This is a convenience which creates an instance of the
ModifyEndpointRequest.Builder
avoiding the need to create one manually viaModifyEndpointRequest.builder()
- Parameters:
modifyEndpointRequest
- AConsumer
that will call methods onModifyEndpointRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ModifyEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyEventSubscription
default CompletableFuture<ModifyEventSubscriptionResponse> modifyEventSubscription(ModifyEventSubscriptionRequest modifyEventSubscriptionRequest) Modifies an existing DMS event notification subscription.
- Parameters:
modifyEventSubscriptionRequest
-- Returns:
- A Java Future containing the result of the ModifyEventSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- ResourceNotFoundException The resource could not be found.
- SnsInvalidTopicException The SNS topic is invalid.
- SnsNoAuthorizationException You are not authorized for the SNS subscription.
- KmsAccessDeniedException The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
- KmsDisabledException The specified KMS key isn't enabled.
- KmsInvalidStateException The state of the specified KMS resource isn't valid for this request.
- KmsNotFoundException The specified KMS entity or resource can't be found.
- KmsThrottlingException This request triggered KMS request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyEventSubscription
default CompletableFuture<ModifyEventSubscriptionResponse> modifyEventSubscription(Consumer<ModifyEventSubscriptionRequest.Builder> modifyEventSubscriptionRequest) Modifies an existing DMS event notification subscription.
This is a convenience which creates an instance of the
ModifyEventSubscriptionRequest.Builder
avoiding the need to create one manually viaModifyEventSubscriptionRequest.builder()
- Parameters:
modifyEventSubscriptionRequest
- AConsumer
that will call methods onModifyEventSubscriptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ModifyEventSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- ResourceNotFoundException The resource could not be found.
- SnsInvalidTopicException The SNS topic is invalid.
- SnsNoAuthorizationException You are not authorized for the SNS subscription.
- KmsAccessDeniedException The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
- KmsDisabledException The specified KMS key isn't enabled.
- KmsInvalidStateException The state of the specified KMS resource isn't valid for this request.
- KmsNotFoundException The specified KMS entity or resource can't be found.
- KmsThrottlingException This request triggered KMS request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyInstanceProfile
default CompletableFuture<ModifyInstanceProfileResponse> modifyInstanceProfile(ModifyInstanceProfileRequest modifyInstanceProfileRequest) Modifies the specified instance profile using the provided parameters.
All migration projects associated with the instance profile must be deleted or modified before you can modify the instance profile.
- Parameters:
modifyInstanceProfileRequest
-- Returns:
- A Java Future containing the result of the ModifyInstanceProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyInstanceProfile
default CompletableFuture<ModifyInstanceProfileResponse> modifyInstanceProfile(Consumer<ModifyInstanceProfileRequest.Builder> modifyInstanceProfileRequest) Modifies the specified instance profile using the provided parameters.
All migration projects associated with the instance profile must be deleted or modified before you can modify the instance profile.
This is a convenience which creates an instance of the
ModifyInstanceProfileRequest.Builder
avoiding the need to create one manually viaModifyInstanceProfileRequest.builder()
- Parameters:
modifyInstanceProfileRequest
- AConsumer
that will call methods onModifyInstanceProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ModifyInstanceProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyMigrationProject
default CompletableFuture<ModifyMigrationProjectResponse> modifyMigrationProject(ModifyMigrationProjectRequest modifyMigrationProjectRequest) Modifies the specified migration project using the provided parameters.
The migration project must be closed before you can modify it.
- Parameters:
modifyMigrationProjectRequest
-- Returns:
- A Java Future containing the result of the ModifyMigrationProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyMigrationProject
default CompletableFuture<ModifyMigrationProjectResponse> modifyMigrationProject(Consumer<ModifyMigrationProjectRequest.Builder> modifyMigrationProjectRequest) Modifies the specified migration project using the provided parameters.
The migration project must be closed before you can modify it.
This is a convenience which creates an instance of the
ModifyMigrationProjectRequest.Builder
avoiding the need to create one manually viaModifyMigrationProjectRequest.builder()
- Parameters:
modifyMigrationProjectRequest
- AConsumer
that will call methods onModifyMigrationProjectRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ModifyMigrationProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyReplicationConfig
default CompletableFuture<ModifyReplicationConfigResponse> modifyReplicationConfig(ModifyReplicationConfigRequest modifyReplicationConfigRequest) Modifies an existing DMS Serverless replication configuration that you can use to start a replication. This command includes input validation and logic to check the state of any replication that uses this configuration. You can only modify a replication configuration before any replication that uses it has started. As soon as you have initially started a replication with a given configuiration, you can't modify that configuration, even if you stop it.
Other run statuses that allow you to run this command include FAILED and CREATED. A provisioning state that allows you to run this command is FAILED_PROVISION.
- Parameters:
modifyReplicationConfigRequest
-- Returns:
- A Java Future containing the result of the ModifyReplicationConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidSubnetException The subnet provided isn't valid.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyReplicationConfig
default CompletableFuture<ModifyReplicationConfigResponse> modifyReplicationConfig(Consumer<ModifyReplicationConfigRequest.Builder> modifyReplicationConfigRequest) Modifies an existing DMS Serverless replication configuration that you can use to start a replication. This command includes input validation and logic to check the state of any replication that uses this configuration. You can only modify a replication configuration before any replication that uses it has started. As soon as you have initially started a replication with a given configuiration, you can't modify that configuration, even if you stop it.
Other run statuses that allow you to run this command include FAILED and CREATED. A provisioning state that allows you to run this command is FAILED_PROVISION.
This is a convenience which creates an instance of the
ModifyReplicationConfigRequest.Builder
avoiding the need to create one manually viaModifyReplicationConfigRequest.builder()
- Parameters:
modifyReplicationConfigRequest
- AConsumer
that will call methods onModifyReplicationConfigRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ModifyReplicationConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidSubnetException The subnet provided isn't valid.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyReplicationInstance
default CompletableFuture<ModifyReplicationInstanceResponse> modifyReplicationInstance(ModifyReplicationInstanceRequest modifyReplicationInstanceRequest) Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request.
Some settings are applied during the maintenance window.
- Parameters:
modifyReplicationInstanceRequest
-- Returns:
- A Java Future containing the result of the ModifyReplicationInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- InsufficientResourceCapacityException There are not enough resources allocated to the database migration.
- StorageQuotaExceededException The storage quota has been exceeded.
- UpgradeDependencyFailureException An upgrade dependency is preventing the database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyReplicationInstance
default CompletableFuture<ModifyReplicationInstanceResponse> modifyReplicationInstance(Consumer<ModifyReplicationInstanceRequest.Builder> modifyReplicationInstanceRequest) Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request.
Some settings are applied during the maintenance window.
This is a convenience which creates an instance of the
ModifyReplicationInstanceRequest.Builder
avoiding the need to create one manually viaModifyReplicationInstanceRequest.builder()
- Parameters:
modifyReplicationInstanceRequest
- AConsumer
that will call methods onModifyReplicationInstanceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ModifyReplicationInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- InsufficientResourceCapacityException There are not enough resources allocated to the database migration.
- StorageQuotaExceededException The storage quota has been exceeded.
- UpgradeDependencyFailureException An upgrade dependency is preventing the database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyReplicationSubnetGroup
default CompletableFuture<ModifyReplicationSubnetGroupResponse> modifyReplicationSubnetGroup(ModifyReplicationSubnetGroupRequest modifyReplicationSubnetGroupRequest) Modifies the settings for the specified replication subnet group.
- Parameters:
modifyReplicationSubnetGroupRequest
-- Returns:
- A Java Future containing the result of the ModifyReplicationSubnetGroup operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- SubnetAlreadyInUseException The specified subnet is already in use.
- ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidSubnetException The subnet provided isn't valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyReplicationSubnetGroup
default CompletableFuture<ModifyReplicationSubnetGroupResponse> modifyReplicationSubnetGroup(Consumer<ModifyReplicationSubnetGroupRequest.Builder> modifyReplicationSubnetGroupRequest) Modifies the settings for the specified replication subnet group.
This is a convenience which creates an instance of the
ModifyReplicationSubnetGroupRequest.Builder
avoiding the need to create one manually viaModifyReplicationSubnetGroupRequest.builder()
- Parameters:
modifyReplicationSubnetGroupRequest
- AConsumer
that will call methods onModifyReplicationSubnetGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ModifyReplicationSubnetGroup operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- SubnetAlreadyInUseException The specified subnet is already in use.
- ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
- InvalidSubnetException The subnet provided isn't valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyReplicationTask
default CompletableFuture<ModifyReplicationTaskResponse> modifyReplicationTask(ModifyReplicationTaskRequest modifyReplicationTaskRequest) Modifies the specified replication task.
You can't modify the task endpoints. The task must be stopped before you can modify it.
For more information about DMS tasks, see Working with Migration Tasks in the Database Migration Service User Guide.
- Parameters:
modifyReplicationTaskRequest
-- Returns:
- A Java Future containing the result of the ModifyReplicationTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyReplicationTask
default CompletableFuture<ModifyReplicationTaskResponse> modifyReplicationTask(Consumer<ModifyReplicationTaskRequest.Builder> modifyReplicationTaskRequest) Modifies the specified replication task.
You can't modify the task endpoints. The task must be stopped before you can modify it.
For more information about DMS tasks, see Working with Migration Tasks in the Database Migration Service User Guide.
This is a convenience which creates an instance of the
ModifyReplicationTaskRequest.Builder
avoiding the need to create one manually viaModifyReplicationTaskRequest.builder()
- Parameters:
modifyReplicationTaskRequest
- AConsumer
that will call methods onModifyReplicationTaskRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ModifyReplicationTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
moveReplicationTask
default CompletableFuture<MoveReplicationTaskResponse> moveReplicationTask(MoveReplicationTaskRequest moveReplicationTaskRequest) Moves a replication task from its current replication instance to a different target replication instance using the specified parameters. The target replication instance must be created with the same or later DMS version as the current replication instance.
- Parameters:
moveReplicationTaskRequest
-- Returns:
- A Java Future containing the result of the MoveReplicationTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
moveReplicationTask
default CompletableFuture<MoveReplicationTaskResponse> moveReplicationTask(Consumer<MoveReplicationTaskRequest.Builder> moveReplicationTaskRequest) Moves a replication task from its current replication instance to a different target replication instance using the specified parameters. The target replication instance must be created with the same or later DMS version as the current replication instance.
This is a convenience which creates an instance of the
MoveReplicationTaskRequest.Builder
avoiding the need to create one manually viaMoveReplicationTaskRequest.builder()
- Parameters:
moveReplicationTaskRequest
- AConsumer
that will call methods onMoveReplicationTaskRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the MoveReplicationTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rebootReplicationInstance
default CompletableFuture<RebootReplicationInstanceResponse> rebootReplicationInstance(RebootReplicationInstanceRequest rebootReplicationInstanceRequest) Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes available again.
- Parameters:
rebootReplicationInstanceRequest
-- Returns:
- A Java Future containing the result of the RebootReplicationInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rebootReplicationInstance
default CompletableFuture<RebootReplicationInstanceResponse> rebootReplicationInstance(Consumer<RebootReplicationInstanceRequest.Builder> rebootReplicationInstanceRequest) Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes available again.
This is a convenience which creates an instance of the
RebootReplicationInstanceRequest.Builder
avoiding the need to create one manually viaRebootReplicationInstanceRequest.builder()
- Parameters:
rebootReplicationInstanceRequest
- AConsumer
that will call methods onRebootReplicationInstanceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RebootReplicationInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
refreshSchemas
default CompletableFuture<RefreshSchemasResponse> refreshSchemas(RefreshSchemasRequest refreshSchemasRequest) Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation.
- Parameters:
refreshSchemasRequest
-- Returns:
- A Java Future containing the result of the RefreshSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
refreshSchemas
default CompletableFuture<RefreshSchemasResponse> refreshSchemas(Consumer<RefreshSchemasRequest.Builder> refreshSchemasRequest) Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation.
This is a convenience which creates an instance of the
RefreshSchemasRequest.Builder
avoiding the need to create one manually viaRefreshSchemasRequest.builder()
- Parameters:
refreshSchemasRequest
- AConsumer
that will call methods onRefreshSchemasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RefreshSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
reloadReplicationTables
default CompletableFuture<ReloadReplicationTablesResponse> reloadReplicationTables(ReloadReplicationTablesRequest reloadReplicationTablesRequest) Reloads the target database table with the source data for a given DMS Serverless replication configuration.
You can only use this operation with a task in the RUNNING state, otherwise the service will throw an
InvalidResourceStateFault
exception.- Parameters:
reloadReplicationTablesRequest
-- Returns:
- A Java Future containing the result of the ReloadReplicationTables operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
reloadReplicationTables
default CompletableFuture<ReloadReplicationTablesResponse> reloadReplicationTables(Consumer<ReloadReplicationTablesRequest.Builder> reloadReplicationTablesRequest) Reloads the target database table with the source data for a given DMS Serverless replication configuration.
You can only use this operation with a task in the RUNNING state, otherwise the service will throw an
InvalidResourceStateFault
exception.
This is a convenience which creates an instance of the
ReloadReplicationTablesRequest.Builder
avoiding the need to create one manually viaReloadReplicationTablesRequest.builder()
- Parameters:
reloadReplicationTablesRequest
- AConsumer
that will call methods onReloadReplicationTablesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ReloadReplicationTables operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
reloadTables
default CompletableFuture<ReloadTablesResponse> reloadTables(ReloadTablesRequest reloadTablesRequest) Reloads the target database table with the source data.
You can only use this operation with a task in the
RUNNING
state, otherwise the service will throw anInvalidResourceStateFault
exception.- Parameters:
reloadTablesRequest
-- Returns:
- A Java Future containing the result of the ReloadTables operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
reloadTables
default CompletableFuture<ReloadTablesResponse> reloadTables(Consumer<ReloadTablesRequest.Builder> reloadTablesRequest) Reloads the target database table with the source data.
You can only use this operation with a task in the
RUNNING
state, otherwise the service will throw anInvalidResourceStateFault
exception.
This is a convenience which creates an instance of the
ReloadTablesRequest.Builder
avoiding the need to create one manually viaReloadTablesRequest.builder()
- Parameters:
reloadTablesRequest
- AConsumer
that will call methods onReloadTablesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ReloadTables operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeTagsFromResource
default CompletableFuture<RemoveTagsFromResourceResponse> removeTagsFromResource(RemoveTagsFromResourceRequest removeTagsFromResourceRequest) Removes metadata tags from an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see
Tag
data type description.- Parameters:
removeTagsFromResourceRequest
- Removes one or more tags from an DMS resource.- Returns:
- A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeTagsFromResource
default CompletableFuture<RemoveTagsFromResourceResponse> removeTagsFromResource(Consumer<RemoveTagsFromResourceRequest.Builder> removeTagsFromResourceRequest) Removes metadata tags from an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see
Tag
data type description.
This is a convenience which creates an instance of the
RemoveTagsFromResourceRequest.Builder
avoiding the need to create one manually viaRemoveTagsFromResourceRequest.builder()
- Parameters:
removeTagsFromResourceRequest
- AConsumer
that will call methods onRemoveTagsFromResourceRequest.Builder
to create a request. Removes one or more tags from an DMS resource.- Returns:
- A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
runFleetAdvisorLsaAnalysis
default CompletableFuture<RunFleetAdvisorLsaAnalysisResponse> runFleetAdvisorLsaAnalysis(RunFleetAdvisorLsaAnalysisRequest runFleetAdvisorLsaAnalysisRequest) Runs large-scale assessment (LSA) analysis on every Fleet Advisor collector in your account.
- Parameters:
runFleetAdvisorLsaAnalysisRequest
-- Returns:
- A Java Future containing the result of the RunFleetAdvisorLsaAnalysis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
runFleetAdvisorLsaAnalysis
default CompletableFuture<RunFleetAdvisorLsaAnalysisResponse> runFleetAdvisorLsaAnalysis(Consumer<RunFleetAdvisorLsaAnalysisRequest.Builder> runFleetAdvisorLsaAnalysisRequest) Runs large-scale assessment (LSA) analysis on every Fleet Advisor collector in your account.
This is a convenience which creates an instance of the
RunFleetAdvisorLsaAnalysisRequest.Builder
avoiding the need to create one manually viaRunFleetAdvisorLsaAnalysisRequest.builder()
- Parameters:
runFleetAdvisorLsaAnalysisRequest
- AConsumer
that will call methods onRunFleetAdvisorLsaAnalysisRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RunFleetAdvisorLsaAnalysis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startExtensionPackAssociation
default CompletableFuture<StartExtensionPackAssociationResponse> startExtensionPackAssociation(StartExtensionPackAssociationRequest startExtensionPackAssociationRequest) Applies the extension pack to your target database. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database.
- Parameters:
startExtensionPackAssociationRequest
-- Returns:
- A Java Future containing the result of the StartExtensionPackAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startExtensionPackAssociation
default CompletableFuture<StartExtensionPackAssociationResponse> startExtensionPackAssociation(Consumer<StartExtensionPackAssociationRequest.Builder> startExtensionPackAssociationRequest) Applies the extension pack to your target database. An extension pack is an add-on module that emulates functions present in a source database that are required when converting objects to the target database.
This is a convenience which creates an instance of the
StartExtensionPackAssociationRequest.Builder
avoiding the need to create one manually viaStartExtensionPackAssociationRequest.builder()
- Parameters:
startExtensionPackAssociationRequest
- AConsumer
that will call methods onStartExtensionPackAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartExtensionPackAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMetadataModelAssessment
default CompletableFuture<StartMetadataModelAssessmentResponse> startMetadataModelAssessment(StartMetadataModelAssessmentRequest startMetadataModelAssessmentRequest) Creates a database migration assessment report by assessing the migration complexity for your source database. A database migration assessment report summarizes all of the schema conversion tasks. It also details the action items for database objects that can't be converted to the database engine of your target database instance.
- Parameters:
startMetadataModelAssessmentRequest
-- Returns:
- A Java Future containing the result of the StartMetadataModelAssessment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMetadataModelAssessment
default CompletableFuture<StartMetadataModelAssessmentResponse> startMetadataModelAssessment(Consumer<StartMetadataModelAssessmentRequest.Builder> startMetadataModelAssessmentRequest) Creates a database migration assessment report by assessing the migration complexity for your source database. A database migration assessment report summarizes all of the schema conversion tasks. It also details the action items for database objects that can't be converted to the database engine of your target database instance.
This is a convenience which creates an instance of the
StartMetadataModelAssessmentRequest.Builder
avoiding the need to create one manually viaStartMetadataModelAssessmentRequest.builder()
- Parameters:
startMetadataModelAssessmentRequest
- AConsumer
that will call methods onStartMetadataModelAssessmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartMetadataModelAssessment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMetadataModelConversion
default CompletableFuture<StartMetadataModelConversionResponse> startMetadataModelConversion(StartMetadataModelConversionRequest startMetadataModelConversionRequest) Converts your source database objects to a format compatible with the target database.
- Parameters:
startMetadataModelConversionRequest
-- Returns:
- A Java Future containing the result of the StartMetadataModelConversion operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMetadataModelConversion
default CompletableFuture<StartMetadataModelConversionResponse> startMetadataModelConversion(Consumer<StartMetadataModelConversionRequest.Builder> startMetadataModelConversionRequest) Converts your source database objects to a format compatible with the target database.
This is a convenience which creates an instance of the
StartMetadataModelConversionRequest.Builder
avoiding the need to create one manually viaStartMetadataModelConversionRequest.builder()
- Parameters:
startMetadataModelConversionRequest
- AConsumer
that will call methods onStartMetadataModelConversionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartMetadataModelConversion operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMetadataModelExportAsScript
default CompletableFuture<StartMetadataModelExportAsScriptResponse> startMetadataModelExportAsScript(StartMetadataModelExportAsScriptRequest startMetadataModelExportAsScriptRequest) Saves your converted code to a file as a SQL script, and stores this file on your Amazon S3 bucket.
- Parameters:
startMetadataModelExportAsScriptRequest
-- Returns:
- A Java Future containing the result of the StartMetadataModelExportAsScript operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMetadataModelExportAsScript
default CompletableFuture<StartMetadataModelExportAsScriptResponse> startMetadataModelExportAsScript(Consumer<StartMetadataModelExportAsScriptRequest.Builder> startMetadataModelExportAsScriptRequest) Saves your converted code to a file as a SQL script, and stores this file on your Amazon S3 bucket.
This is a convenience which creates an instance of the
StartMetadataModelExportAsScriptRequest.Builder
avoiding the need to create one manually viaStartMetadataModelExportAsScriptRequest.builder()
- Parameters:
startMetadataModelExportAsScriptRequest
- AConsumer
that will call methods onStartMetadataModelExportAsScriptRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartMetadataModelExportAsScript operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMetadataModelExportToTarget
default CompletableFuture<StartMetadataModelExportToTargetResponse> startMetadataModelExportToTarget(StartMetadataModelExportToTargetRequest startMetadataModelExportToTargetRequest) Applies converted database objects to your target database.
- Parameters:
startMetadataModelExportToTargetRequest
-- Returns:
- A Java Future containing the result of the StartMetadataModelExportToTarget operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMetadataModelExportToTarget
default CompletableFuture<StartMetadataModelExportToTargetResponse> startMetadataModelExportToTarget(Consumer<StartMetadataModelExportToTargetRequest.Builder> startMetadataModelExportToTargetRequest) Applies converted database objects to your target database.
This is a convenience which creates an instance of the
StartMetadataModelExportToTargetRequest.Builder
avoiding the need to create one manually viaStartMetadataModelExportToTargetRequest.builder()
- Parameters:
startMetadataModelExportToTargetRequest
- AConsumer
that will call methods onStartMetadataModelExportToTargetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartMetadataModelExportToTarget operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMetadataModelImport
default CompletableFuture<StartMetadataModelImportResponse> startMetadataModelImport(StartMetadataModelImportRequest startMetadataModelImportRequest) Loads the metadata for all the dependent database objects of the parent object.
This operation uses your project's Amazon S3 bucket as a metadata cache to improve performance.
- Parameters:
startMetadataModelImportRequest
-- Returns:
- A Java Future containing the result of the StartMetadataModelImport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMetadataModelImport
default CompletableFuture<StartMetadataModelImportResponse> startMetadataModelImport(Consumer<StartMetadataModelImportRequest.Builder> startMetadataModelImportRequest) Loads the metadata for all the dependent database objects of the parent object.
This operation uses your project's Amazon S3 bucket as a metadata cache to improve performance.
This is a convenience which creates an instance of the
StartMetadataModelImportRequest.Builder
avoiding the need to create one manually viaStartMetadataModelImportRequest.builder()
- Parameters:
startMetadataModelImportRequest
- AConsumer
that will call methods onStartMetadataModelImportRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartMetadataModelImport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- ResourceNotFoundException The resource could not be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startRecommendations
default CompletableFuture<StartRecommendationsResponse> startRecommendations(StartRecommendationsRequest startRecommendationsRequest) Starts the analysis of your source database to provide recommendations of target engines.
You can create recommendations for multiple source databases using BatchStartRecommendations.
- Parameters:
startRecommendationsRequest
-- Returns:
- A Java Future containing the result of the StartRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startRecommendations
default CompletableFuture<StartRecommendationsResponse> startRecommendations(Consumer<StartRecommendationsRequest.Builder> startRecommendationsRequest) Starts the analysis of your source database to provide recommendations of target engines.
You can create recommendations for multiple source databases using BatchStartRecommendations.
This is a convenience which creates an instance of the
StartRecommendationsRequest.Builder
avoiding the need to create one manually viaStartRecommendationsRequest.builder()
- Parameters:
startRecommendationsRequest
- AConsumer
that will call methods onStartRecommendationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startReplication
default CompletableFuture<StartReplicationResponse> startReplication(StartReplicationRequest startReplicationRequest) For a given DMS Serverless replication configuration, DMS connects to the source endpoint and collects the metadata to analyze the replication workload. Using this metadata, DMS then computes and provisions the required capacity and starts replicating to the target endpoint using the server resources that DMS has provisioned for the DMS Serverless replication.
- Parameters:
startReplicationRequest
-- Returns:
- A Java Future containing the result of the StartReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startReplication
default CompletableFuture<StartReplicationResponse> startReplication(Consumer<StartReplicationRequest.Builder> startReplicationRequest) For a given DMS Serverless replication configuration, DMS connects to the source endpoint and collects the metadata to analyze the replication workload. Using this metadata, DMS then computes and provisions the required capacity and starts replicating to the target endpoint using the server resources that DMS has provisioned for the DMS Serverless replication.
This is a convenience which creates an instance of the
StartReplicationRequest.Builder
avoiding the need to create one manually viaStartReplicationRequest.builder()
- Parameters:
startReplicationRequest
- AConsumer
that will call methods onStartReplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startReplicationTask
default CompletableFuture<StartReplicationTaskResponse> startReplicationTask(StartReplicationTaskRequest startReplicationTaskRequest) Starts the replication task.
For more information about DMS tasks, see Working with Migration Tasks in the Database Migration Service User Guide.
- Parameters:
startReplicationTaskRequest
-- Returns:
- A Java Future containing the result of the StartReplicationTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startReplicationTask
default CompletableFuture<StartReplicationTaskResponse> startReplicationTask(Consumer<StartReplicationTaskRequest.Builder> startReplicationTaskRequest) Starts the replication task.
For more information about DMS tasks, see Working with Migration Tasks in the Database Migration Service User Guide.
This is a convenience which creates an instance of the
StartReplicationTaskRequest.Builder
avoiding the need to create one manually viaStartReplicationTaskRequest.builder()
- Parameters:
startReplicationTaskRequest
- AConsumer
that will call methods onStartReplicationTaskRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartReplicationTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startReplicationTaskAssessment
default CompletableFuture<StartReplicationTaskAssessmentResponse> startReplicationTaskAssessment(StartReplicationTaskAssessmentRequest startReplicationTaskAssessmentRequest) Starts the replication task assessment for unsupported data types in the source database.
You can only use this operation for a task if the following conditions are true:
-
The task must be in the
stopped
state. -
The task must have successful connections to the source and target.
If either of these conditions are not met, an
InvalidResourceStateFault
error will result.For information about DMS task assessments, see Creating a task assessment report in the Database Migration Service User Guide.
- Parameters:
startReplicationTaskAssessmentRequest
-- Returns:
- A Java Future containing the result of the StartReplicationTaskAssessment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
startReplicationTaskAssessment
default CompletableFuture<StartReplicationTaskAssessmentResponse> startReplicationTaskAssessment(Consumer<StartReplicationTaskAssessmentRequest.Builder> startReplicationTaskAssessmentRequest) Starts the replication task assessment for unsupported data types in the source database.
You can only use this operation for a task if the following conditions are true:
-
The task must be in the
stopped
state. -
The task must have successful connections to the source and target.
If either of these conditions are not met, an
InvalidResourceStateFault
error will result.For information about DMS task assessments, see Creating a task assessment report in the Database Migration Service User Guide.
This is a convenience which creates an instance of the
StartReplicationTaskAssessmentRequest.Builder
avoiding the need to create one manually viaStartReplicationTaskAssessmentRequest.builder()
- Parameters:
startReplicationTaskAssessmentRequest
- AConsumer
that will call methods onStartReplicationTaskAssessmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartReplicationTaskAssessment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
startReplicationTaskAssessmentRun
default CompletableFuture<StartReplicationTaskAssessmentRunResponse> startReplicationTaskAssessmentRun(StartReplicationTaskAssessmentRunRequest startReplicationTaskAssessmentRunRequest) Starts a new premigration assessment run for one or more individual assessments of a migration task.
The assessments that you can specify depend on the source and target database engine and the migration type defined for the given task. To run this operation, your migration task must already be created. After you run this operation, you can review the status of each individual assessment. You can also run the migration task manually after the assessment run and its individual assessments complete.
- Parameters:
startReplicationTaskAssessmentRunRequest
-- Returns:
- A Java Future containing the result of the StartReplicationTaskAssessmentRun operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- KmsAccessDeniedException The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
- KmsDisabledException The specified KMS key isn't enabled.
- KmsException An Key Management Service (KMS) error is preventing access to KMS.
- KmsInvalidStateException The state of the specified KMS resource isn't valid for this request.
- KmsNotFoundException The specified KMS entity or resource can't be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startReplicationTaskAssessmentRun
default CompletableFuture<StartReplicationTaskAssessmentRunResponse> startReplicationTaskAssessmentRun(Consumer<StartReplicationTaskAssessmentRunRequest.Builder> startReplicationTaskAssessmentRunRequest) Starts a new premigration assessment run for one or more individual assessments of a migration task.
The assessments that you can specify depend on the source and target database engine and the migration type defined for the given task. To run this operation, your migration task must already be created. After you run this operation, you can review the status of each individual assessment. You can also run the migration task manually after the assessment run and its individual assessments complete.
This is a convenience which creates an instance of the
StartReplicationTaskAssessmentRunRequest.Builder
avoiding the need to create one manually viaStartReplicationTaskAssessmentRunRequest.builder()
- Parameters:
startReplicationTaskAssessmentRunRequest
- AConsumer
that will call methods onStartReplicationTaskAssessmentRunRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartReplicationTaskAssessmentRun operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- KmsAccessDeniedException The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
- KmsDisabledException The specified KMS key isn't enabled.
- KmsException An Key Management Service (KMS) error is preventing access to KMS.
- KmsInvalidStateException The state of the specified KMS resource isn't valid for this request.
- KmsNotFoundException The specified KMS entity or resource can't be found.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- S3AccessDeniedException Insufficient privileges are preventing access to an Amazon S3 object.
- S3ResourceNotFoundException A specified Amazon S3 bucket, bucket folder, or other object can't be found.
- ResourceAlreadyExistsException The resource you are attempting to create already exists.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopReplication
default CompletableFuture<StopReplicationResponse> stopReplication(StopReplicationRequest stopReplicationRequest) For a given DMS Serverless replication configuration, DMS stops any and all ongoing DMS Serverless replications. This command doesn't deprovision the stopped replications.
- Parameters:
stopReplicationRequest
-- Returns:
- A Java Future containing the result of the StopReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopReplication
default CompletableFuture<StopReplicationResponse> stopReplication(Consumer<StopReplicationRequest.Builder> stopReplicationRequest) For a given DMS Serverless replication configuration, DMS stops any and all ongoing DMS Serverless replications. This command doesn't deprovision the stopped replications.
This is a convenience which creates an instance of the
StopReplicationRequest.Builder
avoiding the need to create one manually viaStopReplicationRequest.builder()
- Parameters:
stopReplicationRequest
- AConsumer
that will call methods onStopReplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StopReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopReplicationTask
default CompletableFuture<StopReplicationTaskResponse> stopReplicationTask(StopReplicationTaskRequest stopReplicationTaskRequest) Stops the replication task.
- Parameters:
stopReplicationTaskRequest
-- Returns:
- A Java Future containing the result of the StopReplicationTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopReplicationTask
default CompletableFuture<StopReplicationTaskResponse> stopReplicationTask(Consumer<StopReplicationTaskRequest.Builder> stopReplicationTaskRequest) Stops the replication task.
This is a convenience which creates an instance of the
StopReplicationTaskRequest.Builder
avoiding the need to create one manually viaStopReplicationTaskRequest.builder()
- Parameters:
stopReplicationTaskRequest
- AConsumer
that will call methods onStopReplicationTaskRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StopReplicationTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
testConnection
default CompletableFuture<TestConnectionResponse> testConnection(TestConnectionRequest testConnectionRequest) Tests the connection between the replication instance and the endpoint.
- Parameters:
testConnectionRequest
-- Returns:
- A Java Future containing the result of the TestConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
testConnection
default CompletableFuture<TestConnectionResponse> testConnection(Consumer<TestConnectionRequest.Builder> testConnectionRequest) Tests the connection between the replication instance and the endpoint.
This is a convenience which creates an instance of the
TestConnectionRequest.Builder
avoiding the need to create one manually viaTestConnectionRequest.builder()
- Parameters:
testConnectionRequest
- AConsumer
that will call methods onTestConnectionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TestConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- KmsKeyNotAccessibleException DMS cannot access the KMS key.
- ResourceQuotaExceededException The quota for this resource quota has been exceeded.
- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSubscriptionsToEventBridge
default CompletableFuture<UpdateSubscriptionsToEventBridgeResponse> updateSubscriptionsToEventBridge(UpdateSubscriptionsToEventBridgeRequest updateSubscriptionsToEventBridgeRequest) Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to corresponding Amazon EventBridge rules. By default, this operation migrates subscriptions only when all your replication instance versions are 3.4.5 or higher. If any replication instances are from versions earlier than 3.4.5, the operation raises an error and tells you to upgrade these instances to version 3.4.5 or higher. To enable migration regardless of version, set the
Force
option to true. However, if you don't upgrade instances earlier than version 3.4.5, some types of events might not be available when you use Amazon EventBridge.To call this operation, make sure that you have certain permissions added to your user account. For more information, see Migrating event subscriptions to Amazon EventBridge in the Amazon Web Services Database Migration Service User Guide.
- Parameters:
updateSubscriptionsToEventBridgeRequest
-- Returns:
- A Java Future containing the result of the UpdateSubscriptionsToEventBridge operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSubscriptionsToEventBridge
default CompletableFuture<UpdateSubscriptionsToEventBridgeResponse> updateSubscriptionsToEventBridge(Consumer<UpdateSubscriptionsToEventBridgeRequest.Builder> updateSubscriptionsToEventBridgeRequest) Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them to corresponding Amazon EventBridge rules. By default, this operation migrates subscriptions only when all your replication instance versions are 3.4.5 or higher. If any replication instances are from versions earlier than 3.4.5, the operation raises an error and tells you to upgrade these instances to version 3.4.5 or higher. To enable migration regardless of version, set the
Force
option to true. However, if you don't upgrade instances earlier than version 3.4.5, some types of events might not be available when you use Amazon EventBridge.To call this operation, make sure that you have certain permissions added to your user account. For more information, see Migrating event subscriptions to Amazon EventBridge in the Amazon Web Services Database Migration Service User Guide.
This is a convenience which creates an instance of the
UpdateSubscriptionsToEventBridgeRequest.Builder
avoiding the need to create one manually viaUpdateSubscriptionsToEventBridgeRequest.builder()
- Parameters:
updateSubscriptionsToEventBridgeRequest
- AConsumer
that will call methods onUpdateSubscriptionsToEventBridgeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSubscriptionsToEventBridge operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException DMS was denied access to the endpoint. Check that the role is correctly configured.
- InvalidResourceStateException The resource is in a state that prevents it from being used for database migration.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
waiter
Create an instance ofDatabaseMigrationAsyncWaiter
using this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
DatabaseMigrationAsyncWaiter
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aDatabaseMigrationAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aDatabaseMigrationAsyncClient
.
-