Interface MgnAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The
asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the
SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such
as credentials retrieval and endpoint discovery as part of the async API call.
The Application Migration Service service.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionarchiveApplication(Consumer<ArchiveApplicationRequest.Builder> archiveApplicationRequest) Archive application.archiveApplication(ArchiveApplicationRequest archiveApplicationRequest) Archive application.default CompletableFuture<ArchiveWaveResponse> archiveWave(Consumer<ArchiveWaveRequest.Builder> archiveWaveRequest) Archive wave.default CompletableFuture<ArchiveWaveResponse> archiveWave(ArchiveWaveRequest archiveWaveRequest) Archive wave.associateApplications(Consumer<AssociateApplicationsRequest.Builder> associateApplicationsRequest) Associate applications to wave.associateApplications(AssociateApplicationsRequest associateApplicationsRequest) Associate applications to wave.associateSourceServers(Consumer<AssociateSourceServersRequest.Builder> associateSourceServersRequest) Associate source servers to application.associateSourceServers(AssociateSourceServersRequest associateSourceServersRequest) Associate source servers to application.static MgnAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aMgnAsyncClient.changeServerLifeCycleState(Consumer<ChangeServerLifeCycleStateRequest.Builder> changeServerLifeCycleStateRequest) Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER.changeServerLifeCycleState(ChangeServerLifeCycleStateRequest changeServerLifeCycleStateRequest) Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER.static MgnAsyncClientcreate()Create aMgnAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Create application.createApplication(CreateApplicationRequest createApplicationRequest) Create application.default CompletableFuture<CreateConnectorResponse> createConnector(Consumer<CreateConnectorRequest.Builder> createConnectorRequest) Create Connector.default CompletableFuture<CreateConnectorResponse> createConnector(CreateConnectorRequest createConnectorRequest) Create Connector.createLaunchConfigurationTemplate(Consumer<CreateLaunchConfigurationTemplateRequest.Builder> createLaunchConfigurationTemplateRequest) Creates a new Launch Configuration Template.createLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest createLaunchConfigurationTemplateRequest) Creates a new Launch Configuration Template.createNetworkMigrationDefinition(Consumer<CreateNetworkMigrationDefinitionRequest.Builder> createNetworkMigrationDefinitionRequest) Creates a new network migration definition that specifies the source and target network configuration for a migration.createNetworkMigrationDefinition(CreateNetworkMigrationDefinitionRequest createNetworkMigrationDefinitionRequest) Creates a new network migration definition that specifies the source and target network configuration for a migration.createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest) Creates a new ReplicationConfigurationTemplate.createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest) Creates a new ReplicationConfigurationTemplate.default CompletableFuture<CreateWaveResponse> createWave(Consumer<CreateWaveRequest.Builder> createWaveRequest) Create wave.default CompletableFuture<CreateWaveResponse> createWave(CreateWaveRequest createWaveRequest) Create wave.deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Delete application.deleteApplication(DeleteApplicationRequest deleteApplicationRequest) Delete application.default CompletableFuture<DeleteConnectorResponse> deleteConnector(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest) Delete Connector.default CompletableFuture<DeleteConnectorResponse> deleteConnector(DeleteConnectorRequest deleteConnectorRequest) Delete Connector.default CompletableFuture<DeleteJobResponse> deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest) Deletes a single Job by ID.default CompletableFuture<DeleteJobResponse> deleteJob(DeleteJobRequest deleteJobRequest) Deletes a single Job by ID.deleteLaunchConfigurationTemplate(Consumer<DeleteLaunchConfigurationTemplateRequest.Builder> deleteLaunchConfigurationTemplateRequest) Deletes a single Launch Configuration Template by ID.deleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest deleteLaunchConfigurationTemplateRequest) Deletes a single Launch Configuration Template by ID.deleteNetworkMigrationDefinition(Consumer<DeleteNetworkMigrationDefinitionRequest.Builder> deleteNetworkMigrationDefinitionRequest) Deletes a network migration definition.deleteNetworkMigrationDefinition(DeleteNetworkMigrationDefinitionRequest deleteNetworkMigrationDefinitionRequest) Deletes a network migration definition.deleteReplicationConfigurationTemplate(Consumer<DeleteReplicationConfigurationTemplateRequest.Builder> deleteReplicationConfigurationTemplateRequest) Deletes a single Replication Configuration Template by IDdeleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest) Deletes a single Replication Configuration Template by IDdeleteSourceServer(Consumer<DeleteSourceServerRequest.Builder> deleteSourceServerRequest) Deletes a single source server by ID.deleteSourceServer(DeleteSourceServerRequest deleteSourceServerRequest) Deletes a single source server by ID.deleteVcenterClient(Consumer<DeleteVcenterClientRequest.Builder> deleteVcenterClientRequest) Deletes a given vCenter client by ID.deleteVcenterClient(DeleteVcenterClientRequest deleteVcenterClientRequest) Deletes a given vCenter client by ID.default CompletableFuture<DeleteWaveResponse> deleteWave(Consumer<DeleteWaveRequest.Builder> deleteWaveRequest) Delete wave.default CompletableFuture<DeleteWaveResponse> deleteWave(DeleteWaveRequest deleteWaveRequest) Delete wave.describeJobLogItems(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) Retrieves detailed job log items with paging.describeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest) Retrieves detailed job log items with paging.default DescribeJobLogItemsPublisherdescribeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) This is a variant ofdescribeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest)operation.default DescribeJobLogItemsPublisherdescribeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest) This is a variant ofdescribeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest)operation.default CompletableFuture<DescribeJobsResponse> describeJobs(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) Returns a list of Jobs.default CompletableFuture<DescribeJobsResponse> describeJobs(DescribeJobsRequest describeJobsRequest) Returns a list of Jobs.default DescribeJobsPublisherdescribeJobsPaginator(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) This is a variant ofdescribeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest)operation.default DescribeJobsPublisherdescribeJobsPaginator(DescribeJobsRequest describeJobsRequest) This is a variant ofdescribeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest)operation.describeLaunchConfigurationTemplates(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDsdescribeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDsdescribeLaunchConfigurationTemplatesPaginator(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) This is a variant ofdescribeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest)operation.describeLaunchConfigurationTemplatesPaginator(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) This is a variant ofdescribeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest)operation.describeReplicationConfigurationTemplates(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.describeReplicationConfigurationTemplatesPaginator(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) describeReplicationConfigurationTemplatesPaginator(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) describeSourceServers(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) Retrieves all SourceServers or multiple SourceServers by ID.describeSourceServers(DescribeSourceServersRequest describeSourceServersRequest) Retrieves all SourceServers or multiple SourceServers by ID.default DescribeSourceServersPublisherdescribeSourceServersPaginator(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) This is a variant ofdescribeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest)operation.default DescribeSourceServersPublisherdescribeSourceServersPaginator(DescribeSourceServersRequest describeSourceServersRequest) This is a variant ofdescribeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest)operation.describeVcenterClients(Consumer<DescribeVcenterClientsRequest.Builder> describeVcenterClientsRequest) Returns a list of the installed vCenter clients.describeVcenterClients(DescribeVcenterClientsRequest describeVcenterClientsRequest) Returns a list of the installed vCenter clients.default DescribeVcenterClientsPublisherdescribeVcenterClientsPaginator(Consumer<DescribeVcenterClientsRequest.Builder> describeVcenterClientsRequest) This is a variant ofdescribeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest)operation.default DescribeVcenterClientsPublisherdescribeVcenterClientsPaginator(DescribeVcenterClientsRequest describeVcenterClientsRequest) This is a variant ofdescribeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest)operation.disassociateApplications(Consumer<DisassociateApplicationsRequest.Builder> disassociateApplicationsRequest) Disassociate applications from wave.disassociateApplications(DisassociateApplicationsRequest disassociateApplicationsRequest) Disassociate applications from wave.disassociateSourceServers(Consumer<DisassociateSourceServersRequest.Builder> disassociateSourceServersRequest) Disassociate source servers from application.disassociateSourceServers(DisassociateSourceServersRequest disassociateSourceServersRequest) Disassociate source servers from application.disconnectFromService(Consumer<DisconnectFromServiceRequest.Builder> disconnectFromServiceRequest) Disconnects specific Source Servers from Application Migration Service.disconnectFromService(DisconnectFromServiceRequest disconnectFromServiceRequest) Disconnects specific Source Servers from Application Migration Service.default CompletableFuture<FinalizeCutoverResponse> finalizeCutover(Consumer<FinalizeCutoverRequest.Builder> finalizeCutoverRequest) Finalizes the cutover immediately for specific Source Servers.default CompletableFuture<FinalizeCutoverResponse> finalizeCutover(FinalizeCutoverRequest finalizeCutoverRequest) Finalizes the cutover immediately for specific Source Servers.getLaunchConfiguration(Consumer<GetLaunchConfigurationRequest.Builder> getLaunchConfigurationRequest) Lists all LaunchConfigurations available, filtered by Source Server IDs.getLaunchConfiguration(GetLaunchConfigurationRequest getLaunchConfigurationRequest) Lists all LaunchConfigurations available, filtered by Source Server IDs.getNetworkMigrationDefinition(Consumer<GetNetworkMigrationDefinitionRequest.Builder> getNetworkMigrationDefinitionRequest) Retrieves the details of a network migration definition including source and target configurations.getNetworkMigrationDefinition(GetNetworkMigrationDefinitionRequest getNetworkMigrationDefinitionRequest) Retrieves the details of a network migration definition including source and target configurations.getNetworkMigrationMapperSegmentConstruct(Consumer<GetNetworkMigrationMapperSegmentConstructRequest.Builder> getNetworkMigrationMapperSegmentConstructRequest) Retrieves detailed information about a specific construct within a mapper segment, including its properties and configuration data.getNetworkMigrationMapperSegmentConstruct(GetNetworkMigrationMapperSegmentConstructRequest getNetworkMigrationMapperSegmentConstructRequest) Retrieves detailed information about a specific construct within a mapper segment, including its properties and configuration data.getReplicationConfiguration(Consumer<GetReplicationConfigurationRequest.Builder> getReplicationConfigurationRequest) Lists all ReplicationConfigurations, filtered by Source Server ID.getReplicationConfiguration(GetReplicationConfigurationRequest getReplicationConfigurationRequest) Lists all ReplicationConfigurations, filtered by Source Server ID.initializeService(Consumer<InitializeServiceRequest.Builder> initializeServiceRequest) Initialize Application Migration Service.initializeService(InitializeServiceRequest initializeServiceRequest) Initialize Application Migration Service.listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Retrieves all applications or multiple applications by ID.listApplications(ListApplicationsRequest listApplicationsRequest) Retrieves all applications or multiple applications by ID.default ListApplicationsPublisherlistApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest)operation.default ListApplicationsPublisherlistApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest)operation.default CompletableFuture<ListConnectorsResponse> listConnectors(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) List Connectors.default CompletableFuture<ListConnectorsResponse> listConnectors(ListConnectorsRequest listConnectorsRequest) List Connectors.default ListConnectorsPublisherlistConnectorsPaginator(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) This is a variant oflistConnectors(software.amazon.awssdk.services.mgn.model.ListConnectorsRequest)operation.default ListConnectorsPublisherlistConnectorsPaginator(ListConnectorsRequest listConnectorsRequest) This is a variant oflistConnectors(software.amazon.awssdk.services.mgn.model.ListConnectorsRequest)operation.listExportErrors(Consumer<ListExportErrorsRequest.Builder> listExportErrorsRequest) List export errors.listExportErrors(ListExportErrorsRequest listExportErrorsRequest) List export errors.default ListExportErrorsPublisherlistExportErrorsPaginator(Consumer<ListExportErrorsRequest.Builder> listExportErrorsRequest) This is a variant oflistExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest)operation.default ListExportErrorsPublisherlistExportErrorsPaginator(ListExportErrorsRequest listExportErrorsRequest) This is a variant oflistExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest)operation.default CompletableFuture<ListExportsResponse> listExports(Consumer<ListExportsRequest.Builder> listExportsRequest) List exports.default CompletableFuture<ListExportsResponse> listExports(ListExportsRequest listExportsRequest) List exports.default ListExportsPublisherlistExportsPaginator(Consumer<ListExportsRequest.Builder> listExportsRequest) This is a variant oflistExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest)operation.default ListExportsPublisherlistExportsPaginator(ListExportsRequest listExportsRequest) This is a variant oflistExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest)operation.listImportErrors(Consumer<ListImportErrorsRequest.Builder> listImportErrorsRequest) List import errors.listImportErrors(ListImportErrorsRequest listImportErrorsRequest) List import errors.default ListImportErrorsPublisherlistImportErrorsPaginator(Consumer<ListImportErrorsRequest.Builder> listImportErrorsRequest) This is a variant oflistImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest)operation.default ListImportErrorsPublisherlistImportErrorsPaginator(ListImportErrorsRequest listImportErrorsRequest) This is a variant oflistImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest)operation.listImportFileEnrichments(Consumer<ListImportFileEnrichmentsRequest.Builder> listImportFileEnrichmentsRequest) Lists import file enrichment jobs with optional filtering by job IDs.listImportFileEnrichments(ListImportFileEnrichmentsRequest listImportFileEnrichmentsRequest) Lists import file enrichment jobs with optional filtering by job IDs.listImportFileEnrichmentsPaginator(Consumer<ListImportFileEnrichmentsRequest.Builder> listImportFileEnrichmentsRequest) This is a variant oflistImportFileEnrichments(software.amazon.awssdk.services.mgn.model.ListImportFileEnrichmentsRequest)operation.listImportFileEnrichmentsPaginator(ListImportFileEnrichmentsRequest listImportFileEnrichmentsRequest) This is a variant oflistImportFileEnrichments(software.amazon.awssdk.services.mgn.model.ListImportFileEnrichmentsRequest)operation.default CompletableFuture<ListImportsResponse> listImports(Consumer<ListImportsRequest.Builder> listImportsRequest) List imports.default CompletableFuture<ListImportsResponse> listImports(ListImportsRequest listImportsRequest) List imports.default ListImportsPublisherlistImportsPaginator(Consumer<ListImportsRequest.Builder> listImportsRequest) This is a variant oflistImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest)operation.default ListImportsPublisherlistImportsPaginator(ListImportsRequest listImportsRequest) This is a variant oflistImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest)operation.listManagedAccounts(Consumer<ListManagedAccountsRequest.Builder> listManagedAccountsRequest) List Managed Accounts.listManagedAccounts(ListManagedAccountsRequest listManagedAccountsRequest) List Managed Accounts.default ListManagedAccountsPublisherlistManagedAccountsPaginator(Consumer<ListManagedAccountsRequest.Builder> listManagedAccountsRequest) This is a variant oflistManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest)operation.default ListManagedAccountsPublisherlistManagedAccountsPaginator(ListManagedAccountsRequest listManagedAccountsRequest) This is a variant oflistManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest)operation.listNetworkMigrationAnalyses(Consumer<ListNetworkMigrationAnalysesRequest.Builder> listNetworkMigrationAnalysesRequest) Lists network migration analysis jobs for a specified execution.listNetworkMigrationAnalyses(ListNetworkMigrationAnalysesRequest listNetworkMigrationAnalysesRequest) Lists network migration analysis jobs for a specified execution.listNetworkMigrationAnalysesPaginator(Consumer<ListNetworkMigrationAnalysesRequest.Builder> listNetworkMigrationAnalysesRequest) This is a variant oflistNetworkMigrationAnalyses(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysesRequest)operation.listNetworkMigrationAnalysesPaginator(ListNetworkMigrationAnalysesRequest listNetworkMigrationAnalysesRequest) This is a variant oflistNetworkMigrationAnalyses(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysesRequest)operation.listNetworkMigrationAnalysisResults(Consumer<ListNetworkMigrationAnalysisResultsRequest.Builder> listNetworkMigrationAnalysisResultsRequest) Lists the results of network migration analyses, showing connectivity and compatibility findings for migrated resources.listNetworkMigrationAnalysisResults(ListNetworkMigrationAnalysisResultsRequest listNetworkMigrationAnalysisResultsRequest) Lists the results of network migration analyses, showing connectivity and compatibility findings for migrated resources.listNetworkMigrationAnalysisResultsPaginator(Consumer<ListNetworkMigrationAnalysisResultsRequest.Builder> listNetworkMigrationAnalysisResultsRequest) This is a variant oflistNetworkMigrationAnalysisResults(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysisResultsRequest)operation.listNetworkMigrationAnalysisResultsPaginator(ListNetworkMigrationAnalysisResultsRequest listNetworkMigrationAnalysisResultsRequest) This is a variant oflistNetworkMigrationAnalysisResults(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysisResultsRequest)operation.listNetworkMigrationCodeGenerations(Consumer<ListNetworkMigrationCodeGenerationsRequest.Builder> listNetworkMigrationCodeGenerationsRequest) Lists network migration code generation jobs, which convert network mappings into infrastructure-as-code templates.listNetworkMigrationCodeGenerations(ListNetworkMigrationCodeGenerationsRequest listNetworkMigrationCodeGenerationsRequest) Lists network migration code generation jobs, which convert network mappings into infrastructure-as-code templates.listNetworkMigrationCodeGenerationSegments(Consumer<ListNetworkMigrationCodeGenerationSegmentsRequest.Builder> listNetworkMigrationCodeGenerationSegmentsRequest) Lists code generation segments, which represent individual infrastructure components generated as code templates.listNetworkMigrationCodeGenerationSegments(ListNetworkMigrationCodeGenerationSegmentsRequest listNetworkMigrationCodeGenerationSegmentsRequest) Lists code generation segments, which represent individual infrastructure components generated as code templates.listNetworkMigrationCodeGenerationSegmentsPaginator(Consumer<ListNetworkMigrationCodeGenerationSegmentsRequest.Builder> listNetworkMigrationCodeGenerationSegmentsRequest) listNetworkMigrationCodeGenerationSegmentsPaginator(ListNetworkMigrationCodeGenerationSegmentsRequest listNetworkMigrationCodeGenerationSegmentsRequest) listNetworkMigrationCodeGenerationsPaginator(Consumer<ListNetworkMigrationCodeGenerationsRequest.Builder> listNetworkMigrationCodeGenerationsRequest) This is a variant oflistNetworkMigrationCodeGenerations(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationsRequest)operation.listNetworkMigrationCodeGenerationsPaginator(ListNetworkMigrationCodeGenerationsRequest listNetworkMigrationCodeGenerationsRequest) This is a variant oflistNetworkMigrationCodeGenerations(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationsRequest)operation.listNetworkMigrationDefinitions(Consumer<ListNetworkMigrationDefinitionsRequest.Builder> listNetworkMigrationDefinitionsRequest) Lists all network migration definitions in the account, with optional filtering.listNetworkMigrationDefinitions(ListNetworkMigrationDefinitionsRequest listNetworkMigrationDefinitionsRequest) Lists all network migration definitions in the account, with optional filtering.listNetworkMigrationDefinitionsPaginator(Consumer<ListNetworkMigrationDefinitionsRequest.Builder> listNetworkMigrationDefinitionsRequest) This is a variant oflistNetworkMigrationDefinitions(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDefinitionsRequest)operation.listNetworkMigrationDefinitionsPaginator(ListNetworkMigrationDefinitionsRequest listNetworkMigrationDefinitionsRequest) This is a variant oflistNetworkMigrationDefinitions(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDefinitionsRequest)operation.listNetworkMigrationDeployedStacks(Consumer<ListNetworkMigrationDeployedStacksRequest.Builder> listNetworkMigrationDeployedStacksRequest) Lists CloudFormation stacks that have been deployed as part of the network migration.listNetworkMigrationDeployedStacks(ListNetworkMigrationDeployedStacksRequest listNetworkMigrationDeployedStacksRequest) Lists CloudFormation stacks that have been deployed as part of the network migration.listNetworkMigrationDeployedStacksPaginator(Consumer<ListNetworkMigrationDeployedStacksRequest.Builder> listNetworkMigrationDeployedStacksRequest) This is a variant oflistNetworkMigrationDeployedStacks(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeployedStacksRequest)operation.listNetworkMigrationDeployedStacksPaginator(ListNetworkMigrationDeployedStacksRequest listNetworkMigrationDeployedStacksRequest) This is a variant oflistNetworkMigrationDeployedStacks(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeployedStacksRequest)operation.listNetworkMigrationDeployments(Consumer<ListNetworkMigrationDeploymentsRequest.Builder> listNetworkMigrationDeploymentsRequest) Lists network migration deployment jobs and their current status.listNetworkMigrationDeployments(ListNetworkMigrationDeploymentsRequest listNetworkMigrationDeploymentsRequest) Lists network migration deployment jobs and their current status.listNetworkMigrationDeploymentsPaginator(Consumer<ListNetworkMigrationDeploymentsRequest.Builder> listNetworkMigrationDeploymentsRequest) This is a variant oflistNetworkMigrationDeployments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeploymentsRequest)operation.listNetworkMigrationDeploymentsPaginator(ListNetworkMigrationDeploymentsRequest listNetworkMigrationDeploymentsRequest) This is a variant oflistNetworkMigrationDeployments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeploymentsRequest)operation.listNetworkMigrationExecutions(Consumer<ListNetworkMigrationExecutionsRequest.Builder> listNetworkMigrationExecutionsRequest) Lists network migration execution instances for a given definition, showing the status and progress of each execution.listNetworkMigrationExecutions(ListNetworkMigrationExecutionsRequest listNetworkMigrationExecutionsRequest) Lists network migration execution instances for a given definition, showing the status and progress of each execution.listNetworkMigrationExecutionsPaginator(Consumer<ListNetworkMigrationExecutionsRequest.Builder> listNetworkMigrationExecutionsRequest) This is a variant oflistNetworkMigrationExecutions(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationExecutionsRequest)operation.listNetworkMigrationExecutionsPaginator(ListNetworkMigrationExecutionsRequest listNetworkMigrationExecutionsRequest) This is a variant oflistNetworkMigrationExecutions(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationExecutionsRequest)operation.listNetworkMigrationMapperSegmentConstructs(Consumer<ListNetworkMigrationMapperSegmentConstructsRequest.Builder> listNetworkMigrationMapperSegmentConstructsRequest) Lists constructs within a mapper segment, representing individual infrastructure components like VPCs, subnets, or security groups.listNetworkMigrationMapperSegmentConstructs(ListNetworkMigrationMapperSegmentConstructsRequest listNetworkMigrationMapperSegmentConstructsRequest) Lists constructs within a mapper segment, representing individual infrastructure components like VPCs, subnets, or security groups.listNetworkMigrationMapperSegmentConstructsPaginator(Consumer<ListNetworkMigrationMapperSegmentConstructsRequest.Builder> listNetworkMigrationMapperSegmentConstructsRequest) listNetworkMigrationMapperSegmentConstructsPaginator(ListNetworkMigrationMapperSegmentConstructsRequest listNetworkMigrationMapperSegmentConstructsRequest) listNetworkMigrationMapperSegments(Consumer<ListNetworkMigrationMapperSegmentsRequest.Builder> listNetworkMigrationMapperSegmentsRequest) Lists mapper segments, which represent logical groupings of network resources to be migrated together.listNetworkMigrationMapperSegments(ListNetworkMigrationMapperSegmentsRequest listNetworkMigrationMapperSegmentsRequest) Lists mapper segments, which represent logical groupings of network resources to be migrated together.listNetworkMigrationMapperSegmentsPaginator(Consumer<ListNetworkMigrationMapperSegmentsRequest.Builder> listNetworkMigrationMapperSegmentsRequest) This is a variant oflistNetworkMigrationMapperSegments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentsRequest)operation.listNetworkMigrationMapperSegmentsPaginator(ListNetworkMigrationMapperSegmentsRequest listNetworkMigrationMapperSegmentsRequest) This is a variant oflistNetworkMigrationMapperSegments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentsRequest)operation.listNetworkMigrationMappings(Consumer<ListNetworkMigrationMappingsRequest.Builder> listNetworkMigrationMappingsRequest) Lists network migration mapping jobs, which analyze and create relationships between source and target network resources.listNetworkMigrationMappings(ListNetworkMigrationMappingsRequest listNetworkMigrationMappingsRequest) Lists network migration mapping jobs, which analyze and create relationships between source and target network resources.listNetworkMigrationMappingsPaginator(Consumer<ListNetworkMigrationMappingsRequest.Builder> listNetworkMigrationMappingsRequest) This is a variant oflistNetworkMigrationMappings(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingsRequest)operation.listNetworkMigrationMappingsPaginator(ListNetworkMigrationMappingsRequest listNetworkMigrationMappingsRequest) This is a variant oflistNetworkMigrationMappings(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingsRequest)operation.listNetworkMigrationMappingUpdates(Consumer<ListNetworkMigrationMappingUpdatesRequest.Builder> listNetworkMigrationMappingUpdatesRequest) Lists mapping update jobs, which apply customer modifications to the generated network mappings.listNetworkMigrationMappingUpdates(ListNetworkMigrationMappingUpdatesRequest listNetworkMigrationMappingUpdatesRequest) Lists mapping update jobs, which apply customer modifications to the generated network mappings.listNetworkMigrationMappingUpdatesPaginator(Consumer<ListNetworkMigrationMappingUpdatesRequest.Builder> listNetworkMigrationMappingUpdatesRequest) This is a variant oflistNetworkMigrationMappingUpdates(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingUpdatesRequest)operation.listNetworkMigrationMappingUpdatesPaginator(ListNetworkMigrationMappingUpdatesRequest listNetworkMigrationMappingUpdatesRequest) This is a variant oflistNetworkMigrationMappingUpdates(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingUpdatesRequest)operation.listSourceServerActions(Consumer<ListSourceServerActionsRequest.Builder> listSourceServerActionsRequest) List source server post migration custom actions.listSourceServerActions(ListSourceServerActionsRequest listSourceServerActionsRequest) List source server post migration custom actions.default ListSourceServerActionsPublisherlistSourceServerActionsPaginator(Consumer<ListSourceServerActionsRequest.Builder> listSourceServerActionsRequest) This is a variant oflistSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest)operation.default ListSourceServerActionsPublisherlistSourceServerActionsPaginator(ListSourceServerActionsRequest listSourceServerActionsRequest) This is a variant oflistSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List all tags for your Application Migration Service resources.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List all tags for your Application Migration Service resources.listTemplateActions(Consumer<ListTemplateActionsRequest.Builder> listTemplateActionsRequest) List template post migration custom actions.listTemplateActions(ListTemplateActionsRequest listTemplateActionsRequest) List template post migration custom actions.default ListTemplateActionsPublisherlistTemplateActionsPaginator(Consumer<ListTemplateActionsRequest.Builder> listTemplateActionsRequest) This is a variant oflistTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest)operation.default ListTemplateActionsPublisherlistTemplateActionsPaginator(ListTemplateActionsRequest listTemplateActionsRequest) This is a variant oflistTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest)operation.default CompletableFuture<ListWavesResponse> listWaves(Consumer<ListWavesRequest.Builder> listWavesRequest) Retrieves all waves or multiple waves by ID.default CompletableFuture<ListWavesResponse> listWaves(ListWavesRequest listWavesRequest) Retrieves all waves or multiple waves by ID.default ListWavesPublisherlistWavesPaginator(Consumer<ListWavesRequest.Builder> listWavesRequest) This is a variant oflistWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest)operation.default ListWavesPublisherlistWavesPaginator(ListWavesRequest listWavesRequest) This is a variant oflistWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest)operation.default CompletableFuture<MarkAsArchivedResponse> markAsArchived(Consumer<MarkAsArchivedRequest.Builder> markAsArchivedRequest) Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID.default CompletableFuture<MarkAsArchivedResponse> markAsArchived(MarkAsArchivedRequest markAsArchivedRequest) Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID.pauseReplication(Consumer<PauseReplicationRequest.Builder> pauseReplicationRequest) Pause Replication.pauseReplication(PauseReplicationRequest pauseReplicationRequest) Pause Replication.putSourceServerAction(Consumer<PutSourceServerActionRequest.Builder> putSourceServerActionRequest) Put source server post migration custom action.putSourceServerAction(PutSourceServerActionRequest putSourceServerActionRequest) Put source server post migration custom action.putTemplateAction(Consumer<PutTemplateActionRequest.Builder> putTemplateActionRequest) Put template post migration custom action.putTemplateAction(PutTemplateActionRequest putTemplateActionRequest) Put template post migration custom action.removeSourceServerAction(Consumer<RemoveSourceServerActionRequest.Builder> removeSourceServerActionRequest) Remove source server post migration custom action.removeSourceServerAction(RemoveSourceServerActionRequest removeSourceServerActionRequest) Remove source server post migration custom action.removeTemplateAction(Consumer<RemoveTemplateActionRequest.Builder> removeTemplateActionRequest) Remove template post migration custom action.removeTemplateAction(RemoveTemplateActionRequest removeTemplateActionRequest) Remove template post migration custom action.resumeReplication(Consumer<ResumeReplicationRequest.Builder> resumeReplicationRequest) Resume Replication.resumeReplication(ResumeReplicationRequest resumeReplicationRequest) Resume Replication.retryDataReplication(Consumer<RetryDataReplicationRequest.Builder> retryDataReplicationRequest) Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started.retryDataReplication(RetryDataReplicationRequest retryDataReplicationRequest) Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started.default MgnServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<StartCutoverResponse> startCutover(Consumer<StartCutoverRequest.Builder> startCutoverRequest) Launches a Cutover Instance for specific Source Servers.default CompletableFuture<StartCutoverResponse> startCutover(StartCutoverRequest startCutoverRequest) Launches a Cutover Instance for specific Source Servers.default CompletableFuture<StartExportResponse> startExport(Consumer<StartExportRequest.Builder> startExportRequest) Start export.default CompletableFuture<StartExportResponse> startExport(StartExportRequest startExportRequest) Start export.default CompletableFuture<StartImportResponse> startImport(Consumer<StartImportRequest.Builder> startImportRequest) Start import.default CompletableFuture<StartImportResponse> startImport(StartImportRequest startImportRequest) Start import.startImportFileEnrichment(Consumer<StartImportFileEnrichmentRequest.Builder> startImportFileEnrichmentRequest) Starts an import file enrichment job to process and enrich network migration import files with additional metadata and IP assignment strategies.startImportFileEnrichment(StartImportFileEnrichmentRequest startImportFileEnrichmentRequest) Starts an import file enrichment job to process and enrich network migration import files with additional metadata and IP assignment strategies.startNetworkMigrationAnalysis(Consumer<StartNetworkMigrationAnalysisRequest.Builder> startNetworkMigrationAnalysisRequest) Starts a network migration analysis job to evaluate connectivity and compatibility of the migration mappings.startNetworkMigrationAnalysis(StartNetworkMigrationAnalysisRequest startNetworkMigrationAnalysisRequest) Starts a network migration analysis job to evaluate connectivity and compatibility of the migration mappings.startNetworkMigrationCodeGeneration(Consumer<StartNetworkMigrationCodeGenerationRequest.Builder> startNetworkMigrationCodeGenerationRequest) Starts a code generation job to convert network migration mappings into infrastructure-as-code templates.startNetworkMigrationCodeGeneration(StartNetworkMigrationCodeGenerationRequest startNetworkMigrationCodeGenerationRequest) Starts a code generation job to convert network migration mappings into infrastructure-as-code templates.startNetworkMigrationDeployment(Consumer<StartNetworkMigrationDeploymentRequest.Builder> startNetworkMigrationDeploymentRequest) Starts a deployment job to create the target network infrastructure based on the generated code templates.startNetworkMigrationDeployment(StartNetworkMigrationDeploymentRequest startNetworkMigrationDeploymentRequest) Starts a deployment job to create the target network infrastructure based on the generated code templates.startNetworkMigrationMapping(Consumer<StartNetworkMigrationMappingRequest.Builder> startNetworkMigrationMappingRequest) Starts the network migration mapping process for a given network migration execution.startNetworkMigrationMapping(StartNetworkMigrationMappingRequest startNetworkMigrationMappingRequest) Starts the network migration mapping process for a given network migration execution.startNetworkMigrationMappingUpdate(Consumer<StartNetworkMigrationMappingUpdateRequest.Builder> startNetworkMigrationMappingUpdateRequest) Starts a job to apply customer modifications to network migration mappings, such as changing properties.startNetworkMigrationMappingUpdate(StartNetworkMigrationMappingUpdateRequest startNetworkMigrationMappingUpdateRequest) Starts a job to apply customer modifications to network migration mappings, such as changing properties.startReplication(Consumer<StartReplicationRequest.Builder> startReplicationRequest) Start replication for source server irrespective of its replication type.startReplication(StartReplicationRequest startReplicationRequest) Start replication for source server irrespective of its replication type.default CompletableFuture<StartTestResponse> startTest(Consumer<StartTestRequest.Builder> startTestRequest) Launches a Test Instance for specific Source Servers.default CompletableFuture<StartTestResponse> startTest(StartTestRequest startTestRequest) Launches a Test Instance for specific Source Servers.default CompletableFuture<StopReplicationResponse> stopReplication(Consumer<StopReplicationRequest.Builder> stopReplicationRequest) Stop Replication.default CompletableFuture<StopReplicationResponse> stopReplication(StopReplicationRequest stopReplicationRequest) Stop Replication.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources.terminateTargetInstances(Consumer<TerminateTargetInstancesRequest.Builder> terminateTargetInstancesRequest) Starts a job that terminates specific launched EC2 Test and Cutover instances.terminateTargetInstances(TerminateTargetInstancesRequest terminateTargetInstancesRequest) Starts a job that terminates specific launched EC2 Test and Cutover instances.unarchiveApplication(Consumer<UnarchiveApplicationRequest.Builder> unarchiveApplicationRequest) Unarchive application.unarchiveApplication(UnarchiveApplicationRequest unarchiveApplicationRequest) Unarchive application.default CompletableFuture<UnarchiveWaveResponse> unarchiveWave(Consumer<UnarchiveWaveRequest.Builder> unarchiveWaveRequest) Unarchive wave.default CompletableFuture<UnarchiveWaveResponse> unarchiveWave(UnarchiveWaveRequest unarchiveWaveRequest) Unarchive wave.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes the specified set of tags from the specified set of Application Migration Service resources.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Deletes the specified set of tags from the specified set of Application Migration Service resources.updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Update application.updateApplication(UpdateApplicationRequest updateApplicationRequest) Update application.default CompletableFuture<UpdateConnectorResponse> updateConnector(Consumer<UpdateConnectorRequest.Builder> updateConnectorRequest) Update Connector.default CompletableFuture<UpdateConnectorResponse> updateConnector(UpdateConnectorRequest updateConnectorRequest) Update Connector.updateLaunchConfiguration(Consumer<UpdateLaunchConfigurationRequest.Builder> updateLaunchConfigurationRequest) Updates multiple LaunchConfigurations by Source Server ID.updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest) Updates multiple LaunchConfigurations by Source Server ID.updateLaunchConfigurationTemplate(Consumer<UpdateLaunchConfigurationTemplateRequest.Builder> updateLaunchConfigurationTemplateRequest) Updates an existing Launch Configuration Template by ID.updateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest updateLaunchConfigurationTemplateRequest) Updates an existing Launch Configuration Template by ID.updateNetworkMigrationDefinition(Consumer<UpdateNetworkMigrationDefinitionRequest.Builder> updateNetworkMigrationDefinitionRequest) Updates an existing network migration definition with new source or target configurations.updateNetworkMigrationDefinition(UpdateNetworkMigrationDefinitionRequest updateNetworkMigrationDefinitionRequest) Updates an existing network migration definition with new source or target configurations.updateNetworkMigrationMapperSegment(Consumer<UpdateNetworkMigrationMapperSegmentRequest.Builder> updateNetworkMigrationMapperSegmentRequest) Updates a mapper segment's configuration, such as changing its scope tags.updateNetworkMigrationMapperSegment(UpdateNetworkMigrationMapperSegmentRequest updateNetworkMigrationMapperSegmentRequest) Updates a mapper segment's configuration, such as changing its scope tags.updateReplicationConfiguration(Consumer<UpdateReplicationConfigurationRequest.Builder> updateReplicationConfigurationRequest) Allows you to update multiple ReplicationConfigurations by Source Server ID.updateReplicationConfiguration(UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest) Allows you to update multiple ReplicationConfigurations by Source Server ID.updateReplicationConfigurationTemplate(Consumer<UpdateReplicationConfigurationTemplateRequest.Builder> updateReplicationConfigurationTemplateRequest) Updates multiple ReplicationConfigurationTemplates by ID.updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest) Updates multiple ReplicationConfigurationTemplates by ID.updateSourceServer(Consumer<UpdateSourceServerRequest.Builder> updateSourceServerRequest) Update Source Server.updateSourceServer(UpdateSourceServerRequest updateSourceServerRequest) Update Source Server.updateSourceServerReplicationType(Consumer<UpdateSourceServerReplicationTypeRequest.Builder> updateSourceServerReplicationTypeRequest) Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.updateSourceServerReplicationType(UpdateSourceServerReplicationTypeRequest updateSourceServerReplicationTypeRequest) Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.default CompletableFuture<UpdateWaveResponse> updateWave(Consumer<UpdateWaveRequest.Builder> updateWaveRequest) Update wave.default CompletableFuture<UpdateWaveResponse> updateWave(UpdateWaveRequest updateWaveRequest) Update wave.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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
-
archiveApplication
default CompletableFuture<ArchiveApplicationResponse> archiveApplication(ArchiveApplicationRequest archiveApplicationRequest) Archive application.
- Parameters:
archiveApplicationRequest-- Returns:
- A Java Future containing the result of the ArchiveApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
archiveApplication
default CompletableFuture<ArchiveApplicationResponse> archiveApplication(Consumer<ArchiveApplicationRequest.Builder> archiveApplicationRequest) Archive application.
This is a convenience which creates an instance of the
ArchiveApplicationRequest.Builderavoiding the need to create one manually viaArchiveApplicationRequest.builder()- Parameters:
archiveApplicationRequest- AConsumerthat will call methods onArchiveApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ArchiveApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
archiveWave
Archive wave.
- Parameters:
archiveWaveRequest-- Returns:
- A Java Future containing the result of the ArchiveWave operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
archiveWave
default CompletableFuture<ArchiveWaveResponse> archiveWave(Consumer<ArchiveWaveRequest.Builder> archiveWaveRequest) Archive wave.
This is a convenience which creates an instance of the
ArchiveWaveRequest.Builderavoiding the need to create one manually viaArchiveWaveRequest.builder()- Parameters:
archiveWaveRequest- AConsumerthat will call methods onArchiveWaveRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ArchiveWave operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateApplications
default CompletableFuture<AssociateApplicationsResponse> associateApplications(AssociateApplicationsRequest associateApplicationsRequest) Associate applications to wave.
- Parameters:
associateApplicationsRequest-- Returns:
- A Java Future containing the result of the AssociateApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateApplications
default CompletableFuture<AssociateApplicationsResponse> associateApplications(Consumer<AssociateApplicationsRequest.Builder> associateApplicationsRequest) Associate applications to wave.
This is a convenience which creates an instance of the
AssociateApplicationsRequest.Builderavoiding the need to create one manually viaAssociateApplicationsRequest.builder()- Parameters:
associateApplicationsRequest- AConsumerthat will call methods onAssociateApplicationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateSourceServers
default CompletableFuture<AssociateSourceServersResponse> associateSourceServers(AssociateSourceServersRequest associateSourceServersRequest) Associate source servers to application.
- Parameters:
associateSourceServersRequest-- Returns:
- A Java Future containing the result of the AssociateSourceServers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateSourceServers
default CompletableFuture<AssociateSourceServersResponse> associateSourceServers(Consumer<AssociateSourceServersRequest.Builder> associateSourceServersRequest) Associate source servers to application.
This is a convenience which creates an instance of the
AssociateSourceServersRequest.Builderavoiding the need to create one manually viaAssociateSourceServersRequest.builder()- Parameters:
associateSourceServersRequest- AConsumerthat will call methods onAssociateSourceServersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateSourceServers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
changeServerLifeCycleState
default CompletableFuture<ChangeServerLifeCycleStateResponse> changeServerLifeCycleState(ChangeServerLifeCycleStateRequest changeServerLifeCycleStateRequest) Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)
- Parameters:
changeServerLifeCycleStateRequest-- Returns:
- A Java Future containing the result of the ChangeServerLifeCycleState operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
changeServerLifeCycleState
default CompletableFuture<ChangeServerLifeCycleStateResponse> changeServerLifeCycleState(Consumer<ChangeServerLifeCycleStateRequest.Builder> changeServerLifeCycleStateRequest) Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)
This is a convenience which creates an instance of the
ChangeServerLifeCycleStateRequest.Builderavoiding the need to create one manually viaChangeServerLifeCycleStateRequest.builder()- Parameters:
changeServerLifeCycleStateRequest- AConsumerthat will call methods onChangeServerLifeCycleStateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ChangeServerLifeCycleState operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApplication
default CompletableFuture<CreateApplicationResponse> createApplication(CreateApplicationRequest createApplicationRequest) Create application.
- Parameters:
createApplicationRequest-- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApplication
default CompletableFuture<CreateApplicationResponse> createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Create application.
This is a convenience which creates an instance of the
CreateApplicationRequest.Builderavoiding the need to create one manually viaCreateApplicationRequest.builder()- Parameters:
createApplicationRequest- AConsumerthat will call methods onCreateApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createConnector
default CompletableFuture<CreateConnectorResponse> createConnector(CreateConnectorRequest createConnectorRequest) Create Connector.
- Parameters:
createConnectorRequest-- Returns:
- A Java Future containing the result of the CreateConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createConnector
default CompletableFuture<CreateConnectorResponse> createConnector(Consumer<CreateConnectorRequest.Builder> createConnectorRequest) Create Connector.
This is a convenience which creates an instance of the
CreateConnectorRequest.Builderavoiding the need to create one manually viaCreateConnectorRequest.builder()- Parameters:
createConnectorRequest- AConsumerthat will call methods onCreateConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createLaunchConfigurationTemplate
default CompletableFuture<CreateLaunchConfigurationTemplateResponse> createLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest createLaunchConfigurationTemplateRequest) Creates a new Launch Configuration Template.
- Parameters:
createLaunchConfigurationTemplateRequest-- Returns:
- A Java Future containing the result of the CreateLaunchConfigurationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createLaunchConfigurationTemplate
default CompletableFuture<CreateLaunchConfigurationTemplateResponse> createLaunchConfigurationTemplate(Consumer<CreateLaunchConfigurationTemplateRequest.Builder> createLaunchConfigurationTemplateRequest) Creates a new Launch Configuration Template.
This is a convenience which creates an instance of the
CreateLaunchConfigurationTemplateRequest.Builderavoiding the need to create one manually viaCreateLaunchConfigurationTemplateRequest.builder()- Parameters:
createLaunchConfigurationTemplateRequest- AConsumerthat will call methods onCreateLaunchConfigurationTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateLaunchConfigurationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createNetworkMigrationDefinition
default CompletableFuture<CreateNetworkMigrationDefinitionResponse> createNetworkMigrationDefinition(CreateNetworkMigrationDefinitionRequest createNetworkMigrationDefinitionRequest) Creates a new network migration definition that specifies the source and target network configuration for a migration.
- Parameters:
createNetworkMigrationDefinitionRequest-- Returns:
- A Java Future containing the result of the CreateNetworkMigrationDefinition operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createNetworkMigrationDefinition
default CompletableFuture<CreateNetworkMigrationDefinitionResponse> createNetworkMigrationDefinition(Consumer<CreateNetworkMigrationDefinitionRequest.Builder> createNetworkMigrationDefinitionRequest) Creates a new network migration definition that specifies the source and target network configuration for a migration.
This is a convenience which creates an instance of the
CreateNetworkMigrationDefinitionRequest.Builderavoiding the need to create one manually viaCreateNetworkMigrationDefinitionRequest.builder()- Parameters:
createNetworkMigrationDefinitionRequest- AConsumerthat will call methods onCreateNetworkMigrationDefinitionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateNetworkMigrationDefinition operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReplicationConfigurationTemplate
default CompletableFuture<CreateReplicationConfigurationTemplateResponse> createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest) Creates a new ReplicationConfigurationTemplate.
- Parameters:
createReplicationConfigurationTemplateRequest-- Returns:
- A Java Future containing the result of the CreateReplicationConfigurationTemplate operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReplicationConfigurationTemplate
default CompletableFuture<CreateReplicationConfigurationTemplateResponse> createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest) Creates a new ReplicationConfigurationTemplate.
This is a convenience which creates an instance of the
CreateReplicationConfigurationTemplateRequest.Builderavoiding the need to create one manually viaCreateReplicationConfigurationTemplateRequest.builder()- Parameters:
createReplicationConfigurationTemplateRequest- AConsumerthat will call methods onCreateReplicationConfigurationTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateReplicationConfigurationTemplate operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWave
Create wave.
- Parameters:
createWaveRequest-- Returns:
- A Java Future containing the result of the CreateWave operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWave
default CompletableFuture<CreateWaveResponse> createWave(Consumer<CreateWaveRequest.Builder> createWaveRequest) Create wave.
This is a convenience which creates an instance of the
CreateWaveRequest.Builderavoiding the need to create one manually viaCreateWaveRequest.builder()- Parameters:
createWaveRequest- AConsumerthat will call methods onCreateWaveRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateWave operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplication
default CompletableFuture<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest deleteApplicationRequest) Delete application.
- Parameters:
deleteApplicationRequest-- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplication
default CompletableFuture<DeleteApplicationResponse> deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Delete application.
This is a convenience which creates an instance of the
DeleteApplicationRequest.Builderavoiding the need to create one manually viaDeleteApplicationRequest.builder()- Parameters:
deleteApplicationRequest- AConsumerthat will call methods onDeleteApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteConnector
default CompletableFuture<DeleteConnectorResponse> deleteConnector(DeleteConnectorRequest deleteConnectorRequest) Delete Connector.
- Parameters:
deleteConnectorRequest-- Returns:
- A Java Future containing the result of the DeleteConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteConnector
default CompletableFuture<DeleteConnectorResponse> deleteConnector(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest) Delete Connector.
This is a convenience which creates an instance of the
DeleteConnectorRequest.Builderavoiding the need to create one manually viaDeleteConnectorRequest.builder()- Parameters:
deleteConnectorRequest- AConsumerthat will call methods onDeleteConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteJob
Deletes a single Job by ID.
- Parameters:
deleteJobRequest-- Returns:
- A Java Future containing the result of the DeleteJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteJob
default CompletableFuture<DeleteJobResponse> deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest) Deletes a single Job by ID.
This is a convenience which creates an instance of the
DeleteJobRequest.Builderavoiding the need to create one manually viaDeleteJobRequest.builder()- Parameters:
deleteJobRequest- AConsumerthat will call methods onDeleteJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteLaunchConfigurationTemplate
default CompletableFuture<DeleteLaunchConfigurationTemplateResponse> deleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest deleteLaunchConfigurationTemplateRequest) Deletes a single Launch Configuration Template by ID.
- Parameters:
deleteLaunchConfigurationTemplateRequest-- Returns:
- A Java Future containing the result of the DeleteLaunchConfigurationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteLaunchConfigurationTemplate
default CompletableFuture<DeleteLaunchConfigurationTemplateResponse> deleteLaunchConfigurationTemplate(Consumer<DeleteLaunchConfigurationTemplateRequest.Builder> deleteLaunchConfigurationTemplateRequest) Deletes a single Launch Configuration Template by ID.
This is a convenience which creates an instance of the
DeleteLaunchConfigurationTemplateRequest.Builderavoiding the need to create one manually viaDeleteLaunchConfigurationTemplateRequest.builder()- Parameters:
deleteLaunchConfigurationTemplateRequest- AConsumerthat will call methods onDeleteLaunchConfigurationTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteLaunchConfigurationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteNetworkMigrationDefinition
default CompletableFuture<DeleteNetworkMigrationDefinitionResponse> deleteNetworkMigrationDefinition(DeleteNetworkMigrationDefinitionRequest deleteNetworkMigrationDefinitionRequest) Deletes a network migration definition. This operation removes the migration definition and all associated metadata.
- Parameters:
deleteNetworkMigrationDefinitionRequest-- Returns:
- A Java Future containing the result of the DeleteNetworkMigrationDefinition operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteNetworkMigrationDefinition
default CompletableFuture<DeleteNetworkMigrationDefinitionResponse> deleteNetworkMigrationDefinition(Consumer<DeleteNetworkMigrationDefinitionRequest.Builder> deleteNetworkMigrationDefinitionRequest) Deletes a network migration definition. This operation removes the migration definition and all associated metadata.
This is a convenience which creates an instance of the
DeleteNetworkMigrationDefinitionRequest.Builderavoiding the need to create one manually viaDeleteNetworkMigrationDefinitionRequest.builder()- Parameters:
deleteNetworkMigrationDefinitionRequest- AConsumerthat will call methods onDeleteNetworkMigrationDefinitionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteNetworkMigrationDefinition operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReplicationConfigurationTemplate
default CompletableFuture<DeleteReplicationConfigurationTemplateResponse> deleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest) Deletes a single Replication Configuration Template by ID
- Parameters:
deleteReplicationConfigurationTemplateRequest-- Returns:
- A Java Future containing the result of the DeleteReplicationConfigurationTemplate operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteReplicationConfigurationTemplate
default CompletableFuture<DeleteReplicationConfigurationTemplateResponse> deleteReplicationConfigurationTemplate(Consumer<DeleteReplicationConfigurationTemplateRequest.Builder> deleteReplicationConfigurationTemplateRequest) Deletes a single Replication Configuration Template by ID
This is a convenience which creates an instance of the
DeleteReplicationConfigurationTemplateRequest.Builderavoiding the need to create one manually viaDeleteReplicationConfigurationTemplateRequest.builder()- Parameters:
deleteReplicationConfigurationTemplateRequest- AConsumerthat will call methods onDeleteReplicationConfigurationTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteReplicationConfigurationTemplate operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSourceServer
default CompletableFuture<DeleteSourceServerResponse> deleteSourceServer(DeleteSourceServerRequest deleteSourceServerRequest) Deletes a single source server by ID.
- Parameters:
deleteSourceServerRequest-- Returns:
- A Java Future containing the result of the DeleteSourceServer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSourceServer
default CompletableFuture<DeleteSourceServerResponse> deleteSourceServer(Consumer<DeleteSourceServerRequest.Builder> deleteSourceServerRequest) Deletes a single source server by ID.
This is a convenience which creates an instance of the
DeleteSourceServerRequest.Builderavoiding the need to create one manually viaDeleteSourceServerRequest.builder()- Parameters:
deleteSourceServerRequest- AConsumerthat will call methods onDeleteSourceServerRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSourceServer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteVcenterClient
default CompletableFuture<DeleteVcenterClientResponse> deleteVcenterClient(DeleteVcenterClientRequest deleteVcenterClientRequest) Deletes a given vCenter client by ID.
- Parameters:
deleteVcenterClientRequest-- Returns:
- A Java Future containing the result of the DeleteVcenterClient operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteVcenterClient
default CompletableFuture<DeleteVcenterClientResponse> deleteVcenterClient(Consumer<DeleteVcenterClientRequest.Builder> deleteVcenterClientRequest) Deletes a given vCenter client by ID.
This is a convenience which creates an instance of the
DeleteVcenterClientRequest.Builderavoiding the need to create one manually viaDeleteVcenterClientRequest.builder()- Parameters:
deleteVcenterClientRequest- AConsumerthat will call methods onDeleteVcenterClientRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteVcenterClient operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWave
Delete wave.
- Parameters:
deleteWaveRequest-- Returns:
- A Java Future containing the result of the DeleteWave operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWave
default CompletableFuture<DeleteWaveResponse> deleteWave(Consumer<DeleteWaveRequest.Builder> deleteWaveRequest) Delete wave.
This is a convenience which creates an instance of the
DeleteWaveRequest.Builderavoiding the need to create one manually viaDeleteWaveRequest.builder()- Parameters:
deleteWaveRequest- AConsumerthat will call methods onDeleteWaveRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteWave operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobLogItems
default CompletableFuture<DescribeJobLogItemsResponse> describeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest) Retrieves detailed job log items with paging.
- Parameters:
describeJobLogItemsRequest-- Returns:
- A Java Future containing the result of the DescribeJobLogItems operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobLogItems
default CompletableFuture<DescribeJobLogItemsResponse> describeJobLogItems(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) Retrieves detailed job log items with paging.
This is a convenience which creates an instance of the
DescribeJobLogItemsRequest.Builderavoiding the need to create one manually viaDescribeJobLogItemsRequest.builder()- Parameters:
describeJobLogItemsRequest- AConsumerthat will call methods onDescribeJobLogItemsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeJobLogItems operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobLogItemsPaginator
default DescribeJobLogItemsPublisher describeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest) This is a variant of
describeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest)operation.- Parameters:
describeJobLogItemsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobLogItemsPaginator
default DescribeJobLogItemsPublisher describeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) This is a variant of
describeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsPublisher publisher = client.describeJobLogItemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest)operation.
This is a convenience which creates an instance of the
DescribeJobLogItemsRequest.Builderavoiding the need to create one manually viaDescribeJobLogItemsRequest.builder()- Parameters:
describeJobLogItemsRequest- AConsumerthat will call methods onDescribeJobLogItemsRequest.Builderto 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.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobs
default CompletableFuture<DescribeJobsResponse> describeJobs(DescribeJobsRequest describeJobsRequest) Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normally created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.
- Parameters:
describeJobsRequest-- Returns:
- A Java Future containing the result of the DescribeJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobs
default CompletableFuture<DescribeJobsResponse> describeJobs(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normally created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.
This is a convenience which creates an instance of the
DescribeJobsRequest.Builderavoiding the need to create one manually viaDescribeJobsRequest.builder()- Parameters:
describeJobsRequest- AConsumerthat will call methods onDescribeJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobsPaginator
This is a variant of
describeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.DescribeJobsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest)operation.- Parameters:
describeJobsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeJobsPaginator
default DescribeJobsPublisher describeJobsPaginator(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) This is a variant of
describeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.DescribeJobsPublisher publisher = client.describeJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.DescribeJobsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest)operation.
This is a convenience which creates an instance of the
DescribeJobsRequest.Builderavoiding the need to create one manually viaDescribeJobsRequest.builder()- Parameters:
describeJobsRequest- AConsumerthat will call methods onDescribeJobsRequest.Builderto 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.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeLaunchConfigurationTemplates
default CompletableFuture<DescribeLaunchConfigurationTemplatesResponse> describeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
- Parameters:
describeLaunchConfigurationTemplatesRequest-- Returns:
- A Java Future containing the result of the DescribeLaunchConfigurationTemplates operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeLaunchConfigurationTemplates
default CompletableFuture<DescribeLaunchConfigurationTemplatesResponse> describeLaunchConfigurationTemplates(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
This is a convenience which creates an instance of the
DescribeLaunchConfigurationTemplatesRequest.Builderavoiding the need to create one manually viaDescribeLaunchConfigurationTemplatesRequest.builder()- Parameters:
describeLaunchConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeLaunchConfigurationTemplatesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeLaunchConfigurationTemplates operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeLaunchConfigurationTemplatesPaginator
default DescribeLaunchConfigurationTemplatesPublisher describeLaunchConfigurationTemplatesPaginator(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) This is a variant of
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest)operation.- Parameters:
describeLaunchConfigurationTemplatesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeLaunchConfigurationTemplatesPaginator
default DescribeLaunchConfigurationTemplatesPublisher describeLaunchConfigurationTemplatesPaginator(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) This is a variant of
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesPublisher publisher = client.describeLaunchConfigurationTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest)operation.
This is a convenience which creates an instance of the
DescribeLaunchConfigurationTemplatesRequest.Builderavoiding the need to create one manually viaDescribeLaunchConfigurationTemplatesRequest.builder()- Parameters:
describeLaunchConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeLaunchConfigurationTemplatesRequest.Builderto 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.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationConfigurationTemplates
default CompletableFuture<DescribeReplicationConfigurationTemplatesResponse> describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
- Parameters:
describeReplicationConfigurationTemplatesRequest-- Returns:
- A Java Future containing the result of the DescribeReplicationConfigurationTemplates operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationConfigurationTemplates
default CompletableFuture<DescribeReplicationConfigurationTemplatesResponse> describeReplicationConfigurationTemplates(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
This is a convenience which creates an instance of the
DescribeReplicationConfigurationTemplatesRequest.Builderavoiding the need to create one manually viaDescribeReplicationConfigurationTemplatesRequest.builder()- Parameters:
describeReplicationConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeReplicationConfigurationTemplatesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeReplicationConfigurationTemplates operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationConfigurationTemplatesPaginator
default DescribeReplicationConfigurationTemplatesPublisher describeReplicationConfigurationTemplatesPaginator(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) This is a variant of
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesRequest)operation.- Parameters:
describeReplicationConfigurationTemplatesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReplicationConfigurationTemplatesPaginator
default DescribeReplicationConfigurationTemplatesPublisher describeReplicationConfigurationTemplatesPaginator(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) This is a variant of
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesPublisher publisher = client.describeReplicationConfigurationTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesRequest)operation.
This is a convenience which creates an instance of the
DescribeReplicationConfigurationTemplatesRequest.Builderavoiding the need to create one manually viaDescribeReplicationConfigurationTemplatesRequest.builder()- Parameters:
describeReplicationConfigurationTemplatesRequest- AConsumerthat will call methods onDescribeReplicationConfigurationTemplatesRequest.Builderto 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.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSourceServers
default CompletableFuture<DescribeSourceServersResponse> describeSourceServers(DescribeSourceServersRequest describeSourceServersRequest) Retrieves all SourceServers or multiple SourceServers by ID.
- Parameters:
describeSourceServersRequest-- Returns:
- A Java Future containing the result of the DescribeSourceServers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSourceServers
default CompletableFuture<DescribeSourceServersResponse> describeSourceServers(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) Retrieves all SourceServers or multiple SourceServers by ID.
This is a convenience which creates an instance of the
DescribeSourceServersRequest.Builderavoiding the need to create one manually viaDescribeSourceServersRequest.builder()- Parameters:
describeSourceServersRequest- AConsumerthat will call methods onDescribeSourceServersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeSourceServers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSourceServersPaginator
default DescribeSourceServersPublisher describeSourceServersPaginator(DescribeSourceServersRequest describeSourceServersRequest) This is a variant of
describeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeSourceServersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.DescribeSourceServersResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest)operation.- Parameters:
describeSourceServersRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSourceServersPaginator
default DescribeSourceServersPublisher describeSourceServersPaginator(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) This is a variant of
describeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.DescribeSourceServersPublisher publisher = client.describeSourceServersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeSourceServersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.DescribeSourceServersResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest)operation.
This is a convenience which creates an instance of the
DescribeSourceServersRequest.Builderavoiding the need to create one manually viaDescribeSourceServersRequest.builder()- Parameters:
describeSourceServersRequest- AConsumerthat will call methods onDescribeSourceServersRequest.Builderto 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.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeVcenterClients
default CompletableFuture<DescribeVcenterClientsResponse> describeVcenterClients(DescribeVcenterClientsRequest describeVcenterClientsRequest) Returns a list of the installed vCenter clients.
- Parameters:
describeVcenterClientsRequest-- Returns:
- A Java Future containing the result of the DescribeVcenterClients operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeVcenterClients
default CompletableFuture<DescribeVcenterClientsResponse> describeVcenterClients(Consumer<DescribeVcenterClientsRequest.Builder> describeVcenterClientsRequest) Returns a list of the installed vCenter clients.
This is a convenience which creates an instance of the
DescribeVcenterClientsRequest.Builderavoiding the need to create one manually viaDescribeVcenterClientsRequest.builder()- Parameters:
describeVcenterClientsRequest- AConsumerthat will call methods onDescribeVcenterClientsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeVcenterClients operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeVcenterClientsPaginator
default DescribeVcenterClientsPublisher describeVcenterClientsPaginator(DescribeVcenterClientsRequest describeVcenterClientsRequest) This is a variant of
describeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsPublisher publisher = client.describeVcenterClientsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsPublisher publisher = client.describeVcenterClientsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest)operation.- Parameters:
describeVcenterClientsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeVcenterClientsPaginator
default DescribeVcenterClientsPublisher describeVcenterClientsPaginator(Consumer<DescribeVcenterClientsRequest.Builder> describeVcenterClientsRequest) This is a variant of
describeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsPublisher publisher = client.describeVcenterClientsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsPublisher publisher = client.describeVcenterClientsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest)operation.
This is a convenience which creates an instance of the
DescribeVcenterClientsRequest.Builderavoiding the need to create one manually viaDescribeVcenterClientsRequest.builder()- Parameters:
describeVcenterClientsRequest- AConsumerthat will call methods onDescribeVcenterClientsRequest.Builderto 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.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateApplications
default CompletableFuture<DisassociateApplicationsResponse> disassociateApplications(DisassociateApplicationsRequest disassociateApplicationsRequest) Disassociate applications from wave.
- Parameters:
disassociateApplicationsRequest-- Returns:
- A Java Future containing the result of the DisassociateApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateApplications
default CompletableFuture<DisassociateApplicationsResponse> disassociateApplications(Consumer<DisassociateApplicationsRequest.Builder> disassociateApplicationsRequest) Disassociate applications from wave.
This is a convenience which creates an instance of the
DisassociateApplicationsRequest.Builderavoiding the need to create one manually viaDisassociateApplicationsRequest.builder()- Parameters:
disassociateApplicationsRequest- AConsumerthat will call methods onDisassociateApplicationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateSourceServers
default CompletableFuture<DisassociateSourceServersResponse> disassociateSourceServers(DisassociateSourceServersRequest disassociateSourceServersRequest) Disassociate source servers from application.
- Parameters:
disassociateSourceServersRequest-- Returns:
- A Java Future containing the result of the DisassociateSourceServers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateSourceServers
default CompletableFuture<DisassociateSourceServersResponse> disassociateSourceServers(Consumer<DisassociateSourceServersRequest.Builder> disassociateSourceServersRequest) Disassociate source servers from application.
This is a convenience which creates an instance of the
DisassociateSourceServersRequest.Builderavoiding the need to create one manually viaDisassociateSourceServersRequest.builder()- Parameters:
disassociateSourceServersRequest- AConsumerthat will call methods onDisassociateSourceServersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateSourceServers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disconnectFromService
default CompletableFuture<DisconnectFromServiceResponse> disconnectFromService(DisconnectFromServiceRequest disconnectFromServiceRequest) Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communicating with the Application Migration Service service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
- Parameters:
disconnectFromServiceRequest-- Returns:
- A Java Future containing the result of the DisconnectFromService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disconnectFromService
default CompletableFuture<DisconnectFromServiceResponse> disconnectFromService(Consumer<DisconnectFromServiceRequest.Builder> disconnectFromServiceRequest) Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communicating with the Application Migration Service service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
This is a convenience which creates an instance of the
DisconnectFromServiceRequest.Builderavoiding the need to create one manually viaDisconnectFromServiceRequest.builder()- Parameters:
disconnectFromServiceRequest- AConsumerthat will call methods onDisconnectFromServiceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisconnectFromService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
finalizeCutover
default CompletableFuture<FinalizeCutoverResponse> finalizeCutover(FinalizeCutoverRequest finalizeCutoverRequest) Finalizes the cutover immediately for specific Source Servers. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be changed to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property fo each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
- Parameters:
finalizeCutoverRequest-- Returns:
- A Java Future containing the result of the FinalizeCutover operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
finalizeCutover
default CompletableFuture<FinalizeCutoverResponse> finalizeCutover(Consumer<FinalizeCutoverRequest.Builder> finalizeCutoverRequest) Finalizes the cutover immediately for specific Source Servers. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be changed to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property fo each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
This is a convenience which creates an instance of the
FinalizeCutoverRequest.Builderavoiding the need to create one manually viaFinalizeCutoverRequest.builder()- Parameters:
finalizeCutoverRequest- AConsumerthat will call methods onFinalizeCutoverRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the FinalizeCutover operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getLaunchConfiguration
default CompletableFuture<GetLaunchConfigurationResponse> getLaunchConfiguration(GetLaunchConfigurationRequest getLaunchConfigurationRequest) Lists all LaunchConfigurations available, filtered by Source Server IDs.
- Parameters:
getLaunchConfigurationRequest-- Returns:
- A Java Future containing the result of the GetLaunchConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getLaunchConfiguration
default CompletableFuture<GetLaunchConfigurationResponse> getLaunchConfiguration(Consumer<GetLaunchConfigurationRequest.Builder> getLaunchConfigurationRequest) Lists all LaunchConfigurations available, filtered by Source Server IDs.
This is a convenience which creates an instance of the
GetLaunchConfigurationRequest.Builderavoiding the need to create one manually viaGetLaunchConfigurationRequest.builder()- Parameters:
getLaunchConfigurationRequest- AConsumerthat will call methods onGetLaunchConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetLaunchConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNetworkMigrationDefinition
default CompletableFuture<GetNetworkMigrationDefinitionResponse> getNetworkMigrationDefinition(GetNetworkMigrationDefinitionRequest getNetworkMigrationDefinitionRequest) Retrieves the details of a network migration definition including source and target configurations.
- Parameters:
getNetworkMigrationDefinitionRequest-- Returns:
- A Java Future containing the result of the GetNetworkMigrationDefinition operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNetworkMigrationDefinition
default CompletableFuture<GetNetworkMigrationDefinitionResponse> getNetworkMigrationDefinition(Consumer<GetNetworkMigrationDefinitionRequest.Builder> getNetworkMigrationDefinitionRequest) Retrieves the details of a network migration definition including source and target configurations.
This is a convenience which creates an instance of the
GetNetworkMigrationDefinitionRequest.Builderavoiding the need to create one manually viaGetNetworkMigrationDefinitionRequest.builder()- Parameters:
getNetworkMigrationDefinitionRequest- AConsumerthat will call methods onGetNetworkMigrationDefinitionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetNetworkMigrationDefinition operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNetworkMigrationMapperSegmentConstruct
default CompletableFuture<GetNetworkMigrationMapperSegmentConstructResponse> getNetworkMigrationMapperSegmentConstruct(GetNetworkMigrationMapperSegmentConstructRequest getNetworkMigrationMapperSegmentConstructRequest) Retrieves detailed information about a specific construct within a mapper segment, including its properties and configuration data.
- Parameters:
getNetworkMigrationMapperSegmentConstructRequest-- Returns:
- A Java Future containing the result of the GetNetworkMigrationMapperSegmentConstruct operation returned
by the service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNetworkMigrationMapperSegmentConstruct
default CompletableFuture<GetNetworkMigrationMapperSegmentConstructResponse> getNetworkMigrationMapperSegmentConstruct(Consumer<GetNetworkMigrationMapperSegmentConstructRequest.Builder> getNetworkMigrationMapperSegmentConstructRequest) Retrieves detailed information about a specific construct within a mapper segment, including its properties and configuration data.
This is a convenience which creates an instance of the
GetNetworkMigrationMapperSegmentConstructRequest.Builderavoiding the need to create one manually viaGetNetworkMigrationMapperSegmentConstructRequest.builder()- Parameters:
getNetworkMigrationMapperSegmentConstructRequest- AConsumerthat will call methods onGetNetworkMigrationMapperSegmentConstructRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetNetworkMigrationMapperSegmentConstruct operation returned
by the service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReplicationConfiguration
default CompletableFuture<GetReplicationConfigurationResponse> getReplicationConfiguration(GetReplicationConfigurationRequest getReplicationConfigurationRequest) Lists all ReplicationConfigurations, filtered by Source Server ID.
- Parameters:
getReplicationConfigurationRequest-- Returns:
- A Java Future containing the result of the GetReplicationConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getReplicationConfiguration
default CompletableFuture<GetReplicationConfigurationResponse> getReplicationConfiguration(Consumer<GetReplicationConfigurationRequest.Builder> getReplicationConfigurationRequest) Lists all ReplicationConfigurations, filtered by Source Server ID.
This is a convenience which creates an instance of the
GetReplicationConfigurationRequest.Builderavoiding the need to create one manually viaGetReplicationConfigurationRequest.builder()- Parameters:
getReplicationConfigurationRequest- AConsumerthat will call methods onGetReplicationConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetReplicationConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
initializeService
default CompletableFuture<InitializeServiceResponse> initializeService(InitializeServiceRequest initializeServiceRequest) Initialize Application Migration Service.
- Parameters:
initializeServiceRequest-- Returns:
- A Java Future containing the result of the InitializeService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
initializeService
default CompletableFuture<InitializeServiceResponse> initializeService(Consumer<InitializeServiceRequest.Builder> initializeServiceRequest) Initialize Application Migration Service.
This is a convenience which creates an instance of the
InitializeServiceRequest.Builderavoiding the need to create one manually viaInitializeServiceRequest.builder()- Parameters:
initializeServiceRequest- AConsumerthat will call methods onInitializeServiceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the InitializeService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest listApplicationsRequest) Retrieves all applications or multiple applications by ID.
- Parameters:
listApplicationsRequest-- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Retrieves all applications or multiple applications by ID.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplicationsPaginator
default ListApplicationsPublisher listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) This is a variant of
listApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListApplicationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest)operation.- Parameters:
listApplicationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplicationsPaginator
default ListApplicationsPublisher listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) This is a variant of
listApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListApplicationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest)operation.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto 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.- UninitializedAccountException Uninitialized account exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectors
default CompletableFuture<ListConnectorsResponse> listConnectors(ListConnectorsRequest listConnectorsRequest) List Connectors.
- Parameters:
listConnectorsRequest-- Returns:
- A Java Future containing the result of the ListConnectors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectors
default CompletableFuture<ListConnectorsResponse> listConnectors(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) List Connectors.
This is a convenience which creates an instance of the
ListConnectorsRequest.Builderavoiding the need to create one manually viaListConnectorsRequest.builder()- Parameters:
listConnectorsRequest- AConsumerthat will call methods onListConnectorsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListConnectors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectorsPaginator
default ListConnectorsPublisher listConnectorsPaginator(ListConnectorsRequest listConnectorsRequest) This is a variant of
listConnectors(software.amazon.awssdk.services.mgn.model.ListConnectorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListConnectorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListConnectorsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectors(software.amazon.awssdk.services.mgn.model.ListConnectorsRequest)operation.- Parameters:
listConnectorsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectorsPaginator
default ListConnectorsPublisher listConnectorsPaginator(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) This is a variant of
listConnectors(software.amazon.awssdk.services.mgn.model.ListConnectorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListConnectorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListConnectorsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectors(software.amazon.awssdk.services.mgn.model.ListConnectorsRequest)operation.
This is a convenience which creates an instance of the
ListConnectorsRequest.Builderavoiding the need to create one manually viaListConnectorsRequest.builder()- Parameters:
listConnectorsRequest- AConsumerthat will call methods onListConnectorsRequest.Builderto 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.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExportErrors
default CompletableFuture<ListExportErrorsResponse> listExportErrors(ListExportErrorsRequest listExportErrorsRequest) List export errors.
- Parameters:
listExportErrorsRequest- List export errors request.- Returns:
- A Java Future containing the result of the ListExportErrors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExportErrors
default CompletableFuture<ListExportErrorsResponse> listExportErrors(Consumer<ListExportErrorsRequest.Builder> listExportErrorsRequest) List export errors.
This is a convenience which creates an instance of the
ListExportErrorsRequest.Builderavoiding the need to create one manually viaListExportErrorsRequest.builder()- Parameters:
listExportErrorsRequest- AConsumerthat will call methods onListExportErrorsRequest.Builderto create a request. List export errors request.- Returns:
- A Java Future containing the result of the ListExportErrors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExportErrorsPaginator
default ListExportErrorsPublisher listExportErrorsPaginator(ListExportErrorsRequest listExportErrorsRequest) This is a variant of
listExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListExportErrorsPublisher publisher = client.listExportErrorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListExportErrorsPublisher publisher = client.listExportErrorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListExportErrorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListExportErrorsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest)operation.- Parameters:
listExportErrorsRequest- List export errors request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExportErrorsPaginator
default ListExportErrorsPublisher listExportErrorsPaginator(Consumer<ListExportErrorsRequest.Builder> listExportErrorsRequest) This is a variant of
listExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListExportErrorsPublisher publisher = client.listExportErrorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListExportErrorsPublisher publisher = client.listExportErrorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListExportErrorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListExportErrorsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest)operation.
This is a convenience which creates an instance of the
ListExportErrorsRequest.Builderavoiding the need to create one manually viaListExportErrorsRequest.builder()- Parameters:
listExportErrorsRequest- AConsumerthat will call methods onListExportErrorsRequest.Builderto create a request. List export errors request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExports
List exports.
- Parameters:
listExportsRequest- List export request.- Returns:
- A Java Future containing the result of the ListExports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExports
default CompletableFuture<ListExportsResponse> listExports(Consumer<ListExportsRequest.Builder> listExportsRequest) List exports.
This is a convenience which creates an instance of the
ListExportsRequest.Builderavoiding the need to create one manually viaListExportsRequest.builder()- Parameters:
listExportsRequest- AConsumerthat will call methods onListExportsRequest.Builderto create a request. List export request.- Returns:
- A Java Future containing the result of the ListExports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExportsPaginator
This is a variant of
listExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListExportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListExportsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest)operation.- Parameters:
listExportsRequest- List export request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExportsPaginator
default ListExportsPublisher listExportsPaginator(Consumer<ListExportsRequest.Builder> listExportsRequest) This is a variant of
listExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListExportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListExportsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest)operation.
This is a convenience which creates an instance of the
ListExportsRequest.Builderavoiding the need to create one manually viaListExportsRequest.builder()- Parameters:
listExportsRequest- AConsumerthat will call methods onListExportsRequest.Builderto create a request. List export request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImportErrors
default CompletableFuture<ListImportErrorsResponse> listImportErrors(ListImportErrorsRequest listImportErrorsRequest) List import errors.
- Parameters:
listImportErrorsRequest- List import errors request.- Returns:
- A Java Future containing the result of the ListImportErrors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImportErrors
default CompletableFuture<ListImportErrorsResponse> listImportErrors(Consumer<ListImportErrorsRequest.Builder> listImportErrorsRequest) List import errors.
This is a convenience which creates an instance of the
ListImportErrorsRequest.Builderavoiding the need to create one manually viaListImportErrorsRequest.builder()- Parameters:
listImportErrorsRequest- AConsumerthat will call methods onListImportErrorsRequest.Builderto create a request. List import errors request.- Returns:
- A Java Future containing the result of the ListImportErrors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImportErrorsPaginator
default ListImportErrorsPublisher listImportErrorsPaginator(ListImportErrorsRequest listImportErrorsRequest) This is a variant of
listImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListImportErrorsPublisher publisher = client.listImportErrorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListImportErrorsPublisher publisher = client.listImportErrorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListImportErrorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListImportErrorsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest)operation.- Parameters:
listImportErrorsRequest- List import errors request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImportErrorsPaginator
default ListImportErrorsPublisher listImportErrorsPaginator(Consumer<ListImportErrorsRequest.Builder> listImportErrorsRequest) This is a variant of
listImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListImportErrorsPublisher publisher = client.listImportErrorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListImportErrorsPublisher publisher = client.listImportErrorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListImportErrorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListImportErrorsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest)operation.
This is a convenience which creates an instance of the
ListImportErrorsRequest.Builderavoiding the need to create one manually viaListImportErrorsRequest.builder()- Parameters:
listImportErrorsRequest- AConsumerthat will call methods onListImportErrorsRequest.Builderto create a request. List import errors request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImportFileEnrichments
default CompletableFuture<ListImportFileEnrichmentsResponse> listImportFileEnrichments(ListImportFileEnrichmentsRequest listImportFileEnrichmentsRequest) Lists import file enrichment jobs with optional filtering by job IDs.
- Parameters:
listImportFileEnrichmentsRequest-- Returns:
- A Java Future containing the result of the ListImportFileEnrichments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImportFileEnrichments
default CompletableFuture<ListImportFileEnrichmentsResponse> listImportFileEnrichments(Consumer<ListImportFileEnrichmentsRequest.Builder> listImportFileEnrichmentsRequest) Lists import file enrichment jobs with optional filtering by job IDs.
This is a convenience which creates an instance of the
ListImportFileEnrichmentsRequest.Builderavoiding the need to create one manually viaListImportFileEnrichmentsRequest.builder()- Parameters:
listImportFileEnrichmentsRequest- AConsumerthat will call methods onListImportFileEnrichmentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListImportFileEnrichments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImportFileEnrichmentsPaginator
default ListImportFileEnrichmentsPublisher listImportFileEnrichmentsPaginator(ListImportFileEnrichmentsRequest listImportFileEnrichmentsRequest) This is a variant of
listImportFileEnrichments(software.amazon.awssdk.services.mgn.model.ListImportFileEnrichmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListImportFileEnrichmentsPublisher publisher = client.listImportFileEnrichmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListImportFileEnrichmentsPublisher publisher = client.listImportFileEnrichmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListImportFileEnrichmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListImportFileEnrichmentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImportFileEnrichments(software.amazon.awssdk.services.mgn.model.ListImportFileEnrichmentsRequest)operation.- Parameters:
listImportFileEnrichmentsRequest-- 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.- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImportFileEnrichmentsPaginator
default ListImportFileEnrichmentsPublisher listImportFileEnrichmentsPaginator(Consumer<ListImportFileEnrichmentsRequest.Builder> listImportFileEnrichmentsRequest) This is a variant of
listImportFileEnrichments(software.amazon.awssdk.services.mgn.model.ListImportFileEnrichmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListImportFileEnrichmentsPublisher publisher = client.listImportFileEnrichmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListImportFileEnrichmentsPublisher publisher = client.listImportFileEnrichmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListImportFileEnrichmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListImportFileEnrichmentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImportFileEnrichments(software.amazon.awssdk.services.mgn.model.ListImportFileEnrichmentsRequest)operation.
This is a convenience which creates an instance of the
ListImportFileEnrichmentsRequest.Builderavoiding the need to create one manually viaListImportFileEnrichmentsRequest.builder()- Parameters:
listImportFileEnrichmentsRequest- AConsumerthat will call methods onListImportFileEnrichmentsRequest.Builderto 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.- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImports
List imports.
- Parameters:
listImportsRequest- List imports request.- Returns:
- A Java Future containing the result of the ListImports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImports
default CompletableFuture<ListImportsResponse> listImports(Consumer<ListImportsRequest.Builder> listImportsRequest) List imports.
This is a convenience which creates an instance of the
ListImportsRequest.Builderavoiding the need to create one manually viaListImportsRequest.builder()- Parameters:
listImportsRequest- AConsumerthat will call methods onListImportsRequest.Builderto create a request. List imports request.- Returns:
- A Java Future containing the result of the ListImports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImportsPaginator
This is a variant of
listImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListImportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListImportsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest)operation.- Parameters:
listImportsRequest- List imports request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listImportsPaginator
default ListImportsPublisher listImportsPaginator(Consumer<ListImportsRequest.Builder> listImportsRequest) This is a variant of
listImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListImportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListImportsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest)operation.
This is a convenience which creates an instance of the
ListImportsRequest.Builderavoiding the need to create one manually viaListImportsRequest.builder()- Parameters:
listImportsRequest- AConsumerthat will call methods onListImportsRequest.Builderto create a request. List imports request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedAccounts
default CompletableFuture<ListManagedAccountsResponse> listManagedAccounts(ListManagedAccountsRequest listManagedAccountsRequest) List Managed Accounts.
- Parameters:
listManagedAccountsRequest- List managed accounts request.- Returns:
- A Java Future containing the result of the ListManagedAccounts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedAccounts
default CompletableFuture<ListManagedAccountsResponse> listManagedAccounts(Consumer<ListManagedAccountsRequest.Builder> listManagedAccountsRequest) List Managed Accounts.
This is a convenience which creates an instance of the
ListManagedAccountsRequest.Builderavoiding the need to create one manually viaListManagedAccountsRequest.builder()- Parameters:
listManagedAccountsRequest- AConsumerthat will call methods onListManagedAccountsRequest.Builderto create a request. List managed accounts request.- Returns:
- A Java Future containing the result of the ListManagedAccounts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedAccountsPaginator
default ListManagedAccountsPublisher listManagedAccountsPaginator(ListManagedAccountsRequest listManagedAccountsRequest) This is a variant of
listManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListManagedAccountsPublisher publisher = client.listManagedAccountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListManagedAccountsPublisher publisher = client.listManagedAccountsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListManagedAccountsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListManagedAccountsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest)operation.- Parameters:
listManagedAccountsRequest- List managed accounts request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedAccountsPaginator
default ListManagedAccountsPublisher listManagedAccountsPaginator(Consumer<ListManagedAccountsRequest.Builder> listManagedAccountsRequest) This is a variant of
listManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListManagedAccountsPublisher publisher = client.listManagedAccountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListManagedAccountsPublisher publisher = client.listManagedAccountsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListManagedAccountsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListManagedAccountsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest)operation.
This is a convenience which creates an instance of the
ListManagedAccountsRequest.Builderavoiding the need to create one manually viaListManagedAccountsRequest.builder()- Parameters:
listManagedAccountsRequest- AConsumerthat will call methods onListManagedAccountsRequest.Builderto create a request. List managed accounts request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationAnalyses
default CompletableFuture<ListNetworkMigrationAnalysesResponse> listNetworkMigrationAnalyses(ListNetworkMigrationAnalysesRequest listNetworkMigrationAnalysesRequest) Lists network migration analysis jobs for a specified execution. Returns information about analysis job status and results.
- Parameters:
listNetworkMigrationAnalysesRequest-- Returns:
- A Java Future containing the result of the ListNetworkMigrationAnalyses operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationAnalyses
default CompletableFuture<ListNetworkMigrationAnalysesResponse> listNetworkMigrationAnalyses(Consumer<ListNetworkMigrationAnalysesRequest.Builder> listNetworkMigrationAnalysesRequest) Lists network migration analysis jobs for a specified execution. Returns information about analysis job status and results.
This is a convenience which creates an instance of the
ListNetworkMigrationAnalysesRequest.Builderavoiding the need to create one manually viaListNetworkMigrationAnalysesRequest.builder()- Parameters:
listNetworkMigrationAnalysesRequest- AConsumerthat will call methods onListNetworkMigrationAnalysesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNetworkMigrationAnalyses operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationAnalysesPaginator
default ListNetworkMigrationAnalysesPublisher listNetworkMigrationAnalysesPaginator(ListNetworkMigrationAnalysesRequest listNetworkMigrationAnalysesRequest) This is a variant of
listNetworkMigrationAnalyses(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationAnalysesPublisher publisher = client.listNetworkMigrationAnalysesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationAnalysesPublisher publisher = client.listNetworkMigrationAnalysesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationAnalyses(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysesRequest)operation.- Parameters:
listNetworkMigrationAnalysesRequest-- 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationAnalysesPaginator
default ListNetworkMigrationAnalysesPublisher listNetworkMigrationAnalysesPaginator(Consumer<ListNetworkMigrationAnalysesRequest.Builder> listNetworkMigrationAnalysesRequest) This is a variant of
listNetworkMigrationAnalyses(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationAnalysesPublisher publisher = client.listNetworkMigrationAnalysesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationAnalysesPublisher publisher = client.listNetworkMigrationAnalysesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationAnalyses(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysesRequest)operation.
This is a convenience which creates an instance of the
ListNetworkMigrationAnalysesRequest.Builderavoiding the need to create one manually viaListNetworkMigrationAnalysesRequest.builder()- Parameters:
listNetworkMigrationAnalysesRequest- AConsumerthat will call methods onListNetworkMigrationAnalysesRequest.Builderto 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationAnalysisResults
default CompletableFuture<ListNetworkMigrationAnalysisResultsResponse> listNetworkMigrationAnalysisResults(ListNetworkMigrationAnalysisResultsRequest listNetworkMigrationAnalysisResultsRequest) Lists the results of network migration analyses, showing connectivity and compatibility findings for migrated resources.
- Parameters:
listNetworkMigrationAnalysisResultsRequest-- Returns:
- A Java Future containing the result of the ListNetworkMigrationAnalysisResults operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationAnalysisResults
default CompletableFuture<ListNetworkMigrationAnalysisResultsResponse> listNetworkMigrationAnalysisResults(Consumer<ListNetworkMigrationAnalysisResultsRequest.Builder> listNetworkMigrationAnalysisResultsRequest) Lists the results of network migration analyses, showing connectivity and compatibility findings for migrated resources.
This is a convenience which creates an instance of the
ListNetworkMigrationAnalysisResultsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationAnalysisResultsRequest.builder()- Parameters:
listNetworkMigrationAnalysisResultsRequest- AConsumerthat will call methods onListNetworkMigrationAnalysisResultsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNetworkMigrationAnalysisResults operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationAnalysisResultsPaginator
default ListNetworkMigrationAnalysisResultsPublisher listNetworkMigrationAnalysisResultsPaginator(ListNetworkMigrationAnalysisResultsRequest listNetworkMigrationAnalysisResultsRequest) This is a variant of
listNetworkMigrationAnalysisResults(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysisResultsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationAnalysisResultsPublisher publisher = client.listNetworkMigrationAnalysisResultsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationAnalysisResultsPublisher publisher = client.listNetworkMigrationAnalysisResultsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysisResultsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysisResultsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationAnalysisResults(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysisResultsRequest)operation.- Parameters:
listNetworkMigrationAnalysisResultsRequest-- 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationAnalysisResultsPaginator
default ListNetworkMigrationAnalysisResultsPublisher listNetworkMigrationAnalysisResultsPaginator(Consumer<ListNetworkMigrationAnalysisResultsRequest.Builder> listNetworkMigrationAnalysisResultsRequest) This is a variant of
listNetworkMigrationAnalysisResults(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysisResultsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationAnalysisResultsPublisher publisher = client.listNetworkMigrationAnalysisResultsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationAnalysisResultsPublisher publisher = client.listNetworkMigrationAnalysisResultsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysisResultsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysisResultsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationAnalysisResults(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationAnalysisResultsRequest)operation.
This is a convenience which creates an instance of the
ListNetworkMigrationAnalysisResultsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationAnalysisResultsRequest.builder()- Parameters:
listNetworkMigrationAnalysisResultsRequest- AConsumerthat will call methods onListNetworkMigrationAnalysisResultsRequest.Builderto 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationCodeGenerationSegments
default CompletableFuture<ListNetworkMigrationCodeGenerationSegmentsResponse> listNetworkMigrationCodeGenerationSegments(ListNetworkMigrationCodeGenerationSegmentsRequest listNetworkMigrationCodeGenerationSegmentsRequest) Lists code generation segments, which represent individual infrastructure components generated as code templates.
- Parameters:
listNetworkMigrationCodeGenerationSegmentsRequest-- Returns:
- A Java Future containing the result of the ListNetworkMigrationCodeGenerationSegments operation returned
by the service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationCodeGenerationSegments
default CompletableFuture<ListNetworkMigrationCodeGenerationSegmentsResponse> listNetworkMigrationCodeGenerationSegments(Consumer<ListNetworkMigrationCodeGenerationSegmentsRequest.Builder> listNetworkMigrationCodeGenerationSegmentsRequest) Lists code generation segments, which represent individual infrastructure components generated as code templates.
This is a convenience which creates an instance of the
ListNetworkMigrationCodeGenerationSegmentsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationCodeGenerationSegmentsRequest.builder()- Parameters:
listNetworkMigrationCodeGenerationSegmentsRequest- AConsumerthat will call methods onListNetworkMigrationCodeGenerationSegmentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNetworkMigrationCodeGenerationSegments operation returned
by the service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationCodeGenerationSegmentsPaginator
default ListNetworkMigrationCodeGenerationSegmentsPublisher listNetworkMigrationCodeGenerationSegmentsPaginator(ListNetworkMigrationCodeGenerationSegmentsRequest listNetworkMigrationCodeGenerationSegmentsRequest) This is a variant of
listNetworkMigrationCodeGenerationSegments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationSegmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationCodeGenerationSegmentsPublisher publisher = client.listNetworkMigrationCodeGenerationSegmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationCodeGenerationSegmentsPublisher publisher = client.listNetworkMigrationCodeGenerationSegmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationSegmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationSegmentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationCodeGenerationSegments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationSegmentsRequest)operation.- Parameters:
listNetworkMigrationCodeGenerationSegmentsRequest-- 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationCodeGenerationSegmentsPaginator
default ListNetworkMigrationCodeGenerationSegmentsPublisher listNetworkMigrationCodeGenerationSegmentsPaginator(Consumer<ListNetworkMigrationCodeGenerationSegmentsRequest.Builder> listNetworkMigrationCodeGenerationSegmentsRequest) This is a variant of
listNetworkMigrationCodeGenerationSegments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationSegmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationCodeGenerationSegmentsPublisher publisher = client.listNetworkMigrationCodeGenerationSegmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationCodeGenerationSegmentsPublisher publisher = client.listNetworkMigrationCodeGenerationSegmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationSegmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationSegmentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationCodeGenerationSegments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationSegmentsRequest)operation.
This is a convenience which creates an instance of the
ListNetworkMigrationCodeGenerationSegmentsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationCodeGenerationSegmentsRequest.builder()- Parameters:
listNetworkMigrationCodeGenerationSegmentsRequest- AConsumerthat will call methods onListNetworkMigrationCodeGenerationSegmentsRequest.Builderto 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationCodeGenerations
default CompletableFuture<ListNetworkMigrationCodeGenerationsResponse> listNetworkMigrationCodeGenerations(ListNetworkMigrationCodeGenerationsRequest listNetworkMigrationCodeGenerationsRequest) Lists network migration code generation jobs, which convert network mappings into infrastructure-as-code templates.
- Parameters:
listNetworkMigrationCodeGenerationsRequest-- Returns:
- A Java Future containing the result of the ListNetworkMigrationCodeGenerations operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationCodeGenerations
default CompletableFuture<ListNetworkMigrationCodeGenerationsResponse> listNetworkMigrationCodeGenerations(Consumer<ListNetworkMigrationCodeGenerationsRequest.Builder> listNetworkMigrationCodeGenerationsRequest) Lists network migration code generation jobs, which convert network mappings into infrastructure-as-code templates.
This is a convenience which creates an instance of the
ListNetworkMigrationCodeGenerationsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationCodeGenerationsRequest.builder()- Parameters:
listNetworkMigrationCodeGenerationsRequest- AConsumerthat will call methods onListNetworkMigrationCodeGenerationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNetworkMigrationCodeGenerations operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationCodeGenerationsPaginator
default ListNetworkMigrationCodeGenerationsPublisher listNetworkMigrationCodeGenerationsPaginator(ListNetworkMigrationCodeGenerationsRequest listNetworkMigrationCodeGenerationsRequest) This is a variant of
listNetworkMigrationCodeGenerations(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationCodeGenerationsPublisher publisher = client.listNetworkMigrationCodeGenerationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationCodeGenerationsPublisher publisher = client.listNetworkMigrationCodeGenerationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationCodeGenerations(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationsRequest)operation.- Parameters:
listNetworkMigrationCodeGenerationsRequest-- 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationCodeGenerationsPaginator
default ListNetworkMigrationCodeGenerationsPublisher listNetworkMigrationCodeGenerationsPaginator(Consumer<ListNetworkMigrationCodeGenerationsRequest.Builder> listNetworkMigrationCodeGenerationsRequest) This is a variant of
listNetworkMigrationCodeGenerations(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationCodeGenerationsPublisher publisher = client.listNetworkMigrationCodeGenerationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationCodeGenerationsPublisher publisher = client.listNetworkMigrationCodeGenerationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationCodeGenerations(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationCodeGenerationsRequest)operation.
This is a convenience which creates an instance of the
ListNetworkMigrationCodeGenerationsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationCodeGenerationsRequest.builder()- Parameters:
listNetworkMigrationCodeGenerationsRequest- AConsumerthat will call methods onListNetworkMigrationCodeGenerationsRequest.Builderto 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationDefinitions
default CompletableFuture<ListNetworkMigrationDefinitionsResponse> listNetworkMigrationDefinitions(ListNetworkMigrationDefinitionsRequest listNetworkMigrationDefinitionsRequest) Lists all network migration definitions in the account, with optional filtering.
- Parameters:
listNetworkMigrationDefinitionsRequest-- Returns:
- A Java Future containing the result of the ListNetworkMigrationDefinitions operation returned by the
service.
The CompletableFuture returned by this method can be 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 Operating denied due to a file permission or access check error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationDefinitions
default CompletableFuture<ListNetworkMigrationDefinitionsResponse> listNetworkMigrationDefinitions(Consumer<ListNetworkMigrationDefinitionsRequest.Builder> listNetworkMigrationDefinitionsRequest) Lists all network migration definitions in the account, with optional filtering.
This is a convenience which creates an instance of the
ListNetworkMigrationDefinitionsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationDefinitionsRequest.builder()- Parameters:
listNetworkMigrationDefinitionsRequest- AConsumerthat will call methods onListNetworkMigrationDefinitionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNetworkMigrationDefinitions operation returned by the
service.
The CompletableFuture returned by this method can be 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 Operating denied due to a file permission or access check error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationDefinitionsPaginator
default ListNetworkMigrationDefinitionsPublisher listNetworkMigrationDefinitionsPaginator(ListNetworkMigrationDefinitionsRequest listNetworkMigrationDefinitionsRequest) This is a variant of
listNetworkMigrationDefinitions(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDefinitionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationDefinitionsPublisher publisher = client.listNetworkMigrationDefinitionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationDefinitionsPublisher publisher = client.listNetworkMigrationDefinitionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDefinitionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDefinitionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationDefinitions(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDefinitionsRequest)operation.- Parameters:
listNetworkMigrationDefinitionsRequest-- 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 Operating denied due to a file permission or access check error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationDefinitionsPaginator
default ListNetworkMigrationDefinitionsPublisher listNetworkMigrationDefinitionsPaginator(Consumer<ListNetworkMigrationDefinitionsRequest.Builder> listNetworkMigrationDefinitionsRequest) This is a variant of
listNetworkMigrationDefinitions(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDefinitionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationDefinitionsPublisher publisher = client.listNetworkMigrationDefinitionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationDefinitionsPublisher publisher = client.listNetworkMigrationDefinitionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDefinitionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDefinitionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationDefinitions(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDefinitionsRequest)operation.
This is a convenience which creates an instance of the
ListNetworkMigrationDefinitionsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationDefinitionsRequest.builder()- Parameters:
listNetworkMigrationDefinitionsRequest- AConsumerthat will call methods onListNetworkMigrationDefinitionsRequest.Builderto 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 Operating denied due to a file permission or access check error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationDeployedStacks
default CompletableFuture<ListNetworkMigrationDeployedStacksResponse> listNetworkMigrationDeployedStacks(ListNetworkMigrationDeployedStacksRequest listNetworkMigrationDeployedStacksRequest) Lists CloudFormation stacks that have been deployed as part of the network migration.
- Parameters:
listNetworkMigrationDeployedStacksRequest-- Returns:
- A Java Future containing the result of the ListNetworkMigrationDeployedStacks operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationDeployedStacks
default CompletableFuture<ListNetworkMigrationDeployedStacksResponse> listNetworkMigrationDeployedStacks(Consumer<ListNetworkMigrationDeployedStacksRequest.Builder> listNetworkMigrationDeployedStacksRequest) Lists CloudFormation stacks that have been deployed as part of the network migration.
This is a convenience which creates an instance of the
ListNetworkMigrationDeployedStacksRequest.Builderavoiding the need to create one manually viaListNetworkMigrationDeployedStacksRequest.builder()- Parameters:
listNetworkMigrationDeployedStacksRequest- AConsumerthat will call methods onListNetworkMigrationDeployedStacksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNetworkMigrationDeployedStacks operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationDeployedStacksPaginator
default ListNetworkMigrationDeployedStacksPublisher listNetworkMigrationDeployedStacksPaginator(ListNetworkMigrationDeployedStacksRequest listNetworkMigrationDeployedStacksRequest) This is a variant of
listNetworkMigrationDeployedStacks(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeployedStacksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationDeployedStacksPublisher publisher = client.listNetworkMigrationDeployedStacksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationDeployedStacksPublisher publisher = client.listNetworkMigrationDeployedStacksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeployedStacksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeployedStacksResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationDeployedStacks(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeployedStacksRequest)operation.- Parameters:
listNetworkMigrationDeployedStacksRequest-- 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationDeployedStacksPaginator
default ListNetworkMigrationDeployedStacksPublisher listNetworkMigrationDeployedStacksPaginator(Consumer<ListNetworkMigrationDeployedStacksRequest.Builder> listNetworkMigrationDeployedStacksRequest) This is a variant of
listNetworkMigrationDeployedStacks(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeployedStacksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationDeployedStacksPublisher publisher = client.listNetworkMigrationDeployedStacksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationDeployedStacksPublisher publisher = client.listNetworkMigrationDeployedStacksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeployedStacksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeployedStacksResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationDeployedStacks(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeployedStacksRequest)operation.
This is a convenience which creates an instance of the
ListNetworkMigrationDeployedStacksRequest.Builderavoiding the need to create one manually viaListNetworkMigrationDeployedStacksRequest.builder()- Parameters:
listNetworkMigrationDeployedStacksRequest- AConsumerthat will call methods onListNetworkMigrationDeployedStacksRequest.Builderto 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationDeployments
default CompletableFuture<ListNetworkMigrationDeploymentsResponse> listNetworkMigrationDeployments(ListNetworkMigrationDeploymentsRequest listNetworkMigrationDeploymentsRequest) Lists network migration deployment jobs and their current status.
- Parameters:
listNetworkMigrationDeploymentsRequest-- Returns:
- A Java Future containing the result of the ListNetworkMigrationDeployments operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationDeployments
default CompletableFuture<ListNetworkMigrationDeploymentsResponse> listNetworkMigrationDeployments(Consumer<ListNetworkMigrationDeploymentsRequest.Builder> listNetworkMigrationDeploymentsRequest) Lists network migration deployment jobs and their current status.
This is a convenience which creates an instance of the
ListNetworkMigrationDeploymentsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationDeploymentsRequest.builder()- Parameters:
listNetworkMigrationDeploymentsRequest- AConsumerthat will call methods onListNetworkMigrationDeploymentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNetworkMigrationDeployments operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationDeploymentsPaginator
default ListNetworkMigrationDeploymentsPublisher listNetworkMigrationDeploymentsPaginator(ListNetworkMigrationDeploymentsRequest listNetworkMigrationDeploymentsRequest) This is a variant of
listNetworkMigrationDeployments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeploymentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationDeploymentsPublisher publisher = client.listNetworkMigrationDeploymentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationDeploymentsPublisher publisher = client.listNetworkMigrationDeploymentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeploymentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeploymentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationDeployments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeploymentsRequest)operation.- Parameters:
listNetworkMigrationDeploymentsRequest-- 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationDeploymentsPaginator
default ListNetworkMigrationDeploymentsPublisher listNetworkMigrationDeploymentsPaginator(Consumer<ListNetworkMigrationDeploymentsRequest.Builder> listNetworkMigrationDeploymentsRequest) This is a variant of
listNetworkMigrationDeployments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeploymentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationDeploymentsPublisher publisher = client.listNetworkMigrationDeploymentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationDeploymentsPublisher publisher = client.listNetworkMigrationDeploymentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeploymentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeploymentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationDeployments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationDeploymentsRequest)operation.
This is a convenience which creates an instance of the
ListNetworkMigrationDeploymentsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationDeploymentsRequest.builder()- Parameters:
listNetworkMigrationDeploymentsRequest- AConsumerthat will call methods onListNetworkMigrationDeploymentsRequest.Builderto 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationExecutions
default CompletableFuture<ListNetworkMigrationExecutionsResponse> listNetworkMigrationExecutions(ListNetworkMigrationExecutionsRequest listNetworkMigrationExecutionsRequest) Lists network migration execution instances for a given definition, showing the status and progress of each execution.
- Parameters:
listNetworkMigrationExecutionsRequest-- Returns:
- A Java Future containing the result of the ListNetworkMigrationExecutions operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationExecutions
default CompletableFuture<ListNetworkMigrationExecutionsResponse> listNetworkMigrationExecutions(Consumer<ListNetworkMigrationExecutionsRequest.Builder> listNetworkMigrationExecutionsRequest) Lists network migration execution instances for a given definition, showing the status and progress of each execution.
This is a convenience which creates an instance of the
ListNetworkMigrationExecutionsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationExecutionsRequest.builder()- Parameters:
listNetworkMigrationExecutionsRequest- AConsumerthat will call methods onListNetworkMigrationExecutionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNetworkMigrationExecutions operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationExecutionsPaginator
default ListNetworkMigrationExecutionsPublisher listNetworkMigrationExecutionsPaginator(ListNetworkMigrationExecutionsRequest listNetworkMigrationExecutionsRequest) This is a variant of
listNetworkMigrationExecutions(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationExecutionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationExecutionsPublisher publisher = client.listNetworkMigrationExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationExecutionsPublisher publisher = client.listNetworkMigrationExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationExecutionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationExecutions(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationExecutionsRequest)operation.- Parameters:
listNetworkMigrationExecutionsRequest-- 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 Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationExecutionsPaginator
default ListNetworkMigrationExecutionsPublisher listNetworkMigrationExecutionsPaginator(Consumer<ListNetworkMigrationExecutionsRequest.Builder> listNetworkMigrationExecutionsRequest) This is a variant of
listNetworkMigrationExecutions(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationExecutionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationExecutionsPublisher publisher = client.listNetworkMigrationExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationExecutionsPublisher publisher = client.listNetworkMigrationExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationExecutionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationExecutions(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationExecutionsRequest)operation.
This is a convenience which creates an instance of the
ListNetworkMigrationExecutionsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationExecutionsRequest.builder()- Parameters:
listNetworkMigrationExecutionsRequest- AConsumerthat will call methods onListNetworkMigrationExecutionsRequest.Builderto 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 Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMapperSegmentConstructs
default CompletableFuture<ListNetworkMigrationMapperSegmentConstructsResponse> listNetworkMigrationMapperSegmentConstructs(ListNetworkMigrationMapperSegmentConstructsRequest listNetworkMigrationMapperSegmentConstructsRequest) Lists constructs within a mapper segment, representing individual infrastructure components like VPCs, subnets, or security groups.
- Parameters:
listNetworkMigrationMapperSegmentConstructsRequest-- Returns:
- A Java Future containing the result of the ListNetworkMigrationMapperSegmentConstructs operation returned
by the service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMapperSegmentConstructs
default CompletableFuture<ListNetworkMigrationMapperSegmentConstructsResponse> listNetworkMigrationMapperSegmentConstructs(Consumer<ListNetworkMigrationMapperSegmentConstructsRequest.Builder> listNetworkMigrationMapperSegmentConstructsRequest) Lists constructs within a mapper segment, representing individual infrastructure components like VPCs, subnets, or security groups.
This is a convenience which creates an instance of the
ListNetworkMigrationMapperSegmentConstructsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationMapperSegmentConstructsRequest.builder()- Parameters:
listNetworkMigrationMapperSegmentConstructsRequest- AConsumerthat will call methods onListNetworkMigrationMapperSegmentConstructsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNetworkMigrationMapperSegmentConstructs operation returned
by the service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMapperSegmentConstructsPaginator
default ListNetworkMigrationMapperSegmentConstructsPublisher listNetworkMigrationMapperSegmentConstructsPaginator(ListNetworkMigrationMapperSegmentConstructsRequest listNetworkMigrationMapperSegmentConstructsRequest) This is a variant of
listNetworkMigrationMapperSegmentConstructs(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentConstructsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMapperSegmentConstructsPublisher publisher = client.listNetworkMigrationMapperSegmentConstructsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMapperSegmentConstructsPublisher publisher = client.listNetworkMigrationMapperSegmentConstructsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentConstructsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentConstructsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationMapperSegmentConstructs(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentConstructsRequest)operation.- Parameters:
listNetworkMigrationMapperSegmentConstructsRequest-- 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMapperSegmentConstructsPaginator
default ListNetworkMigrationMapperSegmentConstructsPublisher listNetworkMigrationMapperSegmentConstructsPaginator(Consumer<ListNetworkMigrationMapperSegmentConstructsRequest.Builder> listNetworkMigrationMapperSegmentConstructsRequest) This is a variant of
listNetworkMigrationMapperSegmentConstructs(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentConstructsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMapperSegmentConstructsPublisher publisher = client.listNetworkMigrationMapperSegmentConstructsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMapperSegmentConstructsPublisher publisher = client.listNetworkMigrationMapperSegmentConstructsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentConstructsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentConstructsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationMapperSegmentConstructs(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentConstructsRequest)operation.
This is a convenience which creates an instance of the
ListNetworkMigrationMapperSegmentConstructsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationMapperSegmentConstructsRequest.builder()- Parameters:
listNetworkMigrationMapperSegmentConstructsRequest- AConsumerthat will call methods onListNetworkMigrationMapperSegmentConstructsRequest.Builderto 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMapperSegments
default CompletableFuture<ListNetworkMigrationMapperSegmentsResponse> listNetworkMigrationMapperSegments(ListNetworkMigrationMapperSegmentsRequest listNetworkMigrationMapperSegmentsRequest) Lists mapper segments, which represent logical groupings of network resources to be migrated together.
- Parameters:
listNetworkMigrationMapperSegmentsRequest-- Returns:
- A Java Future containing the result of the ListNetworkMigrationMapperSegments operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMapperSegments
default CompletableFuture<ListNetworkMigrationMapperSegmentsResponse> listNetworkMigrationMapperSegments(Consumer<ListNetworkMigrationMapperSegmentsRequest.Builder> listNetworkMigrationMapperSegmentsRequest) Lists mapper segments, which represent logical groupings of network resources to be migrated together.
This is a convenience which creates an instance of the
ListNetworkMigrationMapperSegmentsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationMapperSegmentsRequest.builder()- Parameters:
listNetworkMigrationMapperSegmentsRequest- AConsumerthat will call methods onListNetworkMigrationMapperSegmentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNetworkMigrationMapperSegments operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMapperSegmentsPaginator
default ListNetworkMigrationMapperSegmentsPublisher listNetworkMigrationMapperSegmentsPaginator(ListNetworkMigrationMapperSegmentsRequest listNetworkMigrationMapperSegmentsRequest) This is a variant of
listNetworkMigrationMapperSegments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMapperSegmentsPublisher publisher = client.listNetworkMigrationMapperSegmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMapperSegmentsPublisher publisher = client.listNetworkMigrationMapperSegmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationMapperSegments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentsRequest)operation.- Parameters:
listNetworkMigrationMapperSegmentsRequest-- 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMapperSegmentsPaginator
default ListNetworkMigrationMapperSegmentsPublisher listNetworkMigrationMapperSegmentsPaginator(Consumer<ListNetworkMigrationMapperSegmentsRequest.Builder> listNetworkMigrationMapperSegmentsRequest) This is a variant of
listNetworkMigrationMapperSegments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMapperSegmentsPublisher publisher = client.listNetworkMigrationMapperSegmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMapperSegmentsPublisher publisher = client.listNetworkMigrationMapperSegmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationMapperSegments(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMapperSegmentsRequest)operation.
This is a convenience which creates an instance of the
ListNetworkMigrationMapperSegmentsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationMapperSegmentsRequest.builder()- Parameters:
listNetworkMigrationMapperSegmentsRequest- AConsumerthat will call methods onListNetworkMigrationMapperSegmentsRequest.Builderto 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMappingUpdates
default CompletableFuture<ListNetworkMigrationMappingUpdatesResponse> listNetworkMigrationMappingUpdates(ListNetworkMigrationMappingUpdatesRequest listNetworkMigrationMappingUpdatesRequest) Lists mapping update jobs, which apply customer modifications to the generated network mappings.
- Parameters:
listNetworkMigrationMappingUpdatesRequest-- Returns:
- A Java Future containing the result of the ListNetworkMigrationMappingUpdates operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMappingUpdates
default CompletableFuture<ListNetworkMigrationMappingUpdatesResponse> listNetworkMigrationMappingUpdates(Consumer<ListNetworkMigrationMappingUpdatesRequest.Builder> listNetworkMigrationMappingUpdatesRequest) Lists mapping update jobs, which apply customer modifications to the generated network mappings.
This is a convenience which creates an instance of the
ListNetworkMigrationMappingUpdatesRequest.Builderavoiding the need to create one manually viaListNetworkMigrationMappingUpdatesRequest.builder()- Parameters:
listNetworkMigrationMappingUpdatesRequest- AConsumerthat will call methods onListNetworkMigrationMappingUpdatesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNetworkMigrationMappingUpdates operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMappingUpdatesPaginator
default ListNetworkMigrationMappingUpdatesPublisher listNetworkMigrationMappingUpdatesPaginator(ListNetworkMigrationMappingUpdatesRequest listNetworkMigrationMappingUpdatesRequest) This is a variant of
listNetworkMigrationMappingUpdates(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingUpdatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMappingUpdatesPublisher publisher = client.listNetworkMigrationMappingUpdatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMappingUpdatesPublisher publisher = client.listNetworkMigrationMappingUpdatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingUpdatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingUpdatesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationMappingUpdates(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingUpdatesRequest)operation.- Parameters:
listNetworkMigrationMappingUpdatesRequest-- 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMappingUpdatesPaginator
default ListNetworkMigrationMappingUpdatesPublisher listNetworkMigrationMappingUpdatesPaginator(Consumer<ListNetworkMigrationMappingUpdatesRequest.Builder> listNetworkMigrationMappingUpdatesRequest) This is a variant of
listNetworkMigrationMappingUpdates(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingUpdatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMappingUpdatesPublisher publisher = client.listNetworkMigrationMappingUpdatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMappingUpdatesPublisher publisher = client.listNetworkMigrationMappingUpdatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingUpdatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingUpdatesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationMappingUpdates(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingUpdatesRequest)operation.
This is a convenience which creates an instance of the
ListNetworkMigrationMappingUpdatesRequest.Builderavoiding the need to create one manually viaListNetworkMigrationMappingUpdatesRequest.builder()- Parameters:
listNetworkMigrationMappingUpdatesRequest- AConsumerthat will call methods onListNetworkMigrationMappingUpdatesRequest.Builderto 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMappings
default CompletableFuture<ListNetworkMigrationMappingsResponse> listNetworkMigrationMappings(ListNetworkMigrationMappingsRequest listNetworkMigrationMappingsRequest) Lists network migration mapping jobs, which analyze and create relationships between source and target network resources.
- Parameters:
listNetworkMigrationMappingsRequest-- Returns:
- A Java Future containing the result of the ListNetworkMigrationMappings operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMappings
default CompletableFuture<ListNetworkMigrationMappingsResponse> listNetworkMigrationMappings(Consumer<ListNetworkMigrationMappingsRequest.Builder> listNetworkMigrationMappingsRequest) Lists network migration mapping jobs, which analyze and create relationships between source and target network resources.
This is a convenience which creates an instance of the
ListNetworkMigrationMappingsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationMappingsRequest.builder()- Parameters:
listNetworkMigrationMappingsRequest- AConsumerthat will call methods onListNetworkMigrationMappingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNetworkMigrationMappings operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMappingsPaginator
default ListNetworkMigrationMappingsPublisher listNetworkMigrationMappingsPaginator(ListNetworkMigrationMappingsRequest listNetworkMigrationMappingsRequest) This is a variant of
listNetworkMigrationMappings(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMappingsPublisher publisher = client.listNetworkMigrationMappingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMappingsPublisher publisher = client.listNetworkMigrationMappingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationMappings(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingsRequest)operation.- Parameters:
listNetworkMigrationMappingsRequest-- 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworkMigrationMappingsPaginator
default ListNetworkMigrationMappingsPublisher listNetworkMigrationMappingsPaginator(Consumer<ListNetworkMigrationMappingsRequest.Builder> listNetworkMigrationMappingsRequest) This is a variant of
listNetworkMigrationMappings(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMappingsPublisher publisher = client.listNetworkMigrationMappingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListNetworkMigrationMappingsPublisher publisher = client.listNetworkMigrationMappingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworkMigrationMappings(software.amazon.awssdk.services.mgn.model.ListNetworkMigrationMappingsRequest)operation.
This is a convenience which creates an instance of the
ListNetworkMigrationMappingsRequest.Builderavoiding the need to create one manually viaListNetworkMigrationMappingsRequest.builder()- Parameters:
listNetworkMigrationMappingsRequest- AConsumerthat will call methods onListNetworkMigrationMappingsRequest.Builderto 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSourceServerActions
default CompletableFuture<ListSourceServerActionsResponse> listSourceServerActions(ListSourceServerActionsRequest listSourceServerActionsRequest) List source server post migration custom actions.
- Parameters:
listSourceServerActionsRequest-- Returns:
- A Java Future containing the result of the ListSourceServerActions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSourceServerActions
default CompletableFuture<ListSourceServerActionsResponse> listSourceServerActions(Consumer<ListSourceServerActionsRequest.Builder> listSourceServerActionsRequest) List source server post migration custom actions.
This is a convenience which creates an instance of the
ListSourceServerActionsRequest.Builderavoiding the need to create one manually viaListSourceServerActionsRequest.builder()- Parameters:
listSourceServerActionsRequest- AConsumerthat will call methods onListSourceServerActionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSourceServerActions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSourceServerActionsPaginator
default ListSourceServerActionsPublisher listSourceServerActionsPaginator(ListSourceServerActionsRequest listSourceServerActionsRequest) This is a variant of
listSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsPublisher publisher = client.listSourceServerActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsPublisher publisher = client.listSourceServerActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListSourceServerActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest)operation.- Parameters:
listSourceServerActionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSourceServerActionsPaginator
default ListSourceServerActionsPublisher listSourceServerActionsPaginator(Consumer<ListSourceServerActionsRequest.Builder> listSourceServerActionsRequest) This is a variant of
listSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsPublisher publisher = client.listSourceServerActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsPublisher publisher = client.listSourceServerActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListSourceServerActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest)operation.
This is a convenience which creates an instance of the
ListSourceServerActionsRequest.Builderavoiding the need to create one manually viaListSourceServerActionsRequest.builder()- Parameters:
listSourceServerActionsRequest- AConsumerthat will call methods onListSourceServerActionsRequest.Builderto 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.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List all tags for your Application Migration Service resources.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- InternalServerException The server encountered an unexpected condition that prevented it from fulfilling the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List all tags for your Application Migration Service resources.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- InternalServerException The server encountered an unexpected condition that prevented it from fulfilling the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTemplateActions
default CompletableFuture<ListTemplateActionsResponse> listTemplateActions(ListTemplateActionsRequest listTemplateActionsRequest) List template post migration custom actions.
- Parameters:
listTemplateActionsRequest-- Returns:
- A Java Future containing the result of the ListTemplateActions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTemplateActions
default CompletableFuture<ListTemplateActionsResponse> listTemplateActions(Consumer<ListTemplateActionsRequest.Builder> listTemplateActionsRequest) List template post migration custom actions.
This is a convenience which creates an instance of the
ListTemplateActionsRequest.Builderavoiding the need to create one manually viaListTemplateActionsRequest.builder()- Parameters:
listTemplateActionsRequest- AConsumerthat will call methods onListTemplateActionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTemplateActions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTemplateActionsPaginator
default ListTemplateActionsPublisher listTemplateActionsPaginator(ListTemplateActionsRequest listTemplateActionsRequest) This is a variant of
listTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListTemplateActionsPublisher publisher = client.listTemplateActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListTemplateActionsPublisher publisher = client.listTemplateActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListTemplateActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListTemplateActionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest)operation.- Parameters:
listTemplateActionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTemplateActionsPaginator
default ListTemplateActionsPublisher listTemplateActionsPaginator(Consumer<ListTemplateActionsRequest.Builder> listTemplateActionsRequest) This is a variant of
listTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListTemplateActionsPublisher publisher = client.listTemplateActionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListTemplateActionsPublisher publisher = client.listTemplateActionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListTemplateActionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListTemplateActionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest)operation.
This is a convenience which creates an instance of the
ListTemplateActionsRequest.Builderavoiding the need to create one manually viaListTemplateActionsRequest.builder()- Parameters:
listTemplateActionsRequest- AConsumerthat will call methods onListTemplateActionsRequest.Builderto 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.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWaves
Retrieves all waves or multiple waves by ID.
- Parameters:
listWavesRequest-- Returns:
- A Java Future containing the result of the ListWaves operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWaves
default CompletableFuture<ListWavesResponse> listWaves(Consumer<ListWavesRequest.Builder> listWavesRequest) Retrieves all waves or multiple waves by ID.
This is a convenience which creates an instance of the
ListWavesRequest.Builderavoiding the need to create one manually viaListWavesRequest.builder()- Parameters:
listWavesRequest- AConsumerthat will call methods onListWavesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListWaves operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWavesPaginator
This is a variant of
listWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListWavesPublisher publisher = client.listWavesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListWavesPublisher publisher = client.listWavesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListWavesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListWavesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest)operation.- Parameters:
listWavesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWavesPaginator
This is a variant of
listWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mgn.paginators.ListWavesPublisher publisher = client.listWavesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mgn.paginators.ListWavesPublisher publisher = client.listWavesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mgn.model.ListWavesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mgn.model.ListWavesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest)operation.
This is a convenience which creates an instance of the
ListWavesRequest.Builderavoiding the need to create one manually viaListWavesRequest.builder()- Parameters:
listWavesRequest- AConsumerthat will call methods onListWavesRequest.Builderto 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.- UninitializedAccountException Uninitialized account exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
markAsArchived
default CompletableFuture<MarkAsArchivedResponse> markAsArchived(MarkAsArchivedRequest markAsArchivedRequest) Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID. This command only works for SourceServers with a lifecycle. state which equals DISCONNECTED or CUTOVER.
- Parameters:
markAsArchivedRequest-- Returns:
- A Java Future containing the result of the MarkAsArchived operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
markAsArchived
default CompletableFuture<MarkAsArchivedResponse> markAsArchived(Consumer<MarkAsArchivedRequest.Builder> markAsArchivedRequest) Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID. This command only works for SourceServers with a lifecycle. state which equals DISCONNECTED or CUTOVER.
This is a convenience which creates an instance of the
MarkAsArchivedRequest.Builderavoiding the need to create one manually viaMarkAsArchivedRequest.builder()- Parameters:
markAsArchivedRequest- AConsumerthat will call methods onMarkAsArchivedRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the MarkAsArchived operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
pauseReplication
default CompletableFuture<PauseReplicationResponse> pauseReplication(PauseReplicationRequest pauseReplicationRequest) Pause Replication.
- Parameters:
pauseReplicationRequest-- Returns:
- A Java Future containing the result of the PauseReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
pauseReplication
default CompletableFuture<PauseReplicationResponse> pauseReplication(Consumer<PauseReplicationRequest.Builder> pauseReplicationRequest) Pause Replication.
This is a convenience which creates an instance of the
PauseReplicationRequest.Builderavoiding the need to create one manually viaPauseReplicationRequest.builder()- Parameters:
pauseReplicationRequest- AConsumerthat will call methods onPauseReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PauseReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putSourceServerAction
default CompletableFuture<PutSourceServerActionResponse> putSourceServerAction(PutSourceServerActionRequest putSourceServerActionRequest) Put source server post migration custom action.
- Parameters:
putSourceServerActionRequest-- Returns:
- A Java Future containing the result of the PutSourceServerAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putSourceServerAction
default CompletableFuture<PutSourceServerActionResponse> putSourceServerAction(Consumer<PutSourceServerActionRequest.Builder> putSourceServerActionRequest) Put source server post migration custom action.
This is a convenience which creates an instance of the
PutSourceServerActionRequest.Builderavoiding the need to create one manually viaPutSourceServerActionRequest.builder()- Parameters:
putSourceServerActionRequest- AConsumerthat will call methods onPutSourceServerActionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutSourceServerAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTemplateAction
default CompletableFuture<PutTemplateActionResponse> putTemplateAction(PutTemplateActionRequest putTemplateActionRequest) Put template post migration custom action.
- Parameters:
putTemplateActionRequest-- Returns:
- A Java Future containing the result of the PutTemplateAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putTemplateAction
default CompletableFuture<PutTemplateActionResponse> putTemplateAction(Consumer<PutTemplateActionRequest.Builder> putTemplateActionRequest) Put template post migration custom action.
This is a convenience which creates an instance of the
PutTemplateActionRequest.Builderavoiding the need to create one manually viaPutTemplateActionRequest.builder()- Parameters:
putTemplateActionRequest- AConsumerthat will call methods onPutTemplateActionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutTemplateAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeSourceServerAction
default CompletableFuture<RemoveSourceServerActionResponse> removeSourceServerAction(RemoveSourceServerActionRequest removeSourceServerActionRequest) Remove source server post migration custom action.
- Parameters:
removeSourceServerActionRequest-- Returns:
- A Java Future containing the result of the RemoveSourceServerAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeSourceServerAction
default CompletableFuture<RemoveSourceServerActionResponse> removeSourceServerAction(Consumer<RemoveSourceServerActionRequest.Builder> removeSourceServerActionRequest) Remove source server post migration custom action.
This is a convenience which creates an instance of the
RemoveSourceServerActionRequest.Builderavoiding the need to create one manually viaRemoveSourceServerActionRequest.builder()- Parameters:
removeSourceServerActionRequest- AConsumerthat will call methods onRemoveSourceServerActionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RemoveSourceServerAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeTemplateAction
default CompletableFuture<RemoveTemplateActionResponse> removeTemplateAction(RemoveTemplateActionRequest removeTemplateActionRequest) Remove template post migration custom action.
- Parameters:
removeTemplateActionRequest-- Returns:
- A Java Future containing the result of the RemoveTemplateAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeTemplateAction
default CompletableFuture<RemoveTemplateActionResponse> removeTemplateAction(Consumer<RemoveTemplateActionRequest.Builder> removeTemplateActionRequest) Remove template post migration custom action.
This is a convenience which creates an instance of the
RemoveTemplateActionRequest.Builderavoiding the need to create one manually viaRemoveTemplateActionRequest.builder()- Parameters:
removeTemplateActionRequest- AConsumerthat will call methods onRemoveTemplateActionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RemoveTemplateAction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resumeReplication
default CompletableFuture<ResumeReplicationResponse> resumeReplication(ResumeReplicationRequest resumeReplicationRequest) Resume Replication.
- Parameters:
resumeReplicationRequest-- Returns:
- A Java Future containing the result of the ResumeReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resumeReplication
default CompletableFuture<ResumeReplicationResponse> resumeReplication(Consumer<ResumeReplicationRequest.Builder> resumeReplicationRequest) Resume Replication.
This is a convenience which creates an instance of the
ResumeReplicationRequest.Builderavoiding the need to create one manually viaResumeReplicationRequest.builder()- Parameters:
resumeReplicationRequest- AConsumerthat will call methods onResumeReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ResumeReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
retryDataReplication
default CompletableFuture<RetryDataReplicationResponse> retryDataReplication(RetryDataReplicationRequest retryDataReplicationRequest) Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started. This command will not work if the SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.
- Parameters:
retryDataReplicationRequest-- Returns:
- A Java Future containing the result of the RetryDataReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
retryDataReplication
default CompletableFuture<RetryDataReplicationResponse> retryDataReplication(Consumer<RetryDataReplicationRequest.Builder> retryDataReplicationRequest) Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started. This command will not work if the SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.
This is a convenience which creates an instance of the
RetryDataReplicationRequest.Builderavoiding the need to create one manually viaRetryDataReplicationRequest.builder()- Parameters:
retryDataReplicationRequest- AConsumerthat will call methods onRetryDataReplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RetryDataReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startCutover
default CompletableFuture<StartCutoverResponse> startCutover(StartCutoverRequest startCutoverRequest) Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.
- Parameters:
startCutoverRequest-- Returns:
- A Java Future containing the result of the StartCutover operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startCutover
default CompletableFuture<StartCutoverResponse> startCutover(Consumer<StartCutoverRequest.Builder> startCutoverRequest) Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.
This is a convenience which creates an instance of the
StartCutoverRequest.Builderavoiding the need to create one manually viaStartCutoverRequest.builder()- Parameters:
startCutoverRequest- AConsumerthat will call methods onStartCutoverRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartCutover operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startExport
Start export.
- Parameters:
startExportRequest- Start export request.- Returns:
- A Java Future containing the result of the StartExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startExport
default CompletableFuture<StartExportResponse> startExport(Consumer<StartExportRequest.Builder> startExportRequest) Start export.
This is a convenience which creates an instance of the
StartExportRequest.Builderavoiding the need to create one manually viaStartExportRequest.builder()- Parameters:
startExportRequest- AConsumerthat will call methods onStartExportRequest.Builderto create a request. Start export request.- Returns:
- A Java Future containing the result of the StartExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startImport
Start import.
- Parameters:
startImportRequest- Start import request.- Returns:
- A Java Future containing the result of the StartImport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startImport
default CompletableFuture<StartImportResponse> startImport(Consumer<StartImportRequest.Builder> startImportRequest) Start import.
This is a convenience which creates an instance of the
StartImportRequest.Builderavoiding the need to create one manually viaStartImportRequest.builder()- Parameters:
startImportRequest- AConsumerthat will call methods onStartImportRequest.Builderto create a request. Start import request.- Returns:
- A Java Future containing the result of the StartImport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startImportFileEnrichment
default CompletableFuture<StartImportFileEnrichmentResponse> startImportFileEnrichment(StartImportFileEnrichmentRequest startImportFileEnrichmentRequest) Starts an import file enrichment job to process and enrich network migration import files with additional metadata and IP assignment strategies.
- Parameters:
startImportFileEnrichmentRequest-- Returns:
- A Java Future containing the result of the StartImportFileEnrichment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startImportFileEnrichment
default CompletableFuture<StartImportFileEnrichmentResponse> startImportFileEnrichment(Consumer<StartImportFileEnrichmentRequest.Builder> startImportFileEnrichmentRequest) Starts an import file enrichment job to process and enrich network migration import files with additional metadata and IP assignment strategies.
This is a convenience which creates an instance of the
StartImportFileEnrichmentRequest.Builderavoiding the need to create one manually viaStartImportFileEnrichmentRequest.builder()- Parameters:
startImportFileEnrichmentRequest- AConsumerthat will call methods onStartImportFileEnrichmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartImportFileEnrichment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startNetworkMigrationAnalysis
default CompletableFuture<StartNetworkMigrationAnalysisResponse> startNetworkMigrationAnalysis(StartNetworkMigrationAnalysisRequest startNetworkMigrationAnalysisRequest) Starts a network migration analysis job to evaluate connectivity and compatibility of the migration mappings.
- Parameters:
startNetworkMigrationAnalysisRequest-- Returns:
- A Java Future containing the result of the StartNetworkMigrationAnalysis operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startNetworkMigrationAnalysis
default CompletableFuture<StartNetworkMigrationAnalysisResponse> startNetworkMigrationAnalysis(Consumer<StartNetworkMigrationAnalysisRequest.Builder> startNetworkMigrationAnalysisRequest) Starts a network migration analysis job to evaluate connectivity and compatibility of the migration mappings.
This is a convenience which creates an instance of the
StartNetworkMigrationAnalysisRequest.Builderavoiding the need to create one manually viaStartNetworkMigrationAnalysisRequest.builder()- Parameters:
startNetworkMigrationAnalysisRequest- AConsumerthat will call methods onStartNetworkMigrationAnalysisRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartNetworkMigrationAnalysis operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startNetworkMigrationCodeGeneration
default CompletableFuture<StartNetworkMigrationCodeGenerationResponse> startNetworkMigrationCodeGeneration(StartNetworkMigrationCodeGenerationRequest startNetworkMigrationCodeGenerationRequest) Starts a code generation job to convert network migration mappings into infrastructure-as-code templates.
- Parameters:
startNetworkMigrationCodeGenerationRequest-- Returns:
- A Java Future containing the result of the StartNetworkMigrationCodeGeneration operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startNetworkMigrationCodeGeneration
default CompletableFuture<StartNetworkMigrationCodeGenerationResponse> startNetworkMigrationCodeGeneration(Consumer<StartNetworkMigrationCodeGenerationRequest.Builder> startNetworkMigrationCodeGenerationRequest) Starts a code generation job to convert network migration mappings into infrastructure-as-code templates.
This is a convenience which creates an instance of the
StartNetworkMigrationCodeGenerationRequest.Builderavoiding the need to create one manually viaStartNetworkMigrationCodeGenerationRequest.builder()- Parameters:
startNetworkMigrationCodeGenerationRequest- AConsumerthat will call methods onStartNetworkMigrationCodeGenerationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartNetworkMigrationCodeGeneration operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startNetworkMigrationDeployment
default CompletableFuture<StartNetworkMigrationDeploymentResponse> startNetworkMigrationDeployment(StartNetworkMigrationDeploymentRequest startNetworkMigrationDeploymentRequest) Starts a deployment job to create the target network infrastructure based on the generated code templates.
- Parameters:
startNetworkMigrationDeploymentRequest-- Returns:
- A Java Future containing the result of the StartNetworkMigrationDeployment operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startNetworkMigrationDeployment
default CompletableFuture<StartNetworkMigrationDeploymentResponse> startNetworkMigrationDeployment(Consumer<StartNetworkMigrationDeploymentRequest.Builder> startNetworkMigrationDeploymentRequest) Starts a deployment job to create the target network infrastructure based on the generated code templates.
This is a convenience which creates an instance of the
StartNetworkMigrationDeploymentRequest.Builderavoiding the need to create one manually viaStartNetworkMigrationDeploymentRequest.builder()- Parameters:
startNetworkMigrationDeploymentRequest- AConsumerthat will call methods onStartNetworkMigrationDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartNetworkMigrationDeployment operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startNetworkMigrationMapping
default CompletableFuture<StartNetworkMigrationMappingResponse> startNetworkMigrationMapping(StartNetworkMigrationMappingRequest startNetworkMigrationMappingRequest) Starts the network migration mapping process for a given network migration execution.
- Parameters:
startNetworkMigrationMappingRequest-- Returns:
- A Java Future containing the result of the StartNetworkMigrationMapping operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startNetworkMigrationMapping
default CompletableFuture<StartNetworkMigrationMappingResponse> startNetworkMigrationMapping(Consumer<StartNetworkMigrationMappingRequest.Builder> startNetworkMigrationMappingRequest) Starts the network migration mapping process for a given network migration execution.
This is a convenience which creates an instance of the
StartNetworkMigrationMappingRequest.Builderavoiding the need to create one manually viaStartNetworkMigrationMappingRequest.builder()- Parameters:
startNetworkMigrationMappingRequest- AConsumerthat will call methods onStartNetworkMigrationMappingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartNetworkMigrationMapping operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startNetworkMigrationMappingUpdate
default CompletableFuture<StartNetworkMigrationMappingUpdateResponse> startNetworkMigrationMappingUpdate(StartNetworkMigrationMappingUpdateRequest startNetworkMigrationMappingUpdateRequest) Starts a job to apply customer modifications to network migration mappings, such as changing properties.
- Parameters:
startNetworkMigrationMappingUpdateRequest-- Returns:
- A Java Future containing the result of the StartNetworkMigrationMappingUpdate operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startNetworkMigrationMappingUpdate
default CompletableFuture<StartNetworkMigrationMappingUpdateResponse> startNetworkMigrationMappingUpdate(Consumer<StartNetworkMigrationMappingUpdateRequest.Builder> startNetworkMigrationMappingUpdateRequest) Starts a job to apply customer modifications to network migration mappings, such as changing properties.
This is a convenience which creates an instance of the
StartNetworkMigrationMappingUpdateRequest.Builderavoiding the need to create one manually viaStartNetworkMigrationMappingUpdateRequest.builder()- Parameters:
startNetworkMigrationMappingUpdateRequest- AConsumerthat will call methods onStartNetworkMigrationMappingUpdateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartNetworkMigrationMappingUpdate operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startReplication
default CompletableFuture<StartReplicationResponse> startReplication(StartReplicationRequest startReplicationRequest) Start replication for source server irrespective of its replication type.
- 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.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startReplication
default CompletableFuture<StartReplicationResponse> startReplication(Consumer<StartReplicationRequest.Builder> startReplicationRequest) Start replication for source server irrespective of its replication type.
This is a convenience which creates an instance of the
StartReplicationRequest.Builderavoiding the need to create one manually viaStartReplicationRequest.builder()- Parameters:
startReplicationRequest- AConsumerthat will call methods onStartReplicationRequest.Builderto 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.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startTest
Launches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.
- Parameters:
startTestRequest-- Returns:
- A Java Future containing the result of the StartTest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startTest
default CompletableFuture<StartTestResponse> startTest(Consumer<StartTestRequest.Builder> startTestRequest) Launches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.
This is a convenience which creates an instance of the
StartTestRequest.Builderavoiding the need to create one manually viaStartTestRequest.builder()- Parameters:
startTestRequest- AConsumerthat will call methods onStartTestRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartTest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopReplication
default CompletableFuture<StopReplicationResponse> stopReplication(StopReplicationRequest stopReplicationRequest) Stop Replication.
- Parameters:
stopReplicationRequest-- Returns:
- A Java Future containing the result of the StopReplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopReplication
default CompletableFuture<StopReplicationResponse> stopReplication(Consumer<StopReplicationRequest.Builder> stopReplicationRequest) Stop Replication.
This is a convenience which creates an instance of the
StopReplicationRequest.Builderavoiding the need to create one manually viaStopReplicationRequest.builder()- Parameters:
stopReplicationRequest- AConsumerthat will call methods onStopReplicationRequest.Builderto 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.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- InternalServerException The server encountered an unexpected condition that prevented it from fulfilling the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- InternalServerException The server encountered an unexpected condition that prevented it from fulfilling the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
terminateTargetInstances
default CompletableFuture<TerminateTargetInstancesResponse> terminateTargetInstances(TerminateTargetInstancesRequest terminateTargetInstancesRequest) Starts a job that terminates specific launched EC2 Test and Cutover instances. This command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER.
- Parameters:
terminateTargetInstancesRequest-- Returns:
- A Java Future containing the result of the TerminateTargetInstances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
terminateTargetInstances
default CompletableFuture<TerminateTargetInstancesResponse> terminateTargetInstances(Consumer<TerminateTargetInstancesRequest.Builder> terminateTargetInstancesRequest) Starts a job that terminates specific launched EC2 Test and Cutover instances. This command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER.
This is a convenience which creates an instance of the
TerminateTargetInstancesRequest.Builderavoiding the need to create one manually viaTerminateTargetInstancesRequest.builder()- Parameters:
terminateTargetInstancesRequest- AConsumerthat will call methods onTerminateTargetInstancesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TerminateTargetInstances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
unarchiveApplication
default CompletableFuture<UnarchiveApplicationResponse> unarchiveApplication(UnarchiveApplicationRequest unarchiveApplicationRequest) Unarchive application.
- Parameters:
unarchiveApplicationRequest-- Returns:
- A Java Future containing the result of the UnarchiveApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
unarchiveApplication
default CompletableFuture<UnarchiveApplicationResponse> unarchiveApplication(Consumer<UnarchiveApplicationRequest.Builder> unarchiveApplicationRequest) Unarchive application.
This is a convenience which creates an instance of the
UnarchiveApplicationRequest.Builderavoiding the need to create one manually viaUnarchiveApplicationRequest.builder()- Parameters:
unarchiveApplicationRequest- AConsumerthat will call methods onUnarchiveApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UnarchiveApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
unarchiveWave
default CompletableFuture<UnarchiveWaveResponse> unarchiveWave(UnarchiveWaveRequest unarchiveWaveRequest) Unarchive wave.
- Parameters:
unarchiveWaveRequest-- Returns:
- A Java Future containing the result of the UnarchiveWave operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
unarchiveWave
default CompletableFuture<UnarchiveWaveResponse> unarchiveWave(Consumer<UnarchiveWaveRequest.Builder> unarchiveWaveRequest) Unarchive wave.
This is a convenience which creates an instance of the
UnarchiveWaveRequest.Builderavoiding the need to create one manually viaUnarchiveWaveRequest.builder()- Parameters:
unarchiveWaveRequest- AConsumerthat will call methods onUnarchiveWaveRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UnarchiveWave operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ServiceQuotaExceededException The request could not be completed because its exceeded the service quota.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Deletes the specified set of tags from the specified set of Application Migration Service resources.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- InternalServerException The server encountered an unexpected condition that prevented it from fulfilling the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes the specified set of tags from the specified set of Application Migration Service resources.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException Resource not found exception.
- ThrottlingException Reached throttling quota exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- InternalServerException The server encountered an unexpected condition that prevented it from fulfilling the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplication
default CompletableFuture<UpdateApplicationResponse> updateApplication(UpdateApplicationRequest updateApplicationRequest) Update application.
- Parameters:
updateApplicationRequest-- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplication
default CompletableFuture<UpdateApplicationResponse> updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Update application.
This is a convenience which creates an instance of the
UpdateApplicationRequest.Builderavoiding the need to create one manually viaUpdateApplicationRequest.builder()- Parameters:
updateApplicationRequest- AConsumerthat will call methods onUpdateApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateConnector
default CompletableFuture<UpdateConnectorResponse> updateConnector(UpdateConnectorRequest updateConnectorRequest) Update Connector.
- Parameters:
updateConnectorRequest-- Returns:
- A Java Future containing the result of the UpdateConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateConnector
default CompletableFuture<UpdateConnectorResponse> updateConnector(Consumer<UpdateConnectorRequest.Builder> updateConnectorRequest) Update Connector.
This is a convenience which creates an instance of the
UpdateConnectorRequest.Builderavoiding the need to create one manually viaUpdateConnectorRequest.builder()- Parameters:
updateConnectorRequest- AConsumerthat will call methods onUpdateConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateLaunchConfiguration
default CompletableFuture<UpdateLaunchConfigurationResponse> updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest) Updates multiple LaunchConfigurations by Source Server ID.
bootMode valid values are
LEGACY_BIOS | UEFI- Parameters:
updateLaunchConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateLaunchConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateLaunchConfiguration
default CompletableFuture<UpdateLaunchConfigurationResponse> updateLaunchConfiguration(Consumer<UpdateLaunchConfigurationRequest.Builder> updateLaunchConfigurationRequest) Updates multiple LaunchConfigurations by Source Server ID.
bootMode valid values are
LEGACY_BIOS | UEFI
This is a convenience which creates an instance of the
UpdateLaunchConfigurationRequest.Builderavoiding the need to create one manually viaUpdateLaunchConfigurationRequest.builder()- Parameters:
updateLaunchConfigurationRequest- AConsumerthat will call methods onUpdateLaunchConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateLaunchConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateLaunchConfigurationTemplate
default CompletableFuture<UpdateLaunchConfigurationTemplateResponse> updateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest updateLaunchConfigurationTemplateRequest) Updates an existing Launch Configuration Template by ID.
- Parameters:
updateLaunchConfigurationTemplateRequest-- Returns:
- A Java Future containing the result of the UpdateLaunchConfigurationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateLaunchConfigurationTemplate
default CompletableFuture<UpdateLaunchConfigurationTemplateResponse> updateLaunchConfigurationTemplate(Consumer<UpdateLaunchConfigurationTemplateRequest.Builder> updateLaunchConfigurationTemplateRequest) Updates an existing Launch Configuration Template by ID.
This is a convenience which creates an instance of the
UpdateLaunchConfigurationTemplateRequest.Builderavoiding the need to create one manually viaUpdateLaunchConfigurationTemplateRequest.builder()- Parameters:
updateLaunchConfigurationTemplateRequest- AConsumerthat will call methods onUpdateLaunchConfigurationTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateLaunchConfigurationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateNetworkMigrationDefinition
default CompletableFuture<UpdateNetworkMigrationDefinitionResponse> updateNetworkMigrationDefinition(UpdateNetworkMigrationDefinitionRequest updateNetworkMigrationDefinitionRequest) Updates an existing network migration definition with new source or target configurations.
- Parameters:
updateNetworkMigrationDefinitionRequest-- Returns:
- A Java Future containing the result of the UpdateNetworkMigrationDefinition operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateNetworkMigrationDefinition
default CompletableFuture<UpdateNetworkMigrationDefinitionResponse> updateNetworkMigrationDefinition(Consumer<UpdateNetworkMigrationDefinitionRequest.Builder> updateNetworkMigrationDefinitionRequest) Updates an existing network migration definition with new source or target configurations.
This is a convenience which creates an instance of the
UpdateNetworkMigrationDefinitionRequest.Builderavoiding the need to create one manually viaUpdateNetworkMigrationDefinitionRequest.builder()- Parameters:
updateNetworkMigrationDefinitionRequest- AConsumerthat will call methods onUpdateNetworkMigrationDefinitionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateNetworkMigrationDefinition operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateNetworkMigrationMapperSegment
default CompletableFuture<UpdateNetworkMigrationMapperSegmentResponse> updateNetworkMigrationMapperSegment(UpdateNetworkMigrationMapperSegmentRequest updateNetworkMigrationMapperSegmentRequest) Updates a mapper segment's configuration, such as changing its scope tags.
- Parameters:
updateNetworkMigrationMapperSegmentRequest-- Returns:
- A Java Future containing the result of the UpdateNetworkMigrationMapperSegment operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateNetworkMigrationMapperSegment
default CompletableFuture<UpdateNetworkMigrationMapperSegmentResponse> updateNetworkMigrationMapperSegment(Consumer<UpdateNetworkMigrationMapperSegmentRequest.Builder> updateNetworkMigrationMapperSegmentRequest) Updates a mapper segment's configuration, such as changing its scope tags.
This is a convenience which creates an instance of the
UpdateNetworkMigrationMapperSegmentRequest.Builderavoiding the need to create one manually viaUpdateNetworkMigrationMapperSegmentRequest.builder()- Parameters:
updateNetworkMigrationMapperSegmentRequest- AConsumerthat will call methods onUpdateNetworkMigrationMapperSegmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateNetworkMigrationMapperSegment operation returned by the
service.
The CompletableFuture returned by this method can be 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 Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateReplicationConfiguration
default CompletableFuture<UpdateReplicationConfigurationResponse> updateReplicationConfiguration(UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest) Allows you to update multiple ReplicationConfigurations by Source Server ID.
- Parameters:
updateReplicationConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateReplicationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateReplicationConfiguration
default CompletableFuture<UpdateReplicationConfigurationResponse> updateReplicationConfiguration(Consumer<UpdateReplicationConfigurationRequest.Builder> updateReplicationConfigurationRequest) Allows you to update multiple ReplicationConfigurations by Source Server ID.
This is a convenience which creates an instance of the
UpdateReplicationConfigurationRequest.Builderavoiding the need to create one manually viaUpdateReplicationConfigurationRequest.builder()- Parameters:
updateReplicationConfigurationRequest- AConsumerthat will call methods onUpdateReplicationConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateReplicationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateReplicationConfigurationTemplate
default CompletableFuture<UpdateReplicationConfigurationTemplateResponse> updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest) Updates multiple ReplicationConfigurationTemplates by ID.
- Parameters:
updateReplicationConfigurationTemplateRequest-- Returns:
- A Java Future containing the result of the UpdateReplicationConfigurationTemplate operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateReplicationConfigurationTemplate
default CompletableFuture<UpdateReplicationConfigurationTemplateResponse> updateReplicationConfigurationTemplate(Consumer<UpdateReplicationConfigurationTemplateRequest.Builder> updateReplicationConfigurationTemplateRequest) Updates multiple ReplicationConfigurationTemplates by ID.
This is a convenience which creates an instance of the
UpdateReplicationConfigurationTemplateRequest.Builderavoiding the need to create one manually viaUpdateReplicationConfigurationTemplateRequest.builder()- Parameters:
updateReplicationConfigurationTemplateRequest- AConsumerthat will call methods onUpdateReplicationConfigurationTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateReplicationConfigurationTemplate operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- AccessDeniedException Operating denied due to a file permission or access check error.
- ValidationException Validate exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSourceServer
default CompletableFuture<UpdateSourceServerResponse> updateSourceServer(UpdateSourceServerRequest updateSourceServerRequest) Update Source Server.
- Parameters:
updateSourceServerRequest-- Returns:
- A Java Future containing the result of the UpdateSourceServer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSourceServer
default CompletableFuture<UpdateSourceServerResponse> updateSourceServer(Consumer<UpdateSourceServerRequest.Builder> updateSourceServerRequest) Update Source Server.
This is a convenience which creates an instance of the
UpdateSourceServerRequest.Builderavoiding the need to create one manually viaUpdateSourceServerRequest.builder()- Parameters:
updateSourceServerRequest- AConsumerthat will call methods onUpdateSourceServerRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateSourceServer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSourceServerReplicationType
default CompletableFuture<UpdateSourceServerReplicationTypeResponse> updateSourceServerReplicationType(UpdateSourceServerReplicationTypeRequest updateSourceServerReplicationTypeRequest) Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.
SNAPSHOT_SHIPPING should be used for agentless replication.
- Parameters:
updateSourceServerReplicationTypeRequest-- Returns:
- A Java Future containing the result of the UpdateSourceServerReplicationType operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSourceServerReplicationType
default CompletableFuture<UpdateSourceServerReplicationTypeResponse> updateSourceServerReplicationType(Consumer<UpdateSourceServerReplicationTypeRequest.Builder> updateSourceServerReplicationTypeRequest) Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.
SNAPSHOT_SHIPPING should be used for agentless replication.
This is a convenience which creates an instance of the
UpdateSourceServerReplicationTypeRequest.Builderavoiding the need to create one manually viaUpdateSourceServerReplicationTypeRequest.builder()- Parameters:
updateSourceServerReplicationTypeRequest- AConsumerthat will call methods onUpdateSourceServerReplicationTypeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateSourceServerReplicationType operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ValidationException Validate exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateWave
Update wave.
- Parameters:
updateWaveRequest-- Returns:
- A Java Future containing the result of the UpdateWave operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateWave
default CompletableFuture<UpdateWaveResponse> updateWave(Consumer<UpdateWaveRequest.Builder> updateWaveRequest) Update wave.
This is a convenience which creates an instance of the
UpdateWaveRequest.Builderavoiding the need to create one manually viaUpdateWaveRequest.builder()- Parameters:
updateWaveRequest- AConsumerthat will call methods onUpdateWaveRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateWave operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UninitializedAccountException Uninitialized account exception.
- ResourceNotFoundException Resource not found exception.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MgnException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aMgnAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aMgnAsyncClient.
-