create_data_set_export_task
async
¶
create_data_set_export_task(
application_id: Identifier,
export_config: DataSetExportConfig,
*,
config_overrides: Optional[Asyncm2ClientConfig] = None,
client_token: Optional[ClientToken] = None,
kms_key_id: Optional[KMSKeyId] = None,
) -> CreateDataSetExportTaskResponse
Starts a data set export task for a specific application.
Parameters:
-
application_id(Identifier) –The unique identifier of the application for which you want to export data sets.
-
export_config(DataSetExportConfig) –The data set export task configuration.
-
client_token(Optional[ClientToken], default:None) –Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create a data set export. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
-
kms_key_id(Optional[KMSKeyId], default:None) –The identifier of a customer managed key.
Raises:
-
AccessDeniedException–The account or role doesn't have the right permissions to make the request.
-
ConflictException–The parameters provided in the request conflict with existing resources.
-
InternalServerException–An unexpected error occurred during the processing of the request.
-
ResourceNotFoundException–The specified resource was not found.
-
ServiceQuotaExceededException–One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.
-
ThrottlingException–The number of requests made exceeds the limit.
-
ValidationException–One or more parameters provided in the request is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.