@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface MgnClient extends AwsClient
builder() method.
The Application Migration Service service.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default ArchiveApplicationResponse |
archiveApplication(ArchiveApplicationRequest archiveApplicationRequest)
Archive application.
|
default ArchiveApplicationResponse |
archiveApplication(Consumer<ArchiveApplicationRequest.Builder> archiveApplicationRequest)
Archive application.
|
default ArchiveWaveResponse |
archiveWave(ArchiveWaveRequest archiveWaveRequest)
Archive wave.
|
default ArchiveWaveResponse |
archiveWave(Consumer<ArchiveWaveRequest.Builder> archiveWaveRequest)
Archive wave.
|
default AssociateApplicationsResponse |
associateApplications(AssociateApplicationsRequest associateApplicationsRequest)
Associate applications to wave.
|
default AssociateApplicationsResponse |
associateApplications(Consumer<AssociateApplicationsRequest.Builder> associateApplicationsRequest)
Associate applications to wave.
|
default AssociateSourceServersResponse |
associateSourceServers(AssociateSourceServersRequest associateSourceServersRequest)
Associate source servers to application.
|
default AssociateSourceServersResponse |
associateSourceServers(Consumer<AssociateSourceServersRequest.Builder> associateSourceServersRequest)
Associate source servers to application.
|
static MgnClientBuilder |
builder()
Create a builder that can be used to configure and create a
MgnClient. |
default 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.
|
default 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.
|
static MgnClient |
create()
Create a
MgnClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateApplicationResponse |
createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)
Create application.
|
default CreateApplicationResponse |
createApplication(CreateApplicationRequest createApplicationRequest)
Create application.
|
default CreateLaunchConfigurationTemplateResponse |
createLaunchConfigurationTemplate(Consumer<CreateLaunchConfigurationTemplateRequest.Builder> createLaunchConfigurationTemplateRequest)
Creates a new Launch Configuration Template.
|
default CreateLaunchConfigurationTemplateResponse |
createLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest createLaunchConfigurationTemplateRequest)
Creates a new Launch Configuration Template.
|
default CreateReplicationConfigurationTemplateResponse |
createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest)
Creates a new ReplicationConfigurationTemplate.
|
default CreateReplicationConfigurationTemplateResponse |
createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest)
Creates a new ReplicationConfigurationTemplate.
|
default CreateWaveResponse |
createWave(Consumer<CreateWaveRequest.Builder> createWaveRequest)
Create wave.
|
default CreateWaveResponse |
createWave(CreateWaveRequest createWaveRequest)
Create wave.
|
default DeleteApplicationResponse |
deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)
Delete application.
|
default DeleteApplicationResponse |
deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Delete application.
|
default DeleteJobResponse |
deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest)
Deletes a single Job by ID.
|
default DeleteJobResponse |
deleteJob(DeleteJobRequest deleteJobRequest)
Deletes a single Job by ID.
|
default DeleteLaunchConfigurationTemplateResponse |
deleteLaunchConfigurationTemplate(Consumer<DeleteLaunchConfigurationTemplateRequest.Builder> deleteLaunchConfigurationTemplateRequest)
Deletes a single Launch Configuration Template by ID.
|
default DeleteLaunchConfigurationTemplateResponse |
deleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest deleteLaunchConfigurationTemplateRequest)
Deletes a single Launch Configuration Template by ID.
|
default DeleteReplicationConfigurationTemplateResponse |
deleteReplicationConfigurationTemplate(Consumer<DeleteReplicationConfigurationTemplateRequest.Builder> deleteReplicationConfigurationTemplateRequest)
Deletes a single Replication Configuration Template by ID
|
default DeleteReplicationConfigurationTemplateResponse |
deleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest)
Deletes a single Replication Configuration Template by ID
|
default DeleteSourceServerResponse |
deleteSourceServer(Consumer<DeleteSourceServerRequest.Builder> deleteSourceServerRequest)
Deletes a single source server by ID.
|
default DeleteSourceServerResponse |
deleteSourceServer(DeleteSourceServerRequest deleteSourceServerRequest)
Deletes a single source server by ID.
|
default DeleteVcenterClientResponse |
deleteVcenterClient(Consumer<DeleteVcenterClientRequest.Builder> deleteVcenterClientRequest)
Deletes a given vCenter client by ID.
|
default DeleteVcenterClientResponse |
deleteVcenterClient(DeleteVcenterClientRequest deleteVcenterClientRequest)
Deletes a given vCenter client by ID.
|
default DeleteWaveResponse |
deleteWave(Consumer<DeleteWaveRequest.Builder> deleteWaveRequest)
Delete wave.
|
default DeleteWaveResponse |
deleteWave(DeleteWaveRequest deleteWaveRequest)
Delete wave.
|
default DescribeJobLogItemsResponse |
describeJobLogItems(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest)
Retrieves detailed job log items with paging.
|
default DescribeJobLogItemsResponse |
describeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest)
Retrieves detailed job log items with paging.
|
default DescribeJobLogItemsIterable |
describeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest)
Retrieves detailed job log items with paging.
|
default DescribeJobLogItemsIterable |
describeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest)
Retrieves detailed job log items with paging.
|
default DescribeJobsResponse |
describeJobs(Consumer<DescribeJobsRequest.Builder> describeJobsRequest)
Returns a list of Jobs.
|
default DescribeJobsResponse |
describeJobs(DescribeJobsRequest describeJobsRequest)
Returns a list of Jobs.
|
default DescribeJobsIterable |
describeJobsPaginator(Consumer<DescribeJobsRequest.Builder> describeJobsRequest)
Returns a list of Jobs.
|
default DescribeJobsIterable |
describeJobsPaginator(DescribeJobsRequest describeJobsRequest)
Returns a list of Jobs.
|
default DescribeLaunchConfigurationTemplatesResponse |
describeLaunchConfigurationTemplates(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest)
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
|
default DescribeLaunchConfigurationTemplatesResponse |
describeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest)
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
|
default DescribeLaunchConfigurationTemplatesIterable |
describeLaunchConfigurationTemplatesPaginator(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest)
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
|
default DescribeLaunchConfigurationTemplatesIterable |
describeLaunchConfigurationTemplatesPaginator(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest)
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
|
default DescribeReplicationConfigurationTemplatesResponse |
describeReplicationConfigurationTemplates(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
|
default DescribeReplicationConfigurationTemplatesResponse |
describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
|
default DescribeReplicationConfigurationTemplatesIterable |
describeReplicationConfigurationTemplatesPaginator(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
|
default DescribeReplicationConfigurationTemplatesIterable |
describeReplicationConfigurationTemplatesPaginator(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
|
default DescribeSourceServersResponse |
describeSourceServers(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest)
Retrieves all SourceServers or multiple SourceServers by ID.
|
default DescribeSourceServersResponse |
describeSourceServers(DescribeSourceServersRequest describeSourceServersRequest)
Retrieves all SourceServers or multiple SourceServers by ID.
|
default DescribeSourceServersIterable |
describeSourceServersPaginator(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest)
Retrieves all SourceServers or multiple SourceServers by ID.
|
default DescribeSourceServersIterable |
describeSourceServersPaginator(DescribeSourceServersRequest describeSourceServersRequest)
Retrieves all SourceServers or multiple SourceServers by ID.
|
default DescribeVcenterClientsResponse |
describeVcenterClients(Consumer<DescribeVcenterClientsRequest.Builder> describeVcenterClientsRequest)
Returns a list of the installed vCenter clients.
|
default DescribeVcenterClientsResponse |
describeVcenterClients(DescribeVcenterClientsRequest describeVcenterClientsRequest)
Returns a list of the installed vCenter clients.
|
default DescribeVcenterClientsIterable |
describeVcenterClientsPaginator(Consumer<DescribeVcenterClientsRequest.Builder> describeVcenterClientsRequest)
Returns a list of the installed vCenter clients.
|
default DescribeVcenterClientsIterable |
describeVcenterClientsPaginator(DescribeVcenterClientsRequest describeVcenterClientsRequest)
Returns a list of the installed vCenter clients.
|
default DisassociateApplicationsResponse |
disassociateApplications(Consumer<DisassociateApplicationsRequest.Builder> disassociateApplicationsRequest)
Disassociate applications from wave.
|
default DisassociateApplicationsResponse |
disassociateApplications(DisassociateApplicationsRequest disassociateApplicationsRequest)
Disassociate applications from wave.
|
default DisassociateSourceServersResponse |
disassociateSourceServers(Consumer<DisassociateSourceServersRequest.Builder> disassociateSourceServersRequest)
Disassociate source servers from application.
|
default DisassociateSourceServersResponse |
disassociateSourceServers(DisassociateSourceServersRequest disassociateSourceServersRequest)
Disassociate source servers from application.
|
default DisconnectFromServiceResponse |
disconnectFromService(Consumer<DisconnectFromServiceRequest.Builder> disconnectFromServiceRequest)
Disconnects specific Source Servers from Application Migration Service.
|
default DisconnectFromServiceResponse |
disconnectFromService(DisconnectFromServiceRequest disconnectFromServiceRequest)
Disconnects specific Source Servers from Application Migration Service.
|
default FinalizeCutoverResponse |
finalizeCutover(Consumer<FinalizeCutoverRequest.Builder> finalizeCutoverRequest)
Finalizes the cutover immediately for specific Source Servers.
|
default FinalizeCutoverResponse |
finalizeCutover(FinalizeCutoverRequest finalizeCutoverRequest)
Finalizes the cutover immediately for specific Source Servers.
|
default GetLaunchConfigurationResponse |
getLaunchConfiguration(Consumer<GetLaunchConfigurationRequest.Builder> getLaunchConfigurationRequest)
Lists all LaunchConfigurations available, filtered by Source Server IDs.
|
default GetLaunchConfigurationResponse |
getLaunchConfiguration(GetLaunchConfigurationRequest getLaunchConfigurationRequest)
Lists all LaunchConfigurations available, filtered by Source Server IDs.
|
default GetReplicationConfigurationResponse |
getReplicationConfiguration(Consumer<GetReplicationConfigurationRequest.Builder> getReplicationConfigurationRequest)
Lists all ReplicationConfigurations, filtered by Source Server ID.
|
default GetReplicationConfigurationResponse |
getReplicationConfiguration(GetReplicationConfigurationRequest getReplicationConfigurationRequest)
Lists all ReplicationConfigurations, filtered by Source Server ID.
|
default InitializeServiceResponse |
initializeService(Consumer<InitializeServiceRequest.Builder> initializeServiceRequest)
Initialize Application Migration Service.
|
default InitializeServiceResponse |
initializeService(InitializeServiceRequest initializeServiceRequest)
Initialize Application Migration Service.
|
default ListApplicationsResponse |
listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Retrieves all applications or multiple applications by ID.
|
default ListApplicationsResponse |
listApplications(ListApplicationsRequest listApplicationsRequest)
Retrieves all applications or multiple applications by ID.
|
default ListApplicationsIterable |
listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Retrieves all applications or multiple applications by ID.
|
default ListApplicationsIterable |
listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)
Retrieves all applications or multiple applications by ID.
|
default ListExportErrorsResponse |
listExportErrors(Consumer<ListExportErrorsRequest.Builder> listExportErrorsRequest)
List export errors.
|
default ListExportErrorsResponse |
listExportErrors(ListExportErrorsRequest listExportErrorsRequest)
List export errors.
|
default ListExportErrorsIterable |
listExportErrorsPaginator(Consumer<ListExportErrorsRequest.Builder> listExportErrorsRequest)
List export errors.
|
default ListExportErrorsIterable |
listExportErrorsPaginator(ListExportErrorsRequest listExportErrorsRequest)
List export errors.
|
default ListExportsResponse |
listExports(Consumer<ListExportsRequest.Builder> listExportsRequest)
List exports.
|
default ListExportsResponse |
listExports(ListExportsRequest listExportsRequest)
List exports.
|
default ListExportsIterable |
listExportsPaginator(Consumer<ListExportsRequest.Builder> listExportsRequest)
List exports.
|
default ListExportsIterable |
listExportsPaginator(ListExportsRequest listExportsRequest)
List exports.
|
default ListImportErrorsResponse |
listImportErrors(Consumer<ListImportErrorsRequest.Builder> listImportErrorsRequest)
List import errors.
|
default ListImportErrorsResponse |
listImportErrors(ListImportErrorsRequest listImportErrorsRequest)
List import errors.
|
default ListImportErrorsIterable |
listImportErrorsPaginator(Consumer<ListImportErrorsRequest.Builder> listImportErrorsRequest)
List import errors.
|
default ListImportErrorsIterable |
listImportErrorsPaginator(ListImportErrorsRequest listImportErrorsRequest)
List import errors.
|
default ListImportsResponse |
listImports(Consumer<ListImportsRequest.Builder> listImportsRequest)
List imports.
|
default ListImportsResponse |
listImports(ListImportsRequest listImportsRequest)
List imports.
|
default ListImportsIterable |
listImportsPaginator(Consumer<ListImportsRequest.Builder> listImportsRequest)
List imports.
|
default ListImportsIterable |
listImportsPaginator(ListImportsRequest listImportsRequest)
List imports.
|
default ListManagedAccountsResponse |
listManagedAccounts(Consumer<ListManagedAccountsRequest.Builder> listManagedAccountsRequest)
List Managed Accounts.
|
default ListManagedAccountsResponse |
listManagedAccounts(ListManagedAccountsRequest listManagedAccountsRequest)
List Managed Accounts.
|
default ListManagedAccountsIterable |
listManagedAccountsPaginator(Consumer<ListManagedAccountsRequest.Builder> listManagedAccountsRequest)
List Managed Accounts.
|
default ListManagedAccountsIterable |
listManagedAccountsPaginator(ListManagedAccountsRequest listManagedAccountsRequest)
List Managed Accounts.
|
default ListSourceServerActionsResponse |
listSourceServerActions(Consumer<ListSourceServerActionsRequest.Builder> listSourceServerActionsRequest)
List source server post migration custom actions.
|
default ListSourceServerActionsResponse |
listSourceServerActions(ListSourceServerActionsRequest listSourceServerActionsRequest)
List source server post migration custom actions.
|
default ListSourceServerActionsIterable |
listSourceServerActionsPaginator(Consumer<ListSourceServerActionsRequest.Builder> listSourceServerActionsRequest)
List source server post migration custom actions.
|
default ListSourceServerActionsIterable |
listSourceServerActionsPaginator(ListSourceServerActionsRequest listSourceServerActionsRequest)
List source server post migration custom actions.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
List all tags for your Application Migration Service resources.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
List all tags for your Application Migration Service resources.
|
default ListTemplateActionsResponse |
listTemplateActions(Consumer<ListTemplateActionsRequest.Builder> listTemplateActionsRequest)
List template post migration custom actions.
|
default ListTemplateActionsResponse |
listTemplateActions(ListTemplateActionsRequest listTemplateActionsRequest)
List template post migration custom actions.
|
default ListTemplateActionsIterable |
listTemplateActionsPaginator(Consumer<ListTemplateActionsRequest.Builder> listTemplateActionsRequest)
List template post migration custom actions.
|
default ListTemplateActionsIterable |
listTemplateActionsPaginator(ListTemplateActionsRequest listTemplateActionsRequest)
List template post migration custom actions.
|
default ListWavesResponse |
listWaves(Consumer<ListWavesRequest.Builder> listWavesRequest)
Retrieves all waves or multiple waves by ID.
|
default ListWavesResponse |
listWaves(ListWavesRequest listWavesRequest)
Retrieves all waves or multiple waves by ID.
|
default ListWavesIterable |
listWavesPaginator(Consumer<ListWavesRequest.Builder> listWavesRequest)
Retrieves all waves or multiple waves by ID.
|
default ListWavesIterable |
listWavesPaginator(ListWavesRequest listWavesRequest)
Retrieves all waves or multiple waves by ID.
|
default MarkAsArchivedResponse |
markAsArchived(Consumer<MarkAsArchivedRequest.Builder> markAsArchivedRequest)
Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified
SourceServers by ID.
|
default MarkAsArchivedResponse |
markAsArchived(MarkAsArchivedRequest markAsArchivedRequest)
Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified
SourceServers by ID.
|
default PauseReplicationResponse |
pauseReplication(Consumer<PauseReplicationRequest.Builder> pauseReplicationRequest)
Pause Replication.
|
default PauseReplicationResponse |
pauseReplication(PauseReplicationRequest pauseReplicationRequest)
Pause Replication.
|
default PutSourceServerActionResponse |
putSourceServerAction(Consumer<PutSourceServerActionRequest.Builder> putSourceServerActionRequest)
Put source server post migration custom action.
|
default PutSourceServerActionResponse |
putSourceServerAction(PutSourceServerActionRequest putSourceServerActionRequest)
Put source server post migration custom action.
|
default PutTemplateActionResponse |
putTemplateAction(Consumer<PutTemplateActionRequest.Builder> putTemplateActionRequest)
Put template post migration custom action.
|
default PutTemplateActionResponse |
putTemplateAction(PutTemplateActionRequest putTemplateActionRequest)
Put template post migration custom action.
|
default RemoveSourceServerActionResponse |
removeSourceServerAction(Consumer<RemoveSourceServerActionRequest.Builder> removeSourceServerActionRequest)
Remove source server post migration custom action.
|
default RemoveSourceServerActionResponse |
removeSourceServerAction(RemoveSourceServerActionRequest removeSourceServerActionRequest)
Remove source server post migration custom action.
|
default RemoveTemplateActionResponse |
removeTemplateAction(Consumer<RemoveTemplateActionRequest.Builder> removeTemplateActionRequest)
Remove template post migration custom action.
|
default RemoveTemplateActionResponse |
removeTemplateAction(RemoveTemplateActionRequest removeTemplateActionRequest)
Remove template post migration custom action.
|
default ResumeReplicationResponse |
resumeReplication(Consumer<ResumeReplicationRequest.Builder> resumeReplicationRequest)
Resume Replication.
|
default ResumeReplicationResponse |
resumeReplication(ResumeReplicationRequest resumeReplicationRequest)
Resume Replication.
|
default 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.
|
default 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.
|
default MgnServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default StartCutoverResponse |
startCutover(Consumer<StartCutoverRequest.Builder> startCutoverRequest)
Launches a Cutover Instance for specific Source Servers.
|
default StartCutoverResponse |
startCutover(StartCutoverRequest startCutoverRequest)
Launches a Cutover Instance for specific Source Servers.
|
default StartExportResponse |
startExport(Consumer<StartExportRequest.Builder> startExportRequest)
Start export.
|
default StartExportResponse |
startExport(StartExportRequest startExportRequest)
Start export.
|
default StartImportResponse |
startImport(Consumer<StartImportRequest.Builder> startImportRequest)
Start import.
|
default StartImportResponse |
startImport(StartImportRequest startImportRequest)
Start import.
|
default StartReplicationResponse |
startReplication(Consumer<StartReplicationRequest.Builder> startReplicationRequest)
Starts replication for SNAPSHOT_SHIPPING agents.
|
default StartReplicationResponse |
startReplication(StartReplicationRequest startReplicationRequest)
Starts replication for SNAPSHOT_SHIPPING agents.
|
default StartTestResponse |
startTest(Consumer<StartTestRequest.Builder> startTestRequest)
Launches a Test Instance for specific Source Servers.
|
default StartTestResponse |
startTest(StartTestRequest startTestRequest)
Launches a Test Instance for specific Source Servers.
|
default StopReplicationResponse |
stopReplication(Consumer<StopReplicationRequest.Builder> stopReplicationRequest)
Stop Replication.
|
default StopReplicationResponse |
stopReplication(StopReplicationRequest stopReplicationRequest)
Stop Replication.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources.
|
default TerminateTargetInstancesResponse |
terminateTargetInstances(Consumer<TerminateTargetInstancesRequest.Builder> terminateTargetInstancesRequest)
Starts a job that terminates specific launched EC2 Test and Cutover instances.
|
default TerminateTargetInstancesResponse |
terminateTargetInstances(TerminateTargetInstancesRequest terminateTargetInstancesRequest)
Starts a job that terminates specific launched EC2 Test and Cutover instances.
|
default UnarchiveApplicationResponse |
unarchiveApplication(Consumer<UnarchiveApplicationRequest.Builder> unarchiveApplicationRequest)
Unarchive application.
|
default UnarchiveApplicationResponse |
unarchiveApplication(UnarchiveApplicationRequest unarchiveApplicationRequest)
Unarchive application.
|
default UnarchiveWaveResponse |
unarchiveWave(Consumer<UnarchiveWaveRequest.Builder> unarchiveWaveRequest)
Unarchive wave.
|
default UnarchiveWaveResponse |
unarchiveWave(UnarchiveWaveRequest unarchiveWaveRequest)
Unarchive wave.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Deletes the specified set of tags from the specified set of Application Migration Service resources.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Deletes the specified set of tags from the specified set of Application Migration Service resources.
|
default UpdateApplicationResponse |
updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
Update application.
|
default UpdateApplicationResponse |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Update application.
|
default UpdateLaunchConfigurationResponse |
updateLaunchConfiguration(Consumer<UpdateLaunchConfigurationRequest.Builder> updateLaunchConfigurationRequest)
Updates multiple LaunchConfigurations by Source Server ID.
|
default UpdateLaunchConfigurationResponse |
updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest)
Updates multiple LaunchConfigurations by Source Server ID.
|
default UpdateLaunchConfigurationTemplateResponse |
updateLaunchConfigurationTemplate(Consumer<UpdateLaunchConfigurationTemplateRequest.Builder> updateLaunchConfigurationTemplateRequest)
Updates an existing Launch Configuration Template by ID.
|
default UpdateLaunchConfigurationTemplateResponse |
updateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest updateLaunchConfigurationTemplateRequest)
Updates an existing Launch Configuration Template by ID.
|
default UpdateReplicationConfigurationResponse |
updateReplicationConfiguration(Consumer<UpdateReplicationConfigurationRequest.Builder> updateReplicationConfigurationRequest)
Allows you to update multiple ReplicationConfigurations by Source Server ID.
|
default UpdateReplicationConfigurationResponse |
updateReplicationConfiguration(UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest)
Allows you to update multiple ReplicationConfigurations by Source Server ID.
|
default UpdateReplicationConfigurationTemplateResponse |
updateReplicationConfigurationTemplate(Consumer<UpdateReplicationConfigurationTemplateRequest.Builder> updateReplicationConfigurationTemplateRequest)
Updates multiple ReplicationConfigurationTemplates by ID.
|
default UpdateReplicationConfigurationTemplateResponse |
updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest)
Updates multiple ReplicationConfigurationTemplates by ID.
|
default UpdateSourceServerReplicationTypeResponse |
updateSourceServerReplicationType(Consumer<UpdateSourceServerReplicationTypeRequest.Builder> updateSourceServerReplicationTypeRequest)
Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.
|
default UpdateSourceServerReplicationTypeResponse |
updateSourceServerReplicationType(UpdateSourceServerReplicationTypeRequest updateSourceServerReplicationTypeRequest)
Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.
|
default UpdateWaveResponse |
updateWave(Consumer<UpdateWaveRequest.Builder> updateWaveRequest)
Update wave.
|
default UpdateWaveResponse |
updateWave(UpdateWaveRequest updateWaveRequest)
Update wave.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default ArchiveApplicationResponse archiveApplication(ArchiveApplicationRequest archiveApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Archive application.
archiveApplicationRequest - 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.AwsServiceExceptiondefault ArchiveApplicationResponse archiveApplication(Consumer<ArchiveApplicationRequest.Builder> archiveApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Archive application.
This is a convenience which creates an instance of the ArchiveApplicationRequest.Builder avoiding the
need to create one manually via ArchiveApplicationRequest.builder()
archiveApplicationRequest - A Consumer that will call methods on
ArchiveApplicationRequest.Builder to create a request.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.AwsServiceExceptiondefault ArchiveWaveResponse archiveWave(ArchiveWaveRequest archiveWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Archive wave.
archiveWaveRequest - 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.AwsServiceExceptiondefault ArchiveWaveResponse archiveWave(Consumer<ArchiveWaveRequest.Builder> archiveWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Archive wave.
This is a convenience which creates an instance of the ArchiveWaveRequest.Builder avoiding the need to
create one manually via ArchiveWaveRequest.builder()
archiveWaveRequest - A Consumer that will call methods on
ArchiveWaveRequest.Builder to create a request.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.AwsServiceExceptiondefault AssociateApplicationsResponse associateApplications(AssociateApplicationsRequest associateApplicationsRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Associate applications to wave.
associateApplicationsRequest - 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.AwsServiceExceptiondefault AssociateApplicationsResponse associateApplications(Consumer<AssociateApplicationsRequest.Builder> associateApplicationsRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Associate applications to wave.
This is a convenience which creates an instance of the AssociateApplicationsRequest.Builder avoiding the
need to create one manually via AssociateApplicationsRequest.builder()
associateApplicationsRequest - A Consumer that will call methods on
AssociateApplicationsRequest.Builder to create a
request.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.AwsServiceExceptiondefault AssociateSourceServersResponse associateSourceServers(AssociateSourceServersRequest associateSourceServersRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Associate source servers to application.
associateSourceServersRequest - 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.AwsServiceExceptiondefault AssociateSourceServersResponse associateSourceServers(Consumer<AssociateSourceServersRequest.Builder> associateSourceServersRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Associate source servers to application.
This is a convenience which creates an instance of the AssociateSourceServersRequest.Builder avoiding the
need to create one manually via AssociateSourceServersRequest.builder()
associateSourceServersRequest - A Consumer that will call methods on
AssociateSourceServersRequest.Builder to create a
request.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.AwsServiceExceptiondefault ChangeServerLifeCycleStateResponse changeServerLifeCycleState(ChangeServerLifeCycleStateRequest changeServerLifeCycleStateRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
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.)
changeServerLifeCycleStateRequest - 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.AwsServiceExceptiondefault ChangeServerLifeCycleStateResponse changeServerLifeCycleState(Consumer<ChangeServerLifeCycleStateRequest.Builder> changeServerLifeCycleStateRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
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.Builder avoiding
the need to create one manually via ChangeServerLifeCycleStateRequest.builder()
changeServerLifeCycleStateRequest - A Consumer that will call methods on
ChangeServerLifeCycleStateRequest.Builder to create a
request.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.AwsServiceExceptiondefault CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws UninitializedAccountException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Create application.
createApplicationRequest - 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.AwsServiceExceptiondefault CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws UninitializedAccountException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Create application.
This is a convenience which creates an instance of the CreateApplicationRequest.Builder avoiding the need
to create one manually via CreateApplicationRequest.builder()
createApplicationRequest - A Consumer that will call methods on
CreateApplicationRequest.Builder to create a request.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.AwsServiceExceptiondefault CreateLaunchConfigurationTemplateResponse createLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest createLaunchConfigurationTemplateRequest) throws UninitializedAccountException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException
Creates a new Launch Configuration Template.
createLaunchConfigurationTemplateRequest - UninitializedAccountException - Uninitialized account exception.ValidationException - Validate 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.AwsServiceExceptiondefault CreateLaunchConfigurationTemplateResponse createLaunchConfigurationTemplate(Consumer<CreateLaunchConfigurationTemplateRequest.Builder> createLaunchConfigurationTemplateRequest) throws UninitializedAccountException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException
Creates a new Launch Configuration Template.
This is a convenience which creates an instance of the CreateLaunchConfigurationTemplateRequest.Builder
avoiding the need to create one manually via CreateLaunchConfigurationTemplateRequest.builder()
createLaunchConfigurationTemplateRequest - A Consumer that will call methods on
CreateLaunchConfigurationTemplateRequest.Builder to
create a request.UninitializedAccountException - Uninitialized account exception.ValidationException - Validate 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.AwsServiceExceptiondefault CreateReplicationConfigurationTemplateResponse createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException
Creates a new ReplicationConfigurationTemplate.
createReplicationConfigurationTemplateRequest - UninitializedAccountException - Uninitialized account exception.ValidationException - Validate 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.AwsServiceExceptiondefault CreateReplicationConfigurationTemplateResponse createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException
Creates a new ReplicationConfigurationTemplate.
This is a convenience which creates an instance of the
CreateReplicationConfigurationTemplateRequest.Builder avoiding the need to create one manually via
CreateReplicationConfigurationTemplateRequest.builder()
createReplicationConfigurationTemplateRequest - A Consumer that will call methods on
CreateReplicationConfigurationTemplateRequest.Builder to
create a request.UninitializedAccountException - Uninitialized account exception.ValidationException - Validate 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.AwsServiceExceptiondefault CreateWaveResponse createWave(CreateWaveRequest createWaveRequest) throws UninitializedAccountException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Create wave.
createWaveRequest - 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.AwsServiceExceptiondefault CreateWaveResponse createWave(Consumer<CreateWaveRequest.Builder> createWaveRequest) throws UninitializedAccountException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Create wave.
This is a convenience which creates an instance of the CreateWaveRequest.Builder avoiding the need to
create one manually via CreateWaveRequest.builder()
createWaveRequest - A Consumer that will call methods on
CreateWaveRequest.Builder to create a request.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.AwsServiceExceptiondefault DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Delete application.
deleteApplicationRequest - 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.AwsServiceExceptiondefault DeleteApplicationResponse deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Delete application.
This is a convenience which creates an instance of the DeleteApplicationRequest.Builder avoiding the need
to create one manually via DeleteApplicationRequest.builder()
deleteApplicationRequest - A Consumer that will call methods on
DeleteApplicationRequest.Builder to create a request.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.AwsServiceExceptiondefault DeleteJobResponse deleteJob(DeleteJobRequest deleteJobRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Deletes a single Job by ID.
deleteJobRequest - 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.AwsServiceExceptiondefault DeleteJobResponse deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Deletes a single Job by ID.
This is a convenience which creates an instance of the DeleteJobRequest.Builder avoiding the need to
create one manually via DeleteJobRequest.builder()
deleteJobRequest - A Consumer that will call methods on
DeleteJobRequest.Builder to create a request.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.AwsServiceExceptiondefault DeleteLaunchConfigurationTemplateResponse deleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest deleteLaunchConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Deletes a single Launch Configuration Template by ID.
deleteLaunchConfigurationTemplateRequest - 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.AwsServiceExceptiondefault DeleteLaunchConfigurationTemplateResponse deleteLaunchConfigurationTemplate(Consumer<DeleteLaunchConfigurationTemplateRequest.Builder> deleteLaunchConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Deletes a single Launch Configuration Template by ID.
This is a convenience which creates an instance of the DeleteLaunchConfigurationTemplateRequest.Builder
avoiding the need to create one manually via DeleteLaunchConfigurationTemplateRequest.builder()
deleteLaunchConfigurationTemplateRequest - A Consumer that will call methods on
DeleteLaunchConfigurationTemplateRequest.Builder to
create a request.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.AwsServiceExceptiondefault DeleteReplicationConfigurationTemplateResponse deleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest deleteReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Deletes a single Replication Configuration Template by ID
deleteReplicationConfigurationTemplateRequest - 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.AwsServiceExceptiondefault DeleteReplicationConfigurationTemplateResponse deleteReplicationConfigurationTemplate(Consumer<DeleteReplicationConfigurationTemplateRequest.Builder> deleteReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Deletes a single Replication Configuration Template by ID
This is a convenience which creates an instance of the
DeleteReplicationConfigurationTemplateRequest.Builder avoiding the need to create one manually via
DeleteReplicationConfigurationTemplateRequest.builder()
deleteReplicationConfigurationTemplateRequest - A Consumer that will call methods on
DeleteReplicationConfigurationTemplateRequest.Builder to
create a request.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.AwsServiceExceptiondefault DeleteSourceServerResponse deleteSourceServer(DeleteSourceServerRequest deleteSourceServerRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Deletes a single source server by ID.
deleteSourceServerRequest - 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.AwsServiceExceptiondefault DeleteSourceServerResponse deleteSourceServer(Consumer<DeleteSourceServerRequest.Builder> deleteSourceServerRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Deletes a single source server by ID.
This is a convenience which creates an instance of the DeleteSourceServerRequest.Builder avoiding the
need to create one manually via DeleteSourceServerRequest.builder()
deleteSourceServerRequest - A Consumer that will call methods on
DeleteSourceServerRequest.Builder to create a request.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.AwsServiceExceptiondefault DeleteVcenterClientResponse deleteVcenterClient(DeleteVcenterClientRequest deleteVcenterClientRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Deletes a given vCenter client by ID.
deleteVcenterClientRequest - 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.AwsServiceExceptiondefault DeleteVcenterClientResponse deleteVcenterClient(Consumer<DeleteVcenterClientRequest.Builder> deleteVcenterClientRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Deletes a given vCenter client by ID.
This is a convenience which creates an instance of the DeleteVcenterClientRequest.Builder avoiding the
need to create one manually via DeleteVcenterClientRequest.builder()
deleteVcenterClientRequest - A Consumer that will call methods on
DeleteVcenterClientRequest.Builder to create a request.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.AwsServiceExceptiondefault DeleteWaveResponse deleteWave(DeleteWaveRequest deleteWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Delete wave.
deleteWaveRequest - 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.AwsServiceExceptiondefault DeleteWaveResponse deleteWave(Consumer<DeleteWaveRequest.Builder> deleteWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Delete wave.
This is a convenience which creates an instance of the DeleteWaveRequest.Builder avoiding the need to
create one manually via DeleteWaveRequest.builder()
deleteWaveRequest - A Consumer that will call methods on
DeleteWaveRequest.Builder to create a request.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.AwsServiceExceptiondefault DescribeJobLogItemsResponse describeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
Retrieves detailed job log items with paging.
describeJobLogItemsRequest - 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.AwsServiceExceptiondefault DescribeJobLogItemsResponse describeJobLogItems(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
Retrieves detailed job log items with paging.
This is a convenience which creates an instance of the DescribeJobLogItemsRequest.Builder avoiding the
need to create one manually via DescribeJobLogItemsRequest.builder()
describeJobLogItemsRequest - A Consumer that will call methods on
DescribeJobLogItemsRequest.Builder to create a request.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.AwsServiceExceptiondefault DescribeJobLogItemsIterable describeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
Retrieves detailed job log items with paging.
This is a variant of
describeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsIterable responses = client.describeJobLogItemsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsIterable responses = client
.describeJobLogItemsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsIterable responses = client.describeJobLogItemsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
describeJobLogItemsRequest - 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.AwsServiceExceptiondefault DescribeJobLogItemsIterable describeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
Retrieves detailed job log items with paging.
This is a variant of
describeJobLogItems(software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsIterable responses = client.describeJobLogItemsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsIterable responses = client
.describeJobLogItemsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.DescribeJobLogItemsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.DescribeJobLogItemsIterable responses = client.describeJobLogItemsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the
need to create one manually via DescribeJobLogItemsRequest.builder()
describeJobLogItemsRequest - A Consumer that will call methods on
DescribeJobLogItemsRequest.Builder to create a request.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.AwsServiceExceptiondefault DescribeJobsResponse describeJobs(DescribeJobsRequest describeJobsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
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.
describeJobsRequest - 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.AwsServiceExceptiondefault DescribeJobsResponse describeJobs(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
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.Builder avoiding the need to
create one manually via DescribeJobsRequest.builder()
describeJobsRequest - A Consumer that will call methods on
DescribeJobsRequest.Builder to create a request.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.AwsServiceExceptiondefault DescribeJobsIterable describeJobsPaginator(DescribeJobsRequest describeJobsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
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 variant of describeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.DescribeJobsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
describeJobsRequest - 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.AwsServiceExceptiondefault DescribeJobsIterable describeJobsPaginator(Consumer<DescribeJobsRequest.Builder> describeJobsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
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 variant of describeJobs(software.amazon.awssdk.services.mgn.model.DescribeJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.DescribeJobsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.DescribeJobsIterable responses = client.describeJobsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the need to
create one manually via DescribeJobsRequest.builder()
describeJobsRequest - A Consumer that will call methods on
DescribeJobsRequest.Builder to create a request.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.AwsServiceExceptiondefault DescribeLaunchConfigurationTemplatesResponse describeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
describeLaunchConfigurationTemplatesRequest - 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.AwsServiceExceptiondefault DescribeLaunchConfigurationTemplatesResponse describeLaunchConfigurationTemplates(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
This is a convenience which creates an instance of the
DescribeLaunchConfigurationTemplatesRequest.Builder avoiding the need to create one manually via
DescribeLaunchConfigurationTemplatesRequest.builder()
describeLaunchConfigurationTemplatesRequest - A Consumer that will call methods on
DescribeLaunchConfigurationTemplatesRequest.Builder to
create a request.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.AwsServiceExceptiondefault DescribeLaunchConfigurationTemplatesIterable describeLaunchConfigurationTemplatesPaginator(DescribeLaunchConfigurationTemplatesRequest describeLaunchConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
This is a variant of
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client.describeLaunchConfigurationTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client
.describeLaunchConfigurationTemplatesPaginator(request);
for (software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client.describeLaunchConfigurationTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
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.
describeLaunchConfigurationTemplatesRequest - 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.AwsServiceExceptiondefault DescribeLaunchConfigurationTemplatesIterable describeLaunchConfigurationTemplatesPaginator(Consumer<DescribeLaunchConfigurationTemplatesRequest.Builder> describeLaunchConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
This is a variant of
describeLaunchConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client.describeLaunchConfigurationTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client
.describeLaunchConfigurationTemplatesPaginator(request);
for (software.amazon.awssdk.services.mgn.model.DescribeLaunchConfigurationTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.DescribeLaunchConfigurationTemplatesIterable responses = client.describeLaunchConfigurationTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the need to create one manually via
DescribeLaunchConfigurationTemplatesRequest.builder()
describeLaunchConfigurationTemplatesRequest - A Consumer that will call methods on
DescribeLaunchConfigurationTemplatesRequest.Builder to
create a request.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.AwsServiceExceptiondefault DescribeReplicationConfigurationTemplatesResponse describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
describeReplicationConfigurationTemplatesRequest - 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.AwsServiceExceptiondefault DescribeReplicationConfigurationTemplatesResponse describeReplicationConfigurationTemplates(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
This is a convenience which creates an instance of the
DescribeReplicationConfigurationTemplatesRequest.Builder avoiding the need to create one manually via
DescribeReplicationConfigurationTemplatesRequest.builder()
describeReplicationConfigurationTemplatesRequest - A Consumer that will call methods on
DescribeReplicationConfigurationTemplatesRequest.Builder
to create a request.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.AwsServiceExceptiondefault DescribeReplicationConfigurationTemplatesIterable describeReplicationConfigurationTemplatesPaginator(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
This is a variant of
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client.describeReplicationConfigurationTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client
.describeReplicationConfigurationTemplatesPaginator(request);
for (software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client.describeReplicationConfigurationTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
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.
describeReplicationConfigurationTemplatesRequest - 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.AwsServiceExceptiondefault DescribeReplicationConfigurationTemplatesIterable describeReplicationConfigurationTemplatesPaginator(Consumer<DescribeReplicationConfigurationTemplatesRequest.Builder> describeReplicationConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
This is a variant of
describeReplicationConfigurationTemplates(software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client.describeReplicationConfigurationTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client
.describeReplicationConfigurationTemplatesPaginator(request);
for (software.amazon.awssdk.services.mgn.model.DescribeReplicationConfigurationTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.DescribeReplicationConfigurationTemplatesIterable responses = client.describeReplicationConfigurationTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the need to create one manually via
DescribeReplicationConfigurationTemplatesRequest.builder()
describeReplicationConfigurationTemplatesRequest - A Consumer that will call methods on
DescribeReplicationConfigurationTemplatesRequest.Builder
to create a request.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.AwsServiceExceptiondefault DescribeSourceServersResponse describeSourceServers(DescribeSourceServersRequest describeSourceServersRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
Retrieves all SourceServers or multiple SourceServers by ID.
describeSourceServersRequest - 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.AwsServiceExceptiondefault DescribeSourceServersResponse describeSourceServers(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
Retrieves all SourceServers or multiple SourceServers by ID.
This is a convenience which creates an instance of the DescribeSourceServersRequest.Builder avoiding the
need to create one manually via DescribeSourceServersRequest.builder()
describeSourceServersRequest - A Consumer that will call methods on
DescribeSourceServersRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeSourceServersIterable describeSourceServersPaginator(DescribeSourceServersRequest describeSourceServersRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
Retrieves all SourceServers or multiple SourceServers by ID.
This is a variant of
describeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.DescribeSourceServersIterable responses = client.describeSourceServersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.DescribeSourceServersIterable responses = client
.describeSourceServersPaginator(request);
for (software.amazon.awssdk.services.mgn.model.DescribeSourceServersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.DescribeSourceServersIterable responses = client.describeSourceServersPaginator(request);
responses.iterator().forEachRemaining(....);
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.
describeSourceServersRequest - 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.AwsServiceExceptiondefault DescribeSourceServersIterable describeSourceServersPaginator(Consumer<DescribeSourceServersRequest.Builder> describeSourceServersRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
Retrieves all SourceServers or multiple SourceServers by ID.
This is a variant of
describeSourceServers(software.amazon.awssdk.services.mgn.model.DescribeSourceServersRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.DescribeSourceServersIterable responses = client.describeSourceServersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.DescribeSourceServersIterable responses = client
.describeSourceServersPaginator(request);
for (software.amazon.awssdk.services.mgn.model.DescribeSourceServersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.DescribeSourceServersIterable responses = client.describeSourceServersPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the
need to create one manually via DescribeSourceServersRequest.builder()
describeSourceServersRequest - A Consumer that will call methods on
DescribeSourceServersRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeVcenterClientsResponse describeVcenterClients(DescribeVcenterClientsRequest describeVcenterClientsRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Returns a list of the installed vCenter clients.
describeVcenterClientsRequest - 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.AwsServiceExceptiondefault DescribeVcenterClientsResponse describeVcenterClients(Consumer<DescribeVcenterClientsRequest.Builder> describeVcenterClientsRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Returns a list of the installed vCenter clients.
This is a convenience which creates an instance of the DescribeVcenterClientsRequest.Builder avoiding the
need to create one manually via DescribeVcenterClientsRequest.builder()
describeVcenterClientsRequest - A Consumer that will call methods on
DescribeVcenterClientsRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeVcenterClientsIterable describeVcenterClientsPaginator(DescribeVcenterClientsRequest describeVcenterClientsRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Returns a list of the installed vCenter clients.
This is a variant of
describeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsIterable responses = client.describeVcenterClientsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsIterable responses = client
.describeVcenterClientsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsIterable responses = client.describeVcenterClientsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
describeVcenterClientsRequest - 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.AwsServiceExceptiondefault DescribeVcenterClientsIterable describeVcenterClientsPaginator(Consumer<DescribeVcenterClientsRequest.Builder> describeVcenterClientsRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Returns a list of the installed vCenter clients.
This is a variant of
describeVcenterClients(software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsIterable responses = client.describeVcenterClientsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsIterable responses = client
.describeVcenterClientsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.DescribeVcenterClientsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.DescribeVcenterClientsIterable responses = client.describeVcenterClientsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the
need to create one manually via DescribeVcenterClientsRequest.builder()
describeVcenterClientsRequest - A Consumer that will call methods on
DescribeVcenterClientsRequest.Builder to create a
request.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.AwsServiceExceptiondefault DisassociateApplicationsResponse disassociateApplications(DisassociateApplicationsRequest disassociateApplicationsRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Disassociate applications from wave.
disassociateApplicationsRequest - 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.AwsServiceExceptiondefault DisassociateApplicationsResponse disassociateApplications(Consumer<DisassociateApplicationsRequest.Builder> disassociateApplicationsRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Disassociate applications from wave.
This is a convenience which creates an instance of the DisassociateApplicationsRequest.Builder avoiding
the need to create one manually via DisassociateApplicationsRequest.builder()
disassociateApplicationsRequest - A Consumer that will call methods on
DisassociateApplicationsRequest.Builder to create a
request.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.AwsServiceExceptiondefault DisassociateSourceServersResponse disassociateSourceServers(DisassociateSourceServersRequest disassociateSourceServersRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Disassociate source servers from application.
disassociateSourceServersRequest - 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.AwsServiceExceptiondefault DisassociateSourceServersResponse disassociateSourceServers(Consumer<DisassociateSourceServersRequest.Builder> disassociateSourceServersRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Disassociate source servers from application.
This is a convenience which creates an instance of the DisassociateSourceServersRequest.Builder avoiding
the need to create one manually via DisassociateSourceServersRequest.builder()
disassociateSourceServersRequest - A Consumer that will call methods on
DisassociateSourceServersRequest.Builder to create a
request.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.AwsServiceExceptiondefault DisconnectFromServiceResponse disconnectFromService(DisconnectFromServiceRequest disconnectFromServiceRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
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.
disconnectFromServiceRequest - 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.AwsServiceExceptiondefault DisconnectFromServiceResponse disconnectFromService(Consumer<DisconnectFromServiceRequest.Builder> disconnectFromServiceRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
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.Builder avoiding the
need to create one manually via DisconnectFromServiceRequest.builder()
disconnectFromServiceRequest - A Consumer that will call methods on
DisconnectFromServiceRequest.Builder to create a
request.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.AwsServiceExceptiondefault FinalizeCutoverResponse finalizeCutover(FinalizeCutoverRequest finalizeCutoverRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
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.
finalizeCutoverRequest - 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.AwsServiceExceptiondefault FinalizeCutoverResponse finalizeCutover(Consumer<FinalizeCutoverRequest.Builder> finalizeCutoverRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
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.Builder avoiding the need
to create one manually via FinalizeCutoverRequest.builder()
finalizeCutoverRequest - A Consumer that will call methods on
FinalizeCutoverRequest.Builder to create a request.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.AwsServiceExceptiondefault GetLaunchConfigurationResponse getLaunchConfiguration(GetLaunchConfigurationRequest getLaunchConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException
Lists all LaunchConfigurations available, filtered by Source Server IDs.
getLaunchConfigurationRequest - 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.AwsServiceExceptiondefault GetLaunchConfigurationResponse getLaunchConfiguration(Consumer<GetLaunchConfigurationRequest.Builder> getLaunchConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException
Lists all LaunchConfigurations available, filtered by Source Server IDs.
This is a convenience which creates an instance of the GetLaunchConfigurationRequest.Builder avoiding the
need to create one manually via GetLaunchConfigurationRequest.builder()
getLaunchConfigurationRequest - A Consumer that will call methods on
GetLaunchConfigurationRequest.Builder to create a
request.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.AwsServiceExceptiondefault GetReplicationConfigurationResponse getReplicationConfiguration(GetReplicationConfigurationRequest getReplicationConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException
Lists all ReplicationConfigurations, filtered by Source Server ID.
getReplicationConfigurationRequest - 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.AwsServiceExceptiondefault GetReplicationConfigurationResponse getReplicationConfiguration(Consumer<GetReplicationConfigurationRequest.Builder> getReplicationConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException
Lists all ReplicationConfigurations, filtered by Source Server ID.
This is a convenience which creates an instance of the GetReplicationConfigurationRequest.Builder
avoiding the need to create one manually via GetReplicationConfigurationRequest.builder()
getReplicationConfigurationRequest - A Consumer that will call methods on
GetReplicationConfigurationRequest.Builder to create a
request.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.AwsServiceExceptiondefault InitializeServiceResponse initializeService(InitializeServiceRequest initializeServiceRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException
Initialize Application Migration Service.
initializeServiceRequest - ValidationException - Validate 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.AwsServiceExceptiondefault InitializeServiceResponse initializeService(Consumer<InitializeServiceRequest.Builder> initializeServiceRequest) throws ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException
Initialize Application Migration Service.
This is a convenience which creates an instance of the InitializeServiceRequest.Builder avoiding the need
to create one manually via InitializeServiceRequest.builder()
initializeServiceRequest - A Consumer that will call methods on
InitializeServiceRequest.Builder to create a request.ValidationException - Validate 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.AwsServiceExceptiondefault ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException
Retrieves all applications or multiple applications by ID.
listApplicationsRequest - 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.AwsServiceExceptiondefault ListApplicationsResponse listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException
Retrieves all applications or multiple applications by ID.
This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest - A Consumer that will call methods on
ListApplicationsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListApplicationsIterable listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException
Retrieves all applications or multiple applications by ID.
This is a variant of listApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListApplicationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listApplicationsRequest - 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.AwsServiceExceptiondefault ListApplicationsIterable listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException
Retrieves all applications or multiple applications by ID.
This is a variant of listApplications(software.amazon.awssdk.services.mgn.model.ListApplicationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListApplicationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest - A Consumer that will call methods on
ListApplicationsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListExportErrorsResponse listExportErrors(ListExportErrorsRequest listExportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List export errors.
listExportErrorsRequest - List export errors request.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.AwsServiceExceptiondefault ListExportErrorsResponse listExportErrors(Consumer<ListExportErrorsRequest.Builder> listExportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List export errors.
This is a convenience which creates an instance of the ListExportErrorsRequest.Builder avoiding the need
to create one manually via ListExportErrorsRequest.builder()
listExportErrorsRequest - A Consumer that will call methods on
ListExportErrorsRequest.Builder to create a request.
List export errors request.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.AwsServiceExceptiondefault ListExportErrorsIterable listExportErrorsPaginator(ListExportErrorsRequest listExportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List export errors.
This is a variant of listExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListExportErrorsIterable responses = client.listExportErrorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListExportErrorsIterable responses = client.listExportErrorsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListExportErrorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListExportErrorsIterable responses = client.listExportErrorsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listExportErrorsRequest - List export errors request.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.AwsServiceExceptiondefault ListExportErrorsIterable listExportErrorsPaginator(Consumer<ListExportErrorsRequest.Builder> listExportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List export errors.
This is a variant of listExportErrors(software.amazon.awssdk.services.mgn.model.ListExportErrorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListExportErrorsIterable responses = client.listExportErrorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListExportErrorsIterable responses = client.listExportErrorsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListExportErrorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListExportErrorsIterable responses = client.listExportErrorsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the need
to create one manually via ListExportErrorsRequest.builder()
listExportErrorsRequest - A Consumer that will call methods on
ListExportErrorsRequest.Builder to create a request.
List export errors request.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.AwsServiceExceptiondefault ListExportsResponse listExports(ListExportsRequest listExportsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException
List exports.
listExportsRequest - List export request.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.AwsServiceExceptiondefault ListExportsResponse listExports(Consumer<ListExportsRequest.Builder> listExportsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException
List exports.
This is a convenience which creates an instance of the ListExportsRequest.Builder avoiding the need to
create one manually via ListExportsRequest.builder()
listExportsRequest - A Consumer that will call methods on
ListExportsRequest.Builder to create a request. List
export request.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.AwsServiceExceptiondefault ListExportsIterable listExportsPaginator(ListExportsRequest listExportsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException
List exports.
This is a variant of listExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListExportsIterable responses = client.listExportsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListExportsIterable responses = client.listExportsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListExportsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListExportsIterable responses = client.listExportsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listExportsRequest - List export request.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.AwsServiceExceptiondefault ListExportsIterable listExportsPaginator(Consumer<ListExportsRequest.Builder> listExportsRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException
List exports.
This is a variant of listExports(software.amazon.awssdk.services.mgn.model.ListExportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListExportsIterable responses = client.listExportsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListExportsIterable responses = client.listExportsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListExportsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListExportsIterable responses = client.listExportsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the need to
create one manually via ListExportsRequest.builder()
listExportsRequest - A Consumer that will call methods on
ListExportsRequest.Builder to create a request. List
export request.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.AwsServiceExceptiondefault ListImportErrorsResponse listImportErrors(ListImportErrorsRequest listImportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List import errors.
listImportErrorsRequest - List import errors request.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.AwsServiceExceptiondefault ListImportErrorsResponse listImportErrors(Consumer<ListImportErrorsRequest.Builder> listImportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List import errors.
This is a convenience which creates an instance of the ListImportErrorsRequest.Builder avoiding the need
to create one manually via ListImportErrorsRequest.builder()
listImportErrorsRequest - A Consumer that will call methods on
ListImportErrorsRequest.Builder to create a request.
List import errors request.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.AwsServiceExceptiondefault ListImportErrorsIterable listImportErrorsPaginator(ListImportErrorsRequest listImportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List import errors.
This is a variant of listImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListImportErrorsIterable responses = client.listImportErrorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListImportErrorsIterable responses = client.listImportErrorsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListImportErrorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListImportErrorsIterable responses = client.listImportErrorsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listImportErrorsRequest - List import errors request.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.AwsServiceExceptiondefault ListImportErrorsIterable listImportErrorsPaginator(Consumer<ListImportErrorsRequest.Builder> listImportErrorsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List import errors.
This is a variant of listImportErrors(software.amazon.awssdk.services.mgn.model.ListImportErrorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListImportErrorsIterable responses = client.listImportErrorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListImportErrorsIterable responses = client.listImportErrorsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListImportErrorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListImportErrorsIterable responses = client.listImportErrorsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the need
to create one manually via ListImportErrorsRequest.builder()
listImportErrorsRequest - A Consumer that will call methods on
ListImportErrorsRequest.Builder to create a request.
List import errors request.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.AwsServiceExceptiondefault ListImportsResponse listImports(ListImportsRequest listImportsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List imports.
listImportsRequest - List imports request.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.AwsServiceExceptiondefault ListImportsResponse listImports(Consumer<ListImportsRequest.Builder> listImportsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List imports.
This is a convenience which creates an instance of the ListImportsRequest.Builder avoiding the need to
create one manually via ListImportsRequest.builder()
listImportsRequest - A Consumer that will call methods on
ListImportsRequest.Builder to create a request. List
imports request.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.AwsServiceExceptiondefault ListImportsIterable listImportsPaginator(ListImportsRequest listImportsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List imports.
This is a variant of listImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListImportsIterable responses = client.listImportsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListImportsIterable responses = client.listImportsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListImportsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListImportsIterable responses = client.listImportsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listImportsRequest - List imports request.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.AwsServiceExceptiondefault ListImportsIterable listImportsPaginator(Consumer<ListImportsRequest.Builder> listImportsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List imports.
This is a variant of listImports(software.amazon.awssdk.services.mgn.model.ListImportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListImportsIterable responses = client.listImportsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListImportsIterable responses = client.listImportsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListImportsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListImportsIterable responses = client.listImportsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the need to
create one manually via ListImportsRequest.builder()
listImportsRequest - A Consumer that will call methods on
ListImportsRequest.Builder to create a request. List
imports request.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.AwsServiceExceptiondefault ListManagedAccountsResponse listManagedAccounts(ListManagedAccountsRequest listManagedAccountsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List Managed Accounts.
listManagedAccountsRequest - List managed accounts request.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.AwsServiceExceptiondefault ListManagedAccountsResponse listManagedAccounts(Consumer<ListManagedAccountsRequest.Builder> listManagedAccountsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List Managed Accounts.
This is a convenience which creates an instance of the ListManagedAccountsRequest.Builder avoiding the
need to create one manually via ListManagedAccountsRequest.builder()
listManagedAccountsRequest - A Consumer that will call methods on
ListManagedAccountsRequest.Builder to create a request.
List managed accounts request.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.AwsServiceExceptiondefault ListManagedAccountsIterable listManagedAccountsPaginator(ListManagedAccountsRequest listManagedAccountsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List Managed Accounts.
This is a variant of
listManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListManagedAccountsIterable responses = client.listManagedAccountsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListManagedAccountsIterable responses = client
.listManagedAccountsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListManagedAccountsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListManagedAccountsIterable responses = client.listManagedAccountsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listManagedAccountsRequest - List managed accounts request.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.AwsServiceExceptiondefault ListManagedAccountsIterable listManagedAccountsPaginator(Consumer<ListManagedAccountsRequest.Builder> listManagedAccountsRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
List Managed Accounts.
This is a variant of
listManagedAccounts(software.amazon.awssdk.services.mgn.model.ListManagedAccountsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListManagedAccountsIterable responses = client.listManagedAccountsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListManagedAccountsIterable responses = client
.listManagedAccountsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListManagedAccountsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListManagedAccountsIterable responses = client.listManagedAccountsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the
need to create one manually via ListManagedAccountsRequest.builder()
listManagedAccountsRequest - A Consumer that will call methods on
ListManagedAccountsRequest.Builder to create a request.
List managed accounts request.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.AwsServiceExceptiondefault ListSourceServerActionsResponse listSourceServerActions(ListSourceServerActionsRequest listSourceServerActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException
List source server post migration custom actions.
listSourceServerActionsRequest - 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.AwsServiceExceptiondefault ListSourceServerActionsResponse listSourceServerActions(Consumer<ListSourceServerActionsRequest.Builder> listSourceServerActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException
List source server post migration custom actions.
This is a convenience which creates an instance of the ListSourceServerActionsRequest.Builder avoiding
the need to create one manually via ListSourceServerActionsRequest.builder()
listSourceServerActionsRequest - A Consumer that will call methods on
ListSourceServerActionsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListSourceServerActionsIterable listSourceServerActionsPaginator(ListSourceServerActionsRequest listSourceServerActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException
List source server post migration custom actions.
This is a variant of
listSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsIterable responses = client.listSourceServerActionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsIterable responses = client
.listSourceServerActionsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListSourceServerActionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsIterable responses = client.listSourceServerActionsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listSourceServerActionsRequest - 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.AwsServiceExceptiondefault ListSourceServerActionsIterable listSourceServerActionsPaginator(Consumer<ListSourceServerActionsRequest.Builder> listSourceServerActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException
List source server post migration custom actions.
This is a variant of
listSourceServerActions(software.amazon.awssdk.services.mgn.model.ListSourceServerActionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsIterable responses = client.listSourceServerActionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsIterable responses = client
.listSourceServerActionsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListSourceServerActionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListSourceServerActionsIterable responses = client.listSourceServerActionsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding
the need to create one manually via ListSourceServerActionsRequest.builder()
listSourceServerActionsRequest - A Consumer that will call methods on
ListSourceServerActionsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, MgnException
List all tags for your Application Migration Service resources.
listTagsForResourceRequest - ResourceNotFoundException - Resource not found exception.ThrottlingException - Reached throttling quota exception.ValidationException - Validate exception.AccessDeniedException - Operating denied due to a file permission or access check error.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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, MgnException
List all tags for your Application Migration Service resources.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on
ListTagsForResourceRequest.Builder to create a request.ResourceNotFoundException - Resource not found exception.ThrottlingException - Reached throttling quota exception.ValidationException - Validate exception.AccessDeniedException - Operating denied due to a file permission or access check error.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.AwsServiceExceptiondefault ListTemplateActionsResponse listTemplateActions(ListTemplateActionsRequest listTemplateActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException
List template post migration custom actions.
listTemplateActionsRequest - 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.AwsServiceExceptiondefault ListTemplateActionsResponse listTemplateActions(Consumer<ListTemplateActionsRequest.Builder> listTemplateActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException
List template post migration custom actions.
This is a convenience which creates an instance of the ListTemplateActionsRequest.Builder avoiding the
need to create one manually via ListTemplateActionsRequest.builder()
listTemplateActionsRequest - A Consumer that will call methods on
ListTemplateActionsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListTemplateActionsIterable listTemplateActionsPaginator(ListTemplateActionsRequest listTemplateActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException
List template post migration custom actions.
This is a variant of
listTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListTemplateActionsIterable responses = client.listTemplateActionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListTemplateActionsIterable responses = client
.listTemplateActionsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListTemplateActionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListTemplateActionsIterable responses = client.listTemplateActionsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listTemplateActionsRequest - 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.AwsServiceExceptiondefault ListTemplateActionsIterable listTemplateActionsPaginator(Consumer<ListTemplateActionsRequest.Builder> listTemplateActionsRequest) throws UninitializedAccountException, ResourceNotFoundException, AwsServiceException, SdkClientException, MgnException
List template post migration custom actions.
This is a variant of
listTemplateActions(software.amazon.awssdk.services.mgn.model.ListTemplateActionsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListTemplateActionsIterable responses = client.listTemplateActionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListTemplateActionsIterable responses = client
.listTemplateActionsPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListTemplateActionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListTemplateActionsIterable responses = client.listTemplateActionsPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the
need to create one manually via ListTemplateActionsRequest.builder()
listTemplateActionsRequest - A Consumer that will call methods on
ListTemplateActionsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListWavesResponse listWaves(ListWavesRequest listWavesRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException
Retrieves all waves or multiple waves by ID.
listWavesRequest - 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.AwsServiceExceptiondefault ListWavesResponse listWaves(Consumer<ListWavesRequest.Builder> listWavesRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException
Retrieves all waves or multiple waves by ID.
This is a convenience which creates an instance of the ListWavesRequest.Builder avoiding the need to
create one manually via ListWavesRequest.builder()
listWavesRequest - A Consumer that will call methods on
ListWavesRequest.Builder to create a request.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.AwsServiceExceptiondefault ListWavesIterable listWavesPaginator(ListWavesRequest listWavesRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException
Retrieves all waves or multiple waves by ID.
This is a variant of listWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListWavesIterable responses = client.listWavesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListWavesIterable responses = client.listWavesPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListWavesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListWavesIterable responses = client.listWavesPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listWavesRequest - 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.AwsServiceExceptiondefault ListWavesIterable listWavesPaginator(Consumer<ListWavesRequest.Builder> listWavesRequest) throws UninitializedAccountException, AwsServiceException, SdkClientException, MgnException
Retrieves all waves or multiple waves by ID.
This is a variant of listWaves(software.amazon.awssdk.services.mgn.model.ListWavesRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.mgn.paginators.ListWavesIterable responses = client.listWavesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mgn.paginators.ListWavesIterable responses = client.listWavesPaginator(request);
for (software.amazon.awssdk.services.mgn.model.ListWavesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mgn.paginators.ListWavesIterable responses = client.listWavesPaginator(request);
responses.iterator().forEachRemaining(....);
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.Builder avoiding the need to
create one manually via ListWavesRequest.builder()
listWavesRequest - A Consumer that will call methods on
ListWavesRequest.Builder to create a request.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.AwsServiceExceptiondefault MarkAsArchivedResponse markAsArchived(MarkAsArchivedRequest markAsArchivedRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
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.
markAsArchivedRequest - 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.AwsServiceExceptiondefault MarkAsArchivedResponse markAsArchived(Consumer<MarkAsArchivedRequest.Builder> markAsArchivedRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
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.Builder avoiding the need to
create one manually via MarkAsArchivedRequest.builder()
markAsArchivedRequest - A Consumer that will call methods on
MarkAsArchivedRequest.Builder to create a request.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.AwsServiceExceptiondefault PauseReplicationResponse pauseReplication(PauseReplicationRequest pauseReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Pause Replication.
pauseReplicationRequest - 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.AwsServiceExceptiondefault PauseReplicationResponse pauseReplication(Consumer<PauseReplicationRequest.Builder> pauseReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Pause Replication.
This is a convenience which creates an instance of the PauseReplicationRequest.Builder avoiding the need
to create one manually via PauseReplicationRequest.builder()
pauseReplicationRequest - A Consumer that will call methods on
PauseReplicationRequest.Builder to create a request.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.AwsServiceExceptiondefault PutSourceServerActionResponse putSourceServerAction(PutSourceServerActionRequest putSourceServerActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
Put source server post migration custom action.
putSourceServerActionRequest - 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.AwsServiceExceptiondefault PutSourceServerActionResponse putSourceServerAction(Consumer<PutSourceServerActionRequest.Builder> putSourceServerActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
Put source server post migration custom action.
This is a convenience which creates an instance of the PutSourceServerActionRequest.Builder avoiding the
need to create one manually via PutSourceServerActionRequest.builder()
putSourceServerActionRequest - A Consumer that will call methods on
PutSourceServerActionRequest.Builder to create a
request.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.AwsServiceExceptiondefault PutTemplateActionResponse putTemplateAction(PutTemplateActionRequest putTemplateActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
Put template post migration custom action.
putTemplateActionRequest - 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.AwsServiceExceptiondefault PutTemplateActionResponse putTemplateAction(Consumer<PutTemplateActionRequest.Builder> putTemplateActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
Put template post migration custom action.
This is a convenience which creates an instance of the PutTemplateActionRequest.Builder avoiding the need
to create one manually via PutTemplateActionRequest.builder()
putTemplateActionRequest - A Consumer that will call methods on
PutTemplateActionRequest.Builder to create a request.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.AwsServiceExceptiondefault RemoveSourceServerActionResponse removeSourceServerAction(RemoveSourceServerActionRequest removeSourceServerActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Remove source server post migration custom action.
removeSourceServerActionRequest - 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.AwsServiceExceptiondefault RemoveSourceServerActionResponse removeSourceServerAction(Consumer<RemoveSourceServerActionRequest.Builder> removeSourceServerActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Remove source server post migration custom action.
This is a convenience which creates an instance of the RemoveSourceServerActionRequest.Builder avoiding
the need to create one manually via RemoveSourceServerActionRequest.builder()
removeSourceServerActionRequest - A Consumer that will call methods on
RemoveSourceServerActionRequest.Builder to create a
request.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.AwsServiceExceptiondefault RemoveTemplateActionResponse removeTemplateAction(RemoveTemplateActionRequest removeTemplateActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Remove template post migration custom action.
removeTemplateActionRequest - 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.AwsServiceExceptiondefault RemoveTemplateActionResponse removeTemplateAction(Consumer<RemoveTemplateActionRequest.Builder> removeTemplateActionRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Remove template post migration custom action.
This is a convenience which creates an instance of the RemoveTemplateActionRequest.Builder avoiding the
need to create one manually via RemoveTemplateActionRequest.builder()
removeTemplateActionRequest - A Consumer that will call methods on
RemoveTemplateActionRequest.Builder to create a request.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.AwsServiceExceptiondefault ResumeReplicationResponse resumeReplication(ResumeReplicationRequest resumeReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Resume Replication.
resumeReplicationRequest - 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.AwsServiceExceptiondefault ResumeReplicationResponse resumeReplication(Consumer<ResumeReplicationRequest.Builder> resumeReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Resume Replication.
This is a convenience which creates an instance of the ResumeReplicationRequest.Builder avoiding the need
to create one manually via ResumeReplicationRequest.builder()
resumeReplicationRequest - A Consumer that will call methods on
ResumeReplicationRequest.Builder to create a request.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.AwsServiceExceptiondefault RetryDataReplicationResponse retryDataReplication(RetryDataReplicationRequest retryDataReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
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.
retryDataReplicationRequest - 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.AwsServiceExceptiondefault RetryDataReplicationResponse retryDataReplication(Consumer<RetryDataReplicationRequest.Builder> retryDataReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
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.Builder avoiding the
need to create one manually via RetryDataReplicationRequest.builder()
retryDataReplicationRequest - A Consumer that will call methods on
RetryDataReplicationRequest.Builder to create a request.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.AwsServiceExceptiondefault StartCutoverResponse startCutover(StartCutoverRequest startCutoverRequest) throws UninitializedAccountException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
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.
startCutoverRequest - 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.AwsServiceExceptiondefault StartCutoverResponse startCutover(Consumer<StartCutoverRequest.Builder> startCutoverRequest) throws UninitializedAccountException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
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.Builder avoiding the need to
create one manually via StartCutoverRequest.builder()
startCutoverRequest - A Consumer that will call methods on
StartCutoverRequest.Builder to create a request.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.AwsServiceExceptiondefault StartExportResponse startExport(StartExportRequest startExportRequest) throws UninitializedAccountException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MgnException
Start export.
startExportRequest - Start export request.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.AwsServiceExceptiondefault StartExportResponse startExport(Consumer<StartExportRequest.Builder> startExportRequest) throws UninitializedAccountException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MgnException
Start export.
This is a convenience which creates an instance of the StartExportRequest.Builder avoiding the need to
create one manually via StartExportRequest.builder()
startExportRequest - A Consumer that will call methods on
StartExportRequest.Builder to create a request. Start
export request.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.AwsServiceExceptiondefault StartImportResponse startImport(StartImportRequest startImportRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Start import.
startImportRequest - Start import request.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.AwsServiceExceptiondefault StartImportResponse startImport(Consumer<StartImportRequest.Builder> startImportRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Start import.
This is a convenience which creates an instance of the StartImportRequest.Builder avoiding the need to
create one manually via StartImportRequest.builder()
startImportRequest - A Consumer that will call methods on
StartImportRequest.Builder to create a request. Start
import request.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.AwsServiceExceptiondefault StartReplicationResponse startReplication(StartReplicationRequest startReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Starts replication for SNAPSHOT_SHIPPING agents.
startReplicationRequest - 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.AwsServiceExceptiondefault StartReplicationResponse startReplication(Consumer<StartReplicationRequest.Builder> startReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Starts replication for SNAPSHOT_SHIPPING agents.
This is a convenience which creates an instance of the StartReplicationRequest.Builder avoiding the need
to create one manually via StartReplicationRequest.builder()
startReplicationRequest - A Consumer that will call methods on
StartReplicationRequest.Builder to create a request.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.AwsServiceExceptiondefault StartTestResponse startTest(StartTestRequest startTestRequest) throws UninitializedAccountException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
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.
startTestRequest - 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.AwsServiceExceptiondefault StartTestResponse startTest(Consumer<StartTestRequest.Builder> startTestRequest) throws UninitializedAccountException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
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.Builder avoiding the need to
create one manually via StartTestRequest.builder()
startTestRequest - A Consumer that will call methods on
StartTestRequest.Builder to create a request.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.AwsServiceExceptiondefault StopReplicationResponse stopReplication(StopReplicationRequest stopReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Stop Replication.
stopReplicationRequest - 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.AwsServiceExceptiondefault StopReplicationResponse stopReplication(Consumer<StopReplicationRequest.Builder> stopReplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, MgnException
Stop Replication.
This is a convenience which creates an instance of the StopReplicationRequest.Builder avoiding the need
to create one manually via StopReplicationRequest.builder()
stopReplicationRequest - A Consumer that will call methods on
StopReplicationRequest.Builder to create a request.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.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, MgnException
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.
tagResourceRequest - ResourceNotFoundException - Resource not found exception.ThrottlingException - Reached throttling quota exception.ValidationException - Validate exception.AccessDeniedException - Operating denied due to a file permission or access check error.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.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, MgnException
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.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on
TagResourceRequest.Builder to create a request.ResourceNotFoundException - Resource not found exception.ThrottlingException - Reached throttling quota exception.ValidationException - Validate exception.AccessDeniedException - Operating denied due to a file permission or access check error.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.AwsServiceExceptiondefault TerminateTargetInstancesResponse terminateTargetInstances(TerminateTargetInstancesRequest terminateTargetInstancesRequest) throws UninitializedAccountException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
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.
terminateTargetInstancesRequest - 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.AwsServiceExceptiondefault TerminateTargetInstancesResponse terminateTargetInstances(Consumer<TerminateTargetInstancesRequest.Builder> terminateTargetInstancesRequest) throws UninitializedAccountException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
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.Builder avoiding
the need to create one manually via TerminateTargetInstancesRequest.builder()
terminateTargetInstancesRequest - A Consumer that will call methods on
TerminateTargetInstancesRequest.Builder to create a
request.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.AwsServiceExceptiondefault UnarchiveApplicationResponse unarchiveApplication(UnarchiveApplicationRequest unarchiveApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MgnException
Unarchive application.
unarchiveApplicationRequest - 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.AwsServiceExceptiondefault UnarchiveApplicationResponse unarchiveApplication(Consumer<UnarchiveApplicationRequest.Builder> unarchiveApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MgnException
Unarchive application.
This is a convenience which creates an instance of the UnarchiveApplicationRequest.Builder avoiding the
need to create one manually via UnarchiveApplicationRequest.builder()
unarchiveApplicationRequest - A Consumer that will call methods on
UnarchiveApplicationRequest.Builder to create a request.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.AwsServiceExceptiondefault UnarchiveWaveResponse unarchiveWave(UnarchiveWaveRequest unarchiveWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MgnException
Unarchive wave.
unarchiveWaveRequest - 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.AwsServiceExceptiondefault UnarchiveWaveResponse unarchiveWave(Consumer<UnarchiveWaveRequest.Builder> unarchiveWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MgnException
Unarchive wave.
This is a convenience which creates an instance of the UnarchiveWaveRequest.Builder avoiding the need to
create one manually via UnarchiveWaveRequest.builder()
unarchiveWaveRequest - A Consumer that will call methods on
UnarchiveWaveRequest.Builder to create a request.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.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, MgnException
Deletes the specified set of tags from the specified set of Application Migration Service resources.
untagResourceRequest - ResourceNotFoundException - Resource not found exception.ThrottlingException - Reached throttling quota exception.ValidationException - Validate exception.AccessDeniedException - Operating denied due to a file permission or access check error.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.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, MgnException
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.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on
UntagResourceRequest.Builder to create a request.ResourceNotFoundException - Resource not found exception.ThrottlingException - Reached throttling quota exception.ValidationException - Validate exception.AccessDeniedException - Operating denied due to a file permission or access check error.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.AwsServiceExceptiondefault UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Update application.
updateApplicationRequest - 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.AwsServiceExceptiondefault UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Update application.
This is a convenience which creates an instance of the UpdateApplicationRequest.Builder avoiding the need
to create one manually via UpdateApplicationRequest.builder()
updateApplicationRequest - A Consumer that will call methods on
UpdateApplicationRequest.Builder to create a request.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.AwsServiceExceptiondefault UpdateLaunchConfigurationResponse updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
Updates multiple LaunchConfigurations by Source Server ID.
updateLaunchConfigurationRequest - 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.AwsServiceExceptiondefault UpdateLaunchConfigurationResponse updateLaunchConfiguration(Consumer<UpdateLaunchConfigurationRequest.Builder> updateLaunchConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
Updates multiple LaunchConfigurations by Source Server ID.
This is a convenience which creates an instance of the UpdateLaunchConfigurationRequest.Builder avoiding
the need to create one manually via UpdateLaunchConfigurationRequest.builder()
updateLaunchConfigurationRequest - A Consumer that will call methods on
UpdateLaunchConfigurationRequest.Builder to create a
request.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.AwsServiceExceptiondefault UpdateLaunchConfigurationTemplateResponse updateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest updateLaunchConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException
Updates an existing Launch Configuration Template by ID.
updateLaunchConfigurationTemplateRequest - UninitializedAccountException - Uninitialized account exception.ResourceNotFoundException - Resource not found exception.ValidationException - Validate 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.AwsServiceExceptiondefault UpdateLaunchConfigurationTemplateResponse updateLaunchConfigurationTemplate(Consumer<UpdateLaunchConfigurationTemplateRequest.Builder> updateLaunchConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException
Updates an existing Launch Configuration Template by ID.
This is a convenience which creates an instance of the UpdateLaunchConfigurationTemplateRequest.Builder
avoiding the need to create one manually via UpdateLaunchConfigurationTemplateRequest.builder()
updateLaunchConfigurationTemplateRequest - A Consumer that will call methods on
UpdateLaunchConfigurationTemplateRequest.Builder to
create a request.UninitializedAccountException - Uninitialized account exception.ResourceNotFoundException - Resource not found exception.ValidationException - Validate 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.AwsServiceExceptiondefault UpdateReplicationConfigurationResponse updateReplicationConfiguration(UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, MgnException
Allows you to update multiple ReplicationConfigurations by Source Server ID.
updateReplicationConfigurationRequest - UninitializedAccountException - Uninitialized account exception.ResourceNotFoundException - Resource not found exception.ValidationException - Validate 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.AwsServiceExceptiondefault UpdateReplicationConfigurationResponse updateReplicationConfiguration(Consumer<UpdateReplicationConfigurationRequest.Builder> updateReplicationConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, MgnException
Allows you to update multiple ReplicationConfigurations by Source Server ID.
This is a convenience which creates an instance of the UpdateReplicationConfigurationRequest.Builder
avoiding the need to create one manually via UpdateReplicationConfigurationRequest.builder()
updateReplicationConfigurationRequest - A Consumer that will call methods on
UpdateReplicationConfigurationRequest.Builder to create
a request.UninitializedAccountException - Uninitialized account exception.ResourceNotFoundException - Resource not found exception.ValidationException - Validate 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.AwsServiceExceptiondefault UpdateReplicationConfigurationTemplateResponse updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException
Updates multiple ReplicationConfigurationTemplates by ID.
updateReplicationConfigurationTemplateRequest - UninitializedAccountException - Uninitialized account exception.ResourceNotFoundException - Resource not found exception.ValidationException - Validate 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.AwsServiceExceptiondefault UpdateReplicationConfigurationTemplateResponse updateReplicationConfigurationTemplate(Consumer<UpdateReplicationConfigurationTemplateRequest.Builder> updateReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, MgnException
Updates multiple ReplicationConfigurationTemplates by ID.
This is a convenience which creates an instance of the
UpdateReplicationConfigurationTemplateRequest.Builder avoiding the need to create one manually via
UpdateReplicationConfigurationTemplateRequest.builder()
updateReplicationConfigurationTemplateRequest - A Consumer that will call methods on
UpdateReplicationConfigurationTemplateRequest.Builder to
create a request.UninitializedAccountException - Uninitialized account exception.ResourceNotFoundException - Resource not found exception.ValidationException - Validate 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.AwsServiceExceptiondefault UpdateSourceServerReplicationTypeResponse updateSourceServerReplicationType(UpdateSourceServerReplicationTypeRequest updateSourceServerReplicationTypeRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.
updateSourceServerReplicationTypeRequest - 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.AwsServiceExceptiondefault UpdateSourceServerReplicationTypeResponse updateSourceServerReplicationType(Consumer<UpdateSourceServerReplicationTypeRequest.Builder> updateSourceServerReplicationTypeRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.
This is a convenience which creates an instance of the UpdateSourceServerReplicationTypeRequest.Builder
avoiding the need to create one manually via UpdateSourceServerReplicationTypeRequest.builder()
updateSourceServerReplicationTypeRequest - A Consumer that will call methods on
UpdateSourceServerReplicationTypeRequest.Builder to
create a request.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.AwsServiceExceptiondefault UpdateWaveResponse updateWave(UpdateWaveRequest updateWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Update wave.
updateWaveRequest - 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.AwsServiceExceptiondefault UpdateWaveResponse updateWave(Consumer<UpdateWaveRequest.Builder> updateWaveRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Update wave.
This is a convenience which creates an instance of the UpdateWaveRequest.Builder avoiding the need to
create one manually via UpdateWaveRequest.builder()
updateWaveRequest - A Consumer that will call methods on
UpdateWaveRequest.Builder to create a request.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.AwsServiceExceptionstatic MgnClient create()
MgnClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static MgnClientBuilder builder()
MgnClient.static ServiceMetadata serviceMetadata()
default MgnServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.