@Generated(value="software.amazon.awssdk:codegen") public interface MigrationHubAsyncClient extends SdkClient, SdkAutoCloseable
builder()
method.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<AssociateCreatedArtifactResponse> |
associateCreatedArtifact(AssociateCreatedArtifactRequest associateCreatedArtifactRequest)
Associates a created artifact of an AWS cloud resource, the target receiving the migration, with the migration
task performed by a migration tool.
|
default CompletableFuture<AssociateCreatedArtifactResponse> |
associateCreatedArtifact(Consumer<AssociateCreatedArtifactRequest.Builder> associateCreatedArtifactRequest)
Associates a created artifact of an AWS cloud resource, the target receiving the migration, with the migration
task performed by a migration tool.
|
default CompletableFuture<AssociateDiscoveredResourceResponse> |
associateDiscoveredResource(AssociateDiscoveredResourceRequest associateDiscoveredResourceRequest)
Associates a discovered resource ID from Application Discovery Service (ADS) with a migration task.
|
default CompletableFuture<AssociateDiscoveredResourceResponse> |
associateDiscoveredResource(Consumer<AssociateDiscoveredResourceRequest.Builder> associateDiscoveredResourceRequest)
Associates a discovered resource ID from Application Discovery Service (ADS) with a migration task.
|
static MigrationHubAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
MigrationHubAsyncClient . |
static MigrationHubAsyncClient |
create()
Create a
MigrationHubAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from
the DefaultCredentialsProvider . |
default CompletableFuture<CreateProgressUpdateStreamResponse> |
createProgressUpdateStream(Consumer<CreateProgressUpdateStreamRequest.Builder> createProgressUpdateStreamRequest)
Creates a progress update stream which is an AWS resource used for access control as well as a namespace for
migration task names that is implicitly linked to your AWS account.
|
default CompletableFuture<CreateProgressUpdateStreamResponse> |
createProgressUpdateStream(CreateProgressUpdateStreamRequest createProgressUpdateStreamRequest)
Creates a progress update stream which is an AWS resource used for access control as well as a namespace for
migration task names that is implicitly linked to your AWS account.
|
default CompletableFuture<DeleteProgressUpdateStreamResponse> |
deleteProgressUpdateStream(Consumer<DeleteProgressUpdateStreamRequest.Builder> deleteProgressUpdateStreamRequest)
Deletes a progress update stream, including all of its tasks, which was previously created as an AWS resource
used for access control.
|
default CompletableFuture<DeleteProgressUpdateStreamResponse> |
deleteProgressUpdateStream(DeleteProgressUpdateStreamRequest deleteProgressUpdateStreamRequest)
Deletes a progress update stream, including all of its tasks, which was previously created as an AWS resource
used for access control.
|
default CompletableFuture<DescribeApplicationStateResponse> |
describeApplicationState(Consumer<DescribeApplicationStateRequest.Builder> describeApplicationStateRequest)
Gets the migration status of an application.
|
default CompletableFuture<DescribeApplicationStateResponse> |
describeApplicationState(DescribeApplicationStateRequest describeApplicationStateRequest)
Gets the migration status of an application.
|
default CompletableFuture<DescribeMigrationTaskResponse> |
describeMigrationTask(Consumer<DescribeMigrationTaskRequest.Builder> describeMigrationTaskRequest)
Retrieves a list of all attributes associated with a specific migration task.
|
default CompletableFuture<DescribeMigrationTaskResponse> |
describeMigrationTask(DescribeMigrationTaskRequest describeMigrationTaskRequest)
Retrieves a list of all attributes associated with a specific migration task.
|
default CompletableFuture<DisassociateCreatedArtifactResponse> |
disassociateCreatedArtifact(Consumer<DisassociateCreatedArtifactRequest.Builder> disassociateCreatedArtifactRequest)
Disassociates a created artifact of an AWS resource with a migration task performed by a migration tool that was
previously associated.
|
default CompletableFuture<DisassociateCreatedArtifactResponse> |
disassociateCreatedArtifact(DisassociateCreatedArtifactRequest disassociateCreatedArtifactRequest)
Disassociates a created artifact of an AWS resource with a migration task performed by a migration tool that was
previously associated.
|
default CompletableFuture<DisassociateDiscoveredResourceResponse> |
disassociateDiscoveredResource(Consumer<DisassociateDiscoveredResourceRequest.Builder> disassociateDiscoveredResourceRequest)
Disassociate an Application Discovery Service (ADS) discovered resource from a migration task.
|
default CompletableFuture<DisassociateDiscoveredResourceResponse> |
disassociateDiscoveredResource(DisassociateDiscoveredResourceRequest disassociateDiscoveredResourceRequest)
Disassociate an Application Discovery Service (ADS) discovered resource from a migration task.
|
default CompletableFuture<ImportMigrationTaskResponse> |
importMigrationTask(Consumer<ImportMigrationTaskRequest.Builder> importMigrationTaskRequest)
Registers a new migration task which represents a server, database, etc., being migrated to AWS by a migration
tool.
|
default CompletableFuture<ImportMigrationTaskResponse> |
importMigrationTask(ImportMigrationTaskRequest importMigrationTaskRequest)
Registers a new migration task which represents a server, database, etc., being migrated to AWS by a migration
tool.
|
default CompletableFuture<ListCreatedArtifactsResponse> |
listCreatedArtifacts(Consumer<ListCreatedArtifactsRequest.Builder> listCreatedArtifactsRequest)
Lists the created artifacts attached to a given migration task in an update stream.
|
default CompletableFuture<ListCreatedArtifactsResponse> |
listCreatedArtifacts(ListCreatedArtifactsRequest listCreatedArtifactsRequest)
Lists the created artifacts attached to a given migration task in an update stream.
|
default CompletableFuture<ListDiscoveredResourcesResponse> |
listDiscoveredResources(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest)
Lists discovered resources associated with the given
MigrationTask . |
default CompletableFuture<ListDiscoveredResourcesResponse> |
listDiscoveredResources(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest)
Lists discovered resources associated with the given
MigrationTask . |
default CompletableFuture<ListMigrationTasksResponse> |
listMigrationTasks(Consumer<ListMigrationTasksRequest.Builder> listMigrationTasksRequest)
Lists all, or filtered by resource name, migration tasks associated with the user account making this call.
|
default CompletableFuture<ListMigrationTasksResponse> |
listMigrationTasks(ListMigrationTasksRequest listMigrationTasksRequest)
Lists all, or filtered by resource name, migration tasks associated with the user account making this call.
|
default CompletableFuture<ListProgressUpdateStreamsResponse> |
listProgressUpdateStreams(Consumer<ListProgressUpdateStreamsRequest.Builder> listProgressUpdateStreamsRequest)
Lists progress update streams associated with the user account making this call.
|
default CompletableFuture<ListProgressUpdateStreamsResponse> |
listProgressUpdateStreams(ListProgressUpdateStreamsRequest listProgressUpdateStreamsRequest)
Lists progress update streams associated with the user account making this call.
|
default CompletableFuture<NotifyApplicationStateResponse> |
notifyApplicationState(Consumer<NotifyApplicationStateRequest.Builder> notifyApplicationStateRequest)
Sets the migration state of an application.
|
default CompletableFuture<NotifyApplicationStateResponse> |
notifyApplicationState(NotifyApplicationStateRequest notifyApplicationStateRequest)
Sets the migration state of an application.
|
default CompletableFuture<NotifyMigrationTaskStateResponse> |
notifyMigrationTaskState(Consumer<NotifyMigrationTaskStateRequest.Builder> notifyMigrationTaskStateRequest)
Notifies Migration Hub of the current status, progress, or other detail regarding a migration task.
|
default CompletableFuture<NotifyMigrationTaskStateResponse> |
notifyMigrationTaskState(NotifyMigrationTaskStateRequest notifyMigrationTaskStateRequest)
Notifies Migration Hub of the current status, progress, or other detail regarding a migration task.
|
default CompletableFuture<PutResourceAttributesResponse> |
putResourceAttributes(Consumer<PutResourceAttributesRequest.Builder> putResourceAttributesRequest)
Provides identifying details of the resource being migrated so that it can be associated in the Application
Discovery Service (ADS)'s repository.
|
default CompletableFuture<PutResourceAttributesResponse> |
putResourceAttributes(PutResourceAttributesRequest putResourceAttributesRequest)
Provides identifying details of the resource being migrated so that it can be associated in the Application
Discovery Service (ADS)'s repository.
|
serviceName
close
static final String SERVICE_NAME
static MigrationHubAsyncClient create()
MigrationHubAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from
the DefaultCredentialsProvider
.static MigrationHubAsyncClientBuilder builder()
MigrationHubAsyncClient
.default CompletableFuture<AssociateCreatedArtifactResponse> associateCreatedArtifact(AssociateCreatedArtifactRequest associateCreatedArtifactRequest)
Associates a created artifact of an AWS cloud resource, the target receiving the migration, with the migration task performed by a migration tool. This API has the following traits:
Migration tools can call the AssociateCreatedArtifact
operation to indicate which AWS artifact is
associated with a migration task.
The created artifact name must be provided in ARN (Amazon Resource Name) format which will contain information
about type and region; for example: arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b
.
Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance, or DMS endpoint, etc.
associateCreatedArtifactRequest
- DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<AssociateCreatedArtifactResponse> associateCreatedArtifact(Consumer<AssociateCreatedArtifactRequest.Builder> associateCreatedArtifactRequest)
Associates a created artifact of an AWS cloud resource, the target receiving the migration, with the migration task performed by a migration tool. This API has the following traits:
Migration tools can call the AssociateCreatedArtifact
operation to indicate which AWS artifact is
associated with a migration task.
The created artifact name must be provided in ARN (Amazon Resource Name) format which will contain information
about type and region; for example: arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b
.
Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance, or DMS endpoint, etc.
AssociateCreatedArtifactRequest.Builder
avoiding
the need to create one manually via AssociateCreatedArtifactRequest.builder()
associateCreatedArtifactRequest
- a Consumer
that will call methods on AssociateCreatedArtifactRequest.Builder
.DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<AssociateDiscoveredResourceResponse> associateDiscoveredResource(AssociateDiscoveredResourceRequest associateDiscoveredResourceRequest)
Associates a discovered resource ID from Application Discovery Service (ADS) with a migration task.
associateDiscoveredResourceRequest
- DryRun
flag is set to "true".DryRun
flag is set to "true".ADSCaller
role is missing or not
configured correctly.default CompletableFuture<AssociateDiscoveredResourceResponse> associateDiscoveredResource(Consumer<AssociateDiscoveredResourceRequest.Builder> associateDiscoveredResourceRequest)
Associates a discovered resource ID from Application Discovery Service (ADS) with a migration task.
AssociateDiscoveredResourceRequest.Builder
avoiding the need to create one manually via AssociateDiscoveredResourceRequest.builder()
associateDiscoveredResourceRequest
- a Consumer
that will call methods on AssociateDiscoveredResourceRequest.Builder
.DryRun
flag is set to "true".DryRun
flag is set to "true".ADSCaller
role is missing or not
configured correctly.default CompletableFuture<CreateProgressUpdateStreamResponse> createProgressUpdateStream(CreateProgressUpdateStreamRequest createProgressUpdateStreamRequest)
Creates a progress update stream which is an AWS resource used for access control as well as a namespace for migration task names that is implicitly linked to your AWS account. It must uniquely identify the migration tool as it is used for all updates made by the tool; however, it does not need to be unique for each AWS account because it is scoped to the AWS account.
createProgressUpdateStreamRequest
- DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<CreateProgressUpdateStreamResponse> createProgressUpdateStream(Consumer<CreateProgressUpdateStreamRequest.Builder> createProgressUpdateStreamRequest)
Creates a progress update stream which is an AWS resource used for access control as well as a namespace for migration task names that is implicitly linked to your AWS account. It must uniquely identify the migration tool as it is used for all updates made by the tool; however, it does not need to be unique for each AWS account because it is scoped to the AWS account.
CreateProgressUpdateStreamRequest.Builder
avoiding
the need to create one manually via CreateProgressUpdateStreamRequest.builder()
createProgressUpdateStreamRequest
- a Consumer
that will call methods on CreateProgressUpdateStreamRequest.Builder
.DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<DeleteProgressUpdateStreamResponse> deleteProgressUpdateStream(DeleteProgressUpdateStreamRequest deleteProgressUpdateStreamRequest)
Deletes a progress update stream, including all of its tasks, which was previously created as an AWS resource used for access control. This API has the following traits:
The only parameter needed for DeleteProgressUpdateStream
is the stream name (same as a
CreateProgressUpdateStream
call).
The call will return, and a background process will asynchronously be doing the actual delete of the stream and all of its resources (tasks, associated resources, resource attributes, created artifacts).
If the stream takes time to be deleted, it might still show up on a ListProgressUpdateStreams
call.
CreateProgressUpdateStream
, ImportMigrationTask
, NotifyMigrationTaskState
,
and all Associate[*] APIs realted to the tasks belonging to the stream will throw "InvalidInputException" if the
stream of the same name is in the process of being deleted.
Once the stream and all of its resources are deleted, CreateProgressUpdateStream
for a stream of the
same name will succeed, and that stream will be an entirely new logical resource (without any resources
associated with the old stream).
deleteProgressUpdateStreamRequest
- DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<DeleteProgressUpdateStreamResponse> deleteProgressUpdateStream(Consumer<DeleteProgressUpdateStreamRequest.Builder> deleteProgressUpdateStreamRequest)
Deletes a progress update stream, including all of its tasks, which was previously created as an AWS resource used for access control. This API has the following traits:
The only parameter needed for DeleteProgressUpdateStream
is the stream name (same as a
CreateProgressUpdateStream
call).
The call will return, and a background process will asynchronously be doing the actual delete of the stream and all of its resources (tasks, associated resources, resource attributes, created artifacts).
If the stream takes time to be deleted, it might still show up on a ListProgressUpdateStreams
call.
CreateProgressUpdateStream
, ImportMigrationTask
, NotifyMigrationTaskState
,
and all Associate[*] APIs realted to the tasks belonging to the stream will throw "InvalidInputException" if the
stream of the same name is in the process of being deleted.
Once the stream and all of its resources are deleted, CreateProgressUpdateStream
for a stream of the
same name will succeed, and that stream will be an entirely new logical resource (without any resources
associated with the old stream).
DeleteProgressUpdateStreamRequest.Builder
avoiding
the need to create one manually via DeleteProgressUpdateStreamRequest.builder()
deleteProgressUpdateStreamRequest
- a Consumer
that will call methods on DeleteProgressUpdateStreamRequest.Builder
.DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<DescribeApplicationStateResponse> describeApplicationState(DescribeApplicationStateRequest describeApplicationStateRequest)
Gets the migration status of an application.
describeApplicationStateRequest
- ADSCaller
role is missing or not
configured correctly.default CompletableFuture<DescribeApplicationStateResponse> describeApplicationState(Consumer<DescribeApplicationStateRequest.Builder> describeApplicationStateRequest)
Gets the migration status of an application.
DescribeApplicationStateRequest.Builder
avoiding
the need to create one manually via DescribeApplicationStateRequest.builder()
describeApplicationStateRequest
- a Consumer
that will call methods on DescribeApplicationStateRequest.Builder
.ADSCaller
role is missing or not
configured correctly.default CompletableFuture<DescribeMigrationTaskResponse> describeMigrationTask(DescribeMigrationTaskRequest describeMigrationTaskRequest)
Retrieves a list of all attributes associated with a specific migration task.
describeMigrationTaskRequest
- default CompletableFuture<DescribeMigrationTaskResponse> describeMigrationTask(Consumer<DescribeMigrationTaskRequest.Builder> describeMigrationTaskRequest)
Retrieves a list of all attributes associated with a specific migration task.
DescribeMigrationTaskRequest.Builder
avoiding the
need to create one manually via DescribeMigrationTaskRequest.builder()
describeMigrationTaskRequest
- a Consumer
that will call methods on DescribeMigrationTaskRequest.Builder
.default CompletableFuture<DisassociateCreatedArtifactResponse> disassociateCreatedArtifact(DisassociateCreatedArtifactRequest disassociateCreatedArtifactRequest)
Disassociates a created artifact of an AWS resource with a migration task performed by a migration tool that was previously associated. This API has the following traits:
A migration user can call the DisassociateCreatedArtifacts
operation to disassociate a created AWS
Artifact from a migration task.
The created artifact name must be provided in ARN (Amazon Resource Name) format which will contain information
about type and region; for example: arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b
.
Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance, or RDS instance, etc.
disassociateCreatedArtifactRequest
- DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<DisassociateCreatedArtifactResponse> disassociateCreatedArtifact(Consumer<DisassociateCreatedArtifactRequest.Builder> disassociateCreatedArtifactRequest)
Disassociates a created artifact of an AWS resource with a migration task performed by a migration tool that was previously associated. This API has the following traits:
A migration user can call the DisassociateCreatedArtifacts
operation to disassociate a created AWS
Artifact from a migration task.
The created artifact name must be provided in ARN (Amazon Resource Name) format which will contain information
about type and region; for example: arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b
.
Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance, or RDS instance, etc.
DisassociateCreatedArtifactRequest.Builder
avoiding the need to create one manually via DisassociateCreatedArtifactRequest.builder()
disassociateCreatedArtifactRequest
- a Consumer
that will call methods on DisassociateCreatedArtifactRequest.Builder
.DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<DisassociateDiscoveredResourceResponse> disassociateDiscoveredResource(DisassociateDiscoveredResourceRequest disassociateDiscoveredResourceRequest)
Disassociate an Application Discovery Service (ADS) discovered resource from a migration task.
disassociateDiscoveredResourceRequest
- DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<DisassociateDiscoveredResourceResponse> disassociateDiscoveredResource(Consumer<DisassociateDiscoveredResourceRequest.Builder> disassociateDiscoveredResourceRequest)
Disassociate an Application Discovery Service (ADS) discovered resource from a migration task.
DisassociateDiscoveredResourceRequest.Builder
avoiding the need to create one manually via DisassociateDiscoveredResourceRequest.builder()
disassociateDiscoveredResourceRequest
- a Consumer
that will call methods on DisassociateDiscoveredResourceRequest.Builder
.DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<ImportMigrationTaskResponse> importMigrationTask(ImportMigrationTaskRequest importMigrationTaskRequest)
Registers a new migration task which represents a server, database, etc., being migrated to AWS by a migration tool.
This API is a prerequisite to calling the NotifyMigrationTaskState
API as the migration tool must
first register the migration task with Migration Hub.
importMigrationTaskRequest
- DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<ImportMigrationTaskResponse> importMigrationTask(Consumer<ImportMigrationTaskRequest.Builder> importMigrationTaskRequest)
Registers a new migration task which represents a server, database, etc., being migrated to AWS by a migration tool.
This API is a prerequisite to calling the NotifyMigrationTaskState
API as the migration tool must
first register the migration task with Migration Hub.
ImportMigrationTaskRequest.Builder
avoiding the
need to create one manually via ImportMigrationTaskRequest.builder()
importMigrationTaskRequest
- a Consumer
that will call methods on ImportMigrationTaskRequest.Builder
.DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<ListCreatedArtifactsResponse> listCreatedArtifacts(ListCreatedArtifactsRequest listCreatedArtifactsRequest)
Lists the created artifacts attached to a given migration task in an update stream. This API has the following traits:
Gets the list of the created artifacts while migration is taking place.
Shows the artifacts created by the migration tool that was associated by the
AssociateCreatedArtifact
API.
Lists created artifacts in a paginated interface.
listCreatedArtifactsRequest
- default CompletableFuture<ListCreatedArtifactsResponse> listCreatedArtifacts(Consumer<ListCreatedArtifactsRequest.Builder> listCreatedArtifactsRequest)
Lists the created artifacts attached to a given migration task in an update stream. This API has the following traits:
Gets the list of the created artifacts while migration is taking place.
Shows the artifacts created by the migration tool that was associated by the
AssociateCreatedArtifact
API.
Lists created artifacts in a paginated interface.
ListCreatedArtifactsRequest.Builder
avoiding the
need to create one manually via ListCreatedArtifactsRequest.builder()
listCreatedArtifactsRequest
- a Consumer
that will call methods on ListCreatedArtifactsRequest.Builder
.default CompletableFuture<ListDiscoveredResourcesResponse> listDiscoveredResources(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest)
Lists discovered resources associated with the given MigrationTask
.
listDiscoveredResourcesRequest
- default CompletableFuture<ListDiscoveredResourcesResponse> listDiscoveredResources(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest)
Lists discovered resources associated with the given MigrationTask
.
ListDiscoveredResourcesRequest.Builder
avoiding
the need to create one manually via ListDiscoveredResourcesRequest.builder()
listDiscoveredResourcesRequest
- a Consumer
that will call methods on ListDiscoveredResourcesRequest.Builder
.default CompletableFuture<ListMigrationTasksResponse> listMigrationTasks(ListMigrationTasksRequest listMigrationTasksRequest)
Lists all, or filtered by resource name, migration tasks associated with the user account making this call. This API has the following traits:
Can show a summary list of the most recent migration tasks.
Can show a summary list of migration tasks associated with a given discovered resource.
Lists migration tasks in a paginated interface.
listMigrationTasksRequest
- ADSCaller
role is missing or not
configured correctly.default CompletableFuture<ListMigrationTasksResponse> listMigrationTasks(Consumer<ListMigrationTasksRequest.Builder> listMigrationTasksRequest)
Lists all, or filtered by resource name, migration tasks associated with the user account making this call. This API has the following traits:
Can show a summary list of the most recent migration tasks.
Can show a summary list of migration tasks associated with a given discovered resource.
Lists migration tasks in a paginated interface.
ListMigrationTasksRequest.Builder
avoiding the
need to create one manually via ListMigrationTasksRequest.builder()
listMigrationTasksRequest
- a Consumer
that will call methods on ListMigrationTasksRequest.Builder
.ADSCaller
role is missing or not
configured correctly.default CompletableFuture<ListProgressUpdateStreamsResponse> listProgressUpdateStreams(ListProgressUpdateStreamsRequest listProgressUpdateStreamsRequest)
Lists progress update streams associated with the user account making this call.
listProgressUpdateStreamsRequest
- default CompletableFuture<ListProgressUpdateStreamsResponse> listProgressUpdateStreams(Consumer<ListProgressUpdateStreamsRequest.Builder> listProgressUpdateStreamsRequest)
Lists progress update streams associated with the user account making this call.
ListProgressUpdateStreamsRequest.Builder
avoiding
the need to create one manually via ListProgressUpdateStreamsRequest.builder()
listProgressUpdateStreamsRequest
- a Consumer
that will call methods on ListProgressUpdateStreamsRequest.Builder
.default CompletableFuture<NotifyApplicationStateResponse> notifyApplicationState(NotifyApplicationStateRequest notifyApplicationStateRequest)
Sets the migration state of an application. For a given application identified by the value passed to
ApplicationId
, its status is set or updated by passing one of three values to Status
:
NOT_STARTED | IN_PROGRESS | COMPLETED
.
notifyApplicationStateRequest
- DryRun
flag is set to "true".DryRun
flag is set to "true".ADSCaller
role is missing or not
configured correctly.default CompletableFuture<NotifyApplicationStateResponse> notifyApplicationState(Consumer<NotifyApplicationStateRequest.Builder> notifyApplicationStateRequest)
Sets the migration state of an application. For a given application identified by the value passed to
ApplicationId
, its status is set or updated by passing one of three values to Status
:
NOT_STARTED | IN_PROGRESS | COMPLETED
.
NotifyApplicationStateRequest.Builder
avoiding the
need to create one manually via NotifyApplicationStateRequest.builder()
notifyApplicationStateRequest
- a Consumer
that will call methods on NotifyApplicationStateRequest.Builder
.DryRun
flag is set to "true".DryRun
flag is set to "true".ADSCaller
role is missing or not
configured correctly.default CompletableFuture<NotifyMigrationTaskStateResponse> notifyMigrationTaskState(NotifyMigrationTaskStateRequest notifyMigrationTaskStateRequest)
Notifies Migration Hub of the current status, progress, or other detail regarding a migration task. This API has the following traits:
Migration tools will call the NotifyMigrationTaskState
API to share the latest progress and status.
MigrationTaskName
is used for addressing updates to the correct target.
ProgressUpdateStream
is used for access control and to provide a namespace for each migration tool.
notifyMigrationTaskStateRequest
- DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<NotifyMigrationTaskStateResponse> notifyMigrationTaskState(Consumer<NotifyMigrationTaskStateRequest.Builder> notifyMigrationTaskStateRequest)
Notifies Migration Hub of the current status, progress, or other detail regarding a migration task. This API has the following traits:
Migration tools will call the NotifyMigrationTaskState
API to share the latest progress and status.
MigrationTaskName
is used for addressing updates to the correct target.
ProgressUpdateStream
is used for access control and to provide a namespace for each migration tool.
NotifyMigrationTaskStateRequest.Builder
avoiding
the need to create one manually via NotifyMigrationTaskStateRequest.builder()
notifyMigrationTaskStateRequest
- a Consumer
that will call methods on NotifyMigrationTaskStateRequest.Builder
.DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<PutResourceAttributesResponse> putResourceAttributes(PutResourceAttributesRequest putResourceAttributesRequest)
Provides identifying details of the resource being migrated so that it can be associated in the Application
Discovery Service (ADS)'s repository. This association occurs asynchronously after
PutResourceAttributes
returns.
Keep in mind that subsequent calls to PutResourceAttributes will override previously stored attributes. For example, if it is first called with a MAC address, but later, it is desired to add an IP address, it will then be required to call it with both the IP and MAC addresses to prevent overiding the MAC address.
Because this is an asynchronous call, it will always return 200, whether an association occurs or not. To confirm
if an association was found based on the provided details, call ListAssociatedResource
.
putResourceAttributesRequest
- DryRun
flag is set to "true".DryRun
flag is set to "true".default CompletableFuture<PutResourceAttributesResponse> putResourceAttributes(Consumer<PutResourceAttributesRequest.Builder> putResourceAttributesRequest)
Provides identifying details of the resource being migrated so that it can be associated in the Application
Discovery Service (ADS)'s repository. This association occurs asynchronously after
PutResourceAttributes
returns.
Keep in mind that subsequent calls to PutResourceAttributes will override previously stored attributes. For example, if it is first called with a MAC address, but later, it is desired to add an IP address, it will then be required to call it with both the IP and MAC addresses to prevent overiding the MAC address.
Because this is an asynchronous call, it will always return 200, whether an association occurs or not. To confirm
if an association was found based on the provided details, call ListAssociatedResource
.
PutResourceAttributesRequest.Builder
avoiding the
need to create one manually via PutResourceAttributesRequest.builder()
putResourceAttributesRequest
- a Consumer
that will call methods on PutResourceAttributesRequest.Builder
.DryRun
flag is set to "true".DryRun
flag is set to "true".Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.