list_created_artifacts
async
¶
list_created_artifacts(
progress_update_stream: ProgressUpdateStream,
migration_task_name: MigrationTaskName,
*,
config_overrides: Optional[AsyncMigrationHubClientConfig] = None,
next_token: Optional[Token] = None,
max_results: Optional[MaxResultsCreatedArtifacts] = None,
) -> ListCreatedArtifactsResult
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
AssociateCreatedArtifactAPI. -
Lists created artifacts in a paginated interface.
Parameters:
-
progress_update_stream(ProgressUpdateStream) –The name of the ProgressUpdateStream.
-
migration_task_name(MigrationTaskName) –Unique identifier that references the migration task. Do not store personal data in this field.
-
next_token(Optional[Token], default:None) –If a
NextTokenwas 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 inNextToken. -
max_results(Optional[MaxResultsCreatedArtifacts], default:None) –Maximum number of results to be returned per page.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
HomeRegionNotSetException–The home region is not set. Set the home region to continue.
-
InternalServerError–Exception raised when an internal, configuration, or dependency error is encountered.
-
InvalidInputException–Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
-
ResourceNotFoundException–Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.
-
ServiceUnavailableException–Exception raised when there is an internal, configuration, or dependency error encountered.
-
ThrottlingException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.