start_search_result_export_job
async
¶
start_search_result_export_job(
search_job_identifier: GenericId,
export_specification: ExportSpecification,
*,
config_overrides: Optional[AsyncBackupSearchClientConfig] = None,
client_token: Optional[str] = None,
tags: Optional[TagMap] = None,
role_arn: Optional[IamRoleArn] = None,
) -> StartSearchResultExportJobOutput
This operations starts a job to export the results of search job to a designated S3 bucket.
Parameters:
-
search_job_identifier(GenericId) –The unique string that specifies the search job.
-
export_specification(ExportSpecification) –This specification contains a required string of the destination bucket; optionally, you can include the destination prefix.
-
client_token(Optional[str], default:None) –Include this parameter to allow multiple identical calls for idempotency.
A client token is valid for 8 hours after the first request that uses it is completed. After this time, any request with the same token is treated as a new request.
-
tags(Optional[TagMap], default:None) –Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters, numbers, spaces, and the following characters: + - = . _ : /.
-
role_arn(Optional[IamRoleArn], default:None) –This parameter specifies the role ARN used to start the search results export jobs.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by a service.
-
ConflictException–This exception occurs when a conflict with a previous successful operation is detected. This generally occurs when the previous operation did not have time to propagate to the host serving the current request.
A retry (with appropriate backoff logic) is the recommended response to this exception.
-
ResourceNotFoundException–The resource was not found for this request.
Confirm the resource information, such as the ARN or type is correct and exists, then retry the request.
-
ServiceQuotaExceededException–The request denied due to exceeding the quota limits permitted.
-
UnknownServiceError–The service returned an error code this client does not model.