@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface MgnClient extends SdkClient
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 |
|---|---|
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 CreateReplicationConfigurationTemplateResponse |
createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest)
Creates a new ReplicationConfigurationTemplate.
|
default CreateReplicationConfigurationTemplateResponse |
createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest)
Creates a new ReplicationConfigurationTemplate.
|
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 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 DescribeJobLogItemsResponse |
describeJobLogItems(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest)
Retrieves detailed Job log with paging.
|
default DescribeJobLogItemsResponse |
describeJobLogItems(DescribeJobLogItemsRequest describeJobLogItemsRequest)
Retrieves detailed Job log with paging.
|
default DescribeJobLogItemsIterable |
describeJobLogItemsPaginator(Consumer<DescribeJobLogItemsRequest.Builder> describeJobLogItemsRequest)
Retrieves detailed Job log with paging.
|
default DescribeJobLogItemsIterable |
describeJobLogItemsPaginator(DescribeJobLogItemsRequest describeJobLogItemsRequest)
Retrieves detailed Job log 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 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 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 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 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 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.
|
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 StartTestResponse |
startTest(Consumer<StartTestRequest.Builder> startTestRequest)
Lauches a Test Instance for specific Source Servers.
|
default StartTestResponse |
startTest(StartTestRequest startTestRequest)
Lauches a Test Instance for specific Source Servers.
|
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 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 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 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.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static MgnClient create()
MgnClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static MgnClientBuilder builder()
MgnClient.default 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 - Unitialized 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 - Unitialized 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 CreateReplicationConfigurationTemplateResponse createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest createReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ValidationException, AwsServiceException, SdkClientException, MgnException
Creates a new ReplicationConfigurationTemplate.
createReplicationConfigurationTemplateRequest - UninitializedAccountException - Unitialized 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 CreateReplicationConfigurationTemplateResponse createReplicationConfigurationTemplate(Consumer<CreateReplicationConfigurationTemplateRequest.Builder> createReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ValidationException, 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 - Unitialized 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 DeleteJobResponse deleteJob(DeleteJobRequest deleteJobRequest) throws UninitializedAccountException, ResourceNotFoundException, ConflictException, AwsServiceException, SdkClientException, MgnException
Deletes a single Job by ID.
deleteJobRequest - UninitializedAccountException - Unitialized 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 - Unitialized 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 - Unitialized 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 - Unitialized 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 - Unitialized 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 - Unitialized 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 with paging.
describeJobLogItemsRequest - UninitializedAccountException - Unitialized 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 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 - Unitialized 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 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 - Unitialized 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 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 - Unitialized 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 normaly 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 - Unitialized 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 normaly 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 - Unitialized 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 normaly 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 - Unitialized 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 normaly 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 - Unitialized 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 DescribeReplicationConfigurationTemplatesResponse describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest describeReplicationConfigurationTemplatesRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
describeReplicationConfigurationTemplatesRequest - UninitializedAccountException - Unitialized 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 - Unitialized 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 - Unitialized 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 - Unitialized 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 - Unitialized 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 - Unitialized 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 - Unitialized 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 - Unitialized 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 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 communciating 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.lagDurationwill be nullified.
disconnectFromServiceRequest - UninitializedAccountException - Unitialized 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 communciating 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.lagDurationwill 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 - Unitialized 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 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.lagDurationwill be nullified.
finalizeCutoverRequest - UninitializedAccountException - Unitialized 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 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.lagDurationwill 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 - Unitialized 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 - Unitialized 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 - Unitialized 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 - Unitialized 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 - Unitialized 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 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 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 - Unitialized 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 - Unitialized 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 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 - Unitialized 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 - Unitialized 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 - Unitialized 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 - Unitialized 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(StartTestRequest startTestRequest) throws UninitializedAccountException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
Lauches 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 - Unitialized 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
Lauches 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 - Unitialized 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 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 - Unitialized 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 - Unitialized 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 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 UpdateLaunchConfigurationResponse updateLaunchConfiguration(UpdateLaunchConfigurationRequest updateLaunchConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
Updates multiple LaunchConfigurations by Source Server ID.
updateLaunchConfigurationRequest - UninitializedAccountException - Unitialized 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 - Unitialized 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 UpdateReplicationConfigurationResponse updateReplicationConfiguration(UpdateReplicationConfigurationRequest updateReplicationConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, ConflictException, AwsServiceException, SdkClientException, MgnException
Allows you to update multiple ReplicationConfigurations by Source Server ID.
updateReplicationConfigurationRequest - UninitializedAccountException - Unitialized 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 UpdateReplicationConfigurationResponse updateReplicationConfiguration(Consumer<UpdateReplicationConfigurationRequest.Builder> updateReplicationConfigurationRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, 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 - Unitialized 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 UpdateReplicationConfigurationTemplateResponse updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest updateReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, MgnException
Updates multiple ReplicationConfigurationTemplates by ID.
updateReplicationConfigurationTemplateRequest - UninitializedAccountException - Unitialized 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 UpdateReplicationConfigurationTemplateResponse updateReplicationConfigurationTemplate(Consumer<UpdateReplicationConfigurationTemplateRequest.Builder> updateReplicationConfigurationTemplateRequest) throws UninitializedAccountException, ResourceNotFoundException, ValidationException, 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 - Unitialized 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.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2021. All rights reserved.