MigrationHubClient Class

(QtAws::MigrationHub::MigrationHubClient)

The MigrationHubClient class provides access to the AWS Migration Hub service. More...

Header: #include <MigrationHubClient>
Inherits: QtAws::Core::AwsAbstractClient

Public Functions

MigrationHubClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)
MigrationHubClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

Public Slots

AssociateCreatedArtifactResponse *associateCreatedArtifact(const AssociateCreatedArtifactRequest &request)
AssociateDiscoveredResourceResponse *associateDiscoveredResource(const AssociateDiscoveredResourceRequest &request)
CreateProgressUpdateStreamResponse *createProgressUpdateStream(const CreateProgressUpdateStreamRequest &request)
DeleteProgressUpdateStreamResponse *deleteProgressUpdateStream(const DeleteProgressUpdateStreamRequest &request)
DescribeApplicationStateResponse *describeApplicationState(const DescribeApplicationStateRequest &request)
DescribeMigrationTaskResponse *describeMigrationTask(const DescribeMigrationTaskRequest &request)
DisassociateCreatedArtifactResponse *disassociateCreatedArtifact(const DisassociateCreatedArtifactRequest &request)
DisassociateDiscoveredResourceResponse *disassociateDiscoveredResource(const DisassociateDiscoveredResourceRequest &request)
ImportMigrationTaskResponse *importMigrationTask(const ImportMigrationTaskRequest &request)
ListCreatedArtifactsResponse *listCreatedArtifacts(const ListCreatedArtifactsRequest &request)
ListDiscoveredResourcesResponse *listDiscoveredResources(const ListDiscoveredResourcesRequest &request)
ListMigrationTasksResponse *listMigrationTasks(const ListMigrationTasksRequest &request)
ListProgressUpdateStreamsResponse *listProgressUpdateStreams(const ListProgressUpdateStreamsRequest &request)
NotifyApplicationStateResponse *notifyApplicationState(const NotifyApplicationStateRequest &request)
NotifyMigrationTaskStateResponse *notifyMigrationTaskState(const NotifyMigrationTaskStateRequest &request)
PutResourceAttributesResponse *putResourceAttributes(const PutResourceAttributesRequest &request)

Additional Inherited Members

Detailed Description

The MigrationHubClient class provides access to the AWS Migration Hub service.

The AWS Migration Hub API methods help to obtain server and application migration status and integrate your resource-specific migration tool by providing a programmatic interface to Migration Hub.

Member Function Documentation

MigrationHubClient::MigrationHubClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

Constructs a MigrationHubClient object.

The new client object will region, credentials, and manager for network operations.

The new object will be owned by parent, if set.

MigrationHubClient::MigrationHubClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)

This function overloads MigrationHubClient().

This overload allows the caller to specify the specific endpoint to send requests to. Typically, it is easier to use the alternative constructor, which allows the caller to specify an AWS region instead, in which case this client will determine the correct endpoint for the given region automatically (via AwsEndpoint::getEndpoint).

See also QtAws::Core::AwsEndpoint::getEndpoint.

[slot] AssociateCreatedArtifactResponse *MigrationHubClient::associateCreatedArtifact(const AssociateCreatedArtifactRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an AssociateCreatedArtifactResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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> <ul> <li>

Migration tools can call the <code>AssociateCreatedArtifact</code> operation to indicate which AWS artifact is associated with a migration

task> </li> <li>

The created artifact name must be provided in ARN (Amazon Resource Name) format which will contain information about type and region; for example:

<code>arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b</code>> </li> <li>

Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance, or DMS endpoint,

[slot] AssociateDiscoveredResourceResponse *MigrationHubClient::associateDiscoveredResource(const AssociateDiscoveredResourceRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an AssociateDiscoveredResourceResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Associates a discovered resource ID from Application Discovery Service (ADS) with a migration

[slot] CreateProgressUpdateStreamResponse *MigrationHubClient::createProgressUpdateStream(const CreateProgressUpdateStreamRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an CreateProgressUpdateStreamResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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

[slot] DeleteProgressUpdateStreamResponse *MigrationHubClient::deleteProgressUpdateStream(const DeleteProgressUpdateStreamRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an DeleteProgressUpdateStreamResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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> <ul> <li>

The only parameter needed for <code>DeleteProgressUpdateStream</code> is the stream name (same as a <code>CreateProgressUpdateStream</code>

call)> </li> <li>

The call will return, and a background process will asynchronously delete the stream and all of its resources (tasks, associated resources, resource attributes, created

artifacts)> </li> <li>

If the stream takes time to be deleted, it might still show up on a <code>ListProgressUpdateStreams</code>

call> </li> <li>

<code>CreateProgressUpdateStream</code>, <code>ImportMigrationTask</code>, <code>NotifyMigrationTaskState</code>, 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> </li> <li>

Once the stream and all of its resources are deleted, <code>CreateProgressUpdateStream</code> 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

[slot] DescribeApplicationStateResponse *MigrationHubClient::describeApplicationState(const DescribeApplicationStateRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an DescribeApplicationStateResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Gets the migration status of an

[slot] DescribeMigrationTaskResponse *MigrationHubClient::describeMigrationTask(const DescribeMigrationTaskRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an DescribeMigrationTaskResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Retrieves a list of all attributes associated with a specific migration

[slot] DisassociateCreatedArtifactResponse *MigrationHubClient::disassociateCreatedArtifact(const DisassociateCreatedArtifactRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an DisassociateCreatedArtifactResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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> <ul> <li>

A migration user can call the <code>DisassociateCreatedArtifacts</code> operation to disassociate a created AWS Artifact from a migration

task> </li> <li>

The created artifact name must be provided in ARN (Amazon Resource Name) format which will contain information about type and region; for example:

<code>arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b</code>> </li> <li>

Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance, or RDS instance,

[slot] DisassociateDiscoveredResourceResponse *MigrationHubClient::disassociateDiscoveredResource(const DisassociateDiscoveredResourceRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an DisassociateDiscoveredResourceResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Disassociate an Application Discovery Service (ADS) discovered resource from a migration

[slot] ImportMigrationTaskResponse *MigrationHubClient::importMigrationTask(const ImportMigrationTaskRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an ImportMigrationTaskResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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 <code>NotifyMigrationTaskState</code> API as the migration tool must first register the migration task with Migration

[slot] ListCreatedArtifactsResponse *MigrationHubClient::listCreatedArtifacts(const ListCreatedArtifactsRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an ListCreatedArtifactsResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Lists the created artifacts attached to a given migration task in an update stream. This API has the following

traits> <ul> <li>

Gets the list of the created artifacts while migration is taking

place> </li> <li>

Shows the artifacts created by the migration tool that was associated by the <code>AssociateCreatedArtifact</code> API.

</p </li> <li>

Lists created artifacts in a paginated interface.

[slot] ListDiscoveredResourcesResponse *MigrationHubClient::listDiscoveredResources(const ListDiscoveredResourcesRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an ListDiscoveredResourcesResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Lists discovered resources associated with the given

[slot] ListMigrationTasksResponse *MigrationHubClient::listMigrationTasks(const ListMigrationTasksRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an ListMigrationTasksResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Lists all, or filtered by resource name, migration tasks associated with the user account making this call. This API has the following

traits> <ul> <li>

Can show a summary list of the most recent migration

tasks> </li> <li>

Can show a summary list of migration tasks associated with a given discovered

resource> </li> <li>

Lists migration tasks in a paginated

[slot] ListProgressUpdateStreamsResponse *MigrationHubClient::listProgressUpdateStreams(const ListProgressUpdateStreamsRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an ListProgressUpdateStreamsResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Lists progress update streams associated with the user account making this

[slot] NotifyApplicationStateResponse *MigrationHubClient::notifyApplicationState(const NotifyApplicationStateRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an NotifyApplicationStateResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Sets the migration state of an application. For a given application identified by the value passed to <code>ApplicationId</code>, its status is set or updated by passing one of three values to <code>Status</code>: <code>NOT_STARTED | IN_PROGRESS |

[slot] NotifyMigrationTaskStateResponse *MigrationHubClient::notifyMigrationTaskState(const NotifyMigrationTaskStateRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an NotifyMigrationTaskStateResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

Notifies Migration Hub of the current status, progress, or other detail regarding a migration task. This API has the following

traits> <ul> <li>

Migration tools will call the <code>NotifyMigrationTaskState</code> API to share the latest progress and

status> </li> <li>

<code>MigrationTaskName</code> is used for addressing updates to the correct

target> </li> <li>

<code>ProgressUpdateStream</code> is used for access control and to provide a namespace for each migration

[slot] PutResourceAttributesResponse *MigrationHubClient::putResourceAttributes(const PutResourceAttributesRequest &request)

Sends request to the MigrationHubClient service, and returns a pointer to an PutResourceAttributesResponse object to track the result.

Note: The caller is to take responsbility for the resulting pointer.

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 <code>PutResourceAttributes</code>

returns> <b> <ul> <li>

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 <i>add</i> an IP address, it will then be required to call it with <i>both</i> the IP and MAC addresses to prevent overiding the MAC

address> </li> <li>

Note the instructions regarding the special use case of the <code>ResourceAttributeList</code> parameter when specifying any "VM" related

value> </li> </ul> </b> <note>

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

© 2018 Paul Colby Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.