Smaws_Client_Personalize.CreateDatasetExportJobCreates a job that exports data from your dataset to an Amazon S3 bucket. To allow Amazon Personalize to export the training data, you must specify an service-linked IAM role that gives Amazon Personalize PutObject permissions for your Amazon S3 bucket. For information, see Exporting a dataset in the Amazon Personalize developer guide.
Status
A dataset export job can be in one of the following states:
To get the status of the export job, call DescribeDatasetExportJob, and specify the Amazon Resource Name (ARN) of the dataset export job. The dataset export is complete when the status shows as ACTIVE. If the status shows as CREATE FAILED, the response includes a failureReason key, which describes why the job failed.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of Types.resource_already_exists_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TooManyTagsException of Types.too_many_tags_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_dataset_export_job_request ->
(Types.create_dataset_export_job_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TooManyTagsException of Types.too_many_tags_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_dataset_export_job_request ->
(Types.create_dataset_export_job_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TooManyTagsException of Types.too_many_tags_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result