Skip to main content

progress_update_streams

Creates, updates, deletes, gets or lists a progress_update_streams resource.

Overview

Nameprogress_update_streams
TypeResource
Idaws.mgh.progress_update_streams

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
progress_update_stream_namestringThe name of the ProgressUpdateStream. Do not store personal data in this field. (pattern: <code>[^/:|\000-\037]+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_progress_update_streamsselectregionLists progress update streams associated with the user account making this call.
create_progress_update_streaminsertregion, ProgressUpdateStreamNameCreates 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.
delete_progress_update_streamdeleteregionDeletes 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).

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists progress update streams associated with the user account making this call.

SELECT
progress_update_stream_name
FROM aws.mgh.progress_update_streams
WHERE region = '{{ region }}' -- required
;

INSERT examples

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.

INSERT INTO aws.mgh.progress_update_streams (
ProgressUpdateStreamName,
DryRun,
region
)
SELECT
'{{ ProgressUpdateStreamName }}' /* required */,
{{ DryRun }},
'{{ region }}'
;

DELETE examples

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).

DELETE FROM aws.mgh.progress_update_streams
WHERE region = '{{ region }}' --required
;