list_migrations
async
¶
list_migrations(
application_id: ApplicationId,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
status: Optional[String] = None,
max_results: Optional[Integer] = None,
next_token: Optional[String] = None,
) -> ListMigrationsResponse
Lists migration jobs for an Amazon OpenSearch Service application. You can filter results by migration status. Use pagination to ensure that the operation returns quickly and successfully.
Parameters:
-
application_id(ApplicationId) –The unique identifier of the OpenSearch application to list migrations for.
-
status(Optional[String], default:None) –Filters the results by migration status. Valid values are
PENDING,IN_PROGRESS,SUCCEEDED, andFAILED. -
max_results(Optional[Integer], default:None) –The maximum number of results to return in a single call.
-
next_token(Optional[String], default:None) –The pagination token from a previous call to retrieve the next set of results.
Raises:
-
AccessDeniedException–An error occurred because you don't have permissions to access the resource.
-
DisabledOperationException–An error occured because the client wanted to access an unsupported operation.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.