Migration Hub
This page documents function available when using the Migration_Hub
module, created with @service Migration_Hub
.
Index
Main.Migration_Hub.associate_created_artifact
Main.Migration_Hub.associate_discovered_resource
Main.Migration_Hub.create_progress_update_stream
Main.Migration_Hub.delete_progress_update_stream
Main.Migration_Hub.describe_application_state
Main.Migration_Hub.describe_migration_task
Main.Migration_Hub.disassociate_created_artifact
Main.Migration_Hub.disassociate_discovered_resource
Main.Migration_Hub.import_migration_task
Main.Migration_Hub.list_application_states
Main.Migration_Hub.list_created_artifacts
Main.Migration_Hub.list_discovered_resources
Main.Migration_Hub.list_migration_tasks
Main.Migration_Hub.list_progress_update_streams
Main.Migration_Hub.notify_application_state
Main.Migration_Hub.notify_migration_task_state
Main.Migration_Hub.put_resource_attributes
Documentation
Main.Migration_Hub.associate_created_artifact
— Methodassociate_created_artifact(created_artifact, migration_task_name, progress_update_stream)
associate_created_artifact(created_artifact, migration_task_name, progress_update_stream, params::Dict{String,<:Any})
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.
Arguments
created_artifact
: An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)migration_task_name
: Unique identifier that references the migration task. Do not store personal data in this field.progress_update_stream
: The name of the ProgressUpdateStream.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DryRun"
: Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
Main.Migration_Hub.associate_discovered_resource
— Methodassociate_discovered_resource(discovered_resource, migration_task_name, progress_update_stream)
associate_discovered_resource(discovered_resource, migration_task_name, progress_update_stream, params::Dict{String,<:Any})
Associates a discovered resource ID from Application Discovery Service with a migration task.
Arguments
discovered_resource
: Object representing a Resource.migration_task_name
: The identifier given to the MigrationTask. Do not store personal data in this field.progress_update_stream
: The name of the ProgressUpdateStream.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DryRun"
: Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
Main.Migration_Hub.create_progress_update_stream
— Methodcreate_progress_update_stream(progress_update_stream_name)
create_progress_update_stream(progress_update_stream_name, params::Dict{String,<:Any})
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.
Arguments
progress_update_stream_name
: The name of the ProgressUpdateStream. Do not store personal data in this field.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DryRun"
: Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
Main.Migration_Hub.delete_progress_update_stream
— Methoddelete_progress_update_stream(progress_update_stream_name)
delete_progress_update_stream(progress_update_stream_name, params::Dict{String,<:Any})
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 delete 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 related 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).
Arguments
progress_update_stream_name
: The name of the ProgressUpdateStream. Do not store personal data in this field.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DryRun"
: Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
Main.Migration_Hub.describe_application_state
— Methoddescribe_application_state(application_id)
describe_application_state(application_id, params::Dict{String,<:Any})
Gets the migration status of an application.
Arguments
application_id
: The configurationId in Application Discovery Service that uniquely identifies the grouped application.
Main.Migration_Hub.describe_migration_task
— Methoddescribe_migration_task(migration_task_name, progress_update_stream)
describe_migration_task(migration_task_name, progress_update_stream, params::Dict{String,<:Any})
Retrieves a list of all attributes associated with a specific migration task.
Arguments
migration_task_name
: The identifier given to the MigrationTask. Do not store personal data in this field.progress_update_stream
: The name of the ProgressUpdateStream.
Main.Migration_Hub.disassociate_created_artifact
— Methoddisassociate_created_artifact(created_artifact_name, migration_task_name, progress_update_stream)
disassociate_created_artifact(created_artifact_name, migration_task_name, progress_update_stream, params::Dict{String,<:Any})
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.
Arguments
created_artifact_name
: An ARN of the AWS resource related to the migration (e.g., AMI, EC2 instance, RDS instance, etc.)migration_task_name
: Unique identifier that references the migration task to be disassociated with the artifact. Do not store personal data in this field.progress_update_stream
: The name of the ProgressUpdateStream.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DryRun"
: Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
Main.Migration_Hub.disassociate_discovered_resource
— Methoddisassociate_discovered_resource(configuration_id, migration_task_name, progress_update_stream)
disassociate_discovered_resource(configuration_id, migration_task_name, progress_update_stream, params::Dict{String,<:Any})
Disassociate an Application Discovery Service discovered resource from a migration task.
Arguments
configuration_id
: ConfigurationId of the Application Discovery Service resource to be disassociated.migration_task_name
: The identifier given to the MigrationTask. Do not store personal data in this field.progress_update_stream
: The name of the ProgressUpdateStream.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DryRun"
: Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
Main.Migration_Hub.import_migration_task
— Methodimport_migration_task(migration_task_name, progress_update_stream)
import_migration_task(migration_task_name, progress_update_stream, params::Dict{String,<:Any})
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.
Arguments
migration_task_name
: Unique identifier that references the migration task. Do not store personal data in this field.progress_update_stream
: The name of the ProgressUpdateStream. >
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DryRun"
: Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
Main.Migration_Hub.list_application_states
— Methodlist_application_states()
list_application_states(params::Dict{String,<:Any})
Lists all the migration statuses for your applications. If you use the optional ApplicationIds parameter, only the migration statuses for those applications will be returned.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"ApplicationIds"
: The configurationIds from the Application Discovery Service that uniquely identifies your applications."MaxResults"
: Maximum number of results to be returned per page."NextToken"
: If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken.
Main.Migration_Hub.list_created_artifacts
— Methodlist_created_artifacts(migration_task_name, progress_update_stream)
list_created_artifacts(migration_task_name, progress_update_stream, params::Dict{String,<:Any})
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.
Arguments
migration_task_name
: Unique identifier that references the migration task. Do not store personal data in this field.progress_update_stream
: The name of the ProgressUpdateStream.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"MaxResults"
: Maximum number of results to be returned per page."NextToken"
: If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken.
Main.Migration_Hub.list_discovered_resources
— Methodlist_discovered_resources(migration_task_name, progress_update_stream)
list_discovered_resources(migration_task_name, progress_update_stream, params::Dict{String,<:Any})
Lists discovered resources associated with the given MigrationTask.
Arguments
migration_task_name
: The name of the MigrationTask. Do not store personal data in this field.progress_update_stream
: The name of the ProgressUpdateStream.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"MaxResults"
: The maximum number of results returned per page."NextToken"
: If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken.
Main.Migration_Hub.list_migration_tasks
— Methodlist_migration_tasks()
list_migration_tasks(params::Dict{String,<:Any})
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.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"MaxResults"
: Value to specify how many results are returned per page."NextToken"
: If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken."ResourceName"
: Filter migration tasks by discovered resource name.
Main.Migration_Hub.list_progress_update_streams
— Methodlist_progress_update_streams()
list_progress_update_streams(params::Dict{String,<:Any})
Lists progress update streams associated with the user account making this call.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"MaxResults"
: Filter to limit the maximum number of results to list per page."NextToken"
: If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken.
Main.Migration_Hub.notify_application_state
— Methodnotify_application_state(application_id, status)
notify_application_state(application_id, status, params::Dict{String,<:Any})
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: NOTSTARTED | INPROGRESS | COMPLETED.
Arguments
application_id
: The configurationId in Application Discovery Service that uniquely identifies the grouped application.status
: Status of the application - Not Started, In-Progress, Complete.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DryRun"
: Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call."UpdateDateTime"
: The timestamp when the application state changed.
Main.Migration_Hub.notify_migration_task_state
— Methodnotify_migration_task_state(migration_task_name, next_update_seconds, progress_update_stream, task, update_date_time)
notify_migration_task_state(migration_task_name, next_update_seconds, progress_update_stream, task, update_date_time, params::Dict{String,<:Any})
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.
Arguments
migration_task_name
: Unique identifier that references the migration task. Do not store personal data in this field.next_update_seconds
: Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update. If Migration Hub does not receive an update within the specified interval, then the migration task will be considered stale.progress_update_stream
: The name of the ProgressUpdateStream.task
: Information about the task's progress and status.update_date_time
: The timestamp when the task was gathered.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DryRun"
: Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
Main.Migration_Hub.put_resource_attributes
— Methodput_resource_attributes(migration_task_name, progress_update_stream, resource_attribute_list)
put_resource_attributes(migration_task_name, progress_update_stream, resource_attribute_list, params::Dict{String,<:Any})
Provides identifying details of the resource being migrated so that it can be associated in the Application Discovery Service 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 overriding the MAC address. Note the instructions regarding the special use case of the ResourceAttributeList parameter when specifying any "VM" related value. 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 ListDiscoveredResources.
Arguments
migration_task_name
: Unique identifier that references the migration task. Do not store personal data in this field.progress_update_stream
: The name of the ProgressUpdateStream.resource_attribute_list
: Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository. Takes the object array of ResourceAttribute where the Type field is reserved for the following values: IPV4ADDRESS | IPV6ADDRESS | MACADDRESS | FQDN | VMMANAGERID | VMMANAGEDOBJECTREFERENCE | VMNAME | VMPATH | BIOSID | MOTHERBOARDSERIALNUMBER where the identifying value can be a string up to 256 characters. If any "VM" related value is set for a ResourceAttribute object, it is required that VMMANAGERID, as a minimum, is always set. If VMMANAGER_ID is not set, then all "VM" fields will be discarded and "VM" fields will not be used for matching the migration task to a server in Application Discovery Service repository. See the Example section below for a use case of specifying "VM" related values. If a server you are trying to match has multiple IP or MAC addresses, you should provide as many as you know in separate type/value pairs passed to the ResourceAttributeList parameter to maximize the chances of matching.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DryRun"
: Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.