Struct aws_sdk_personalize::client::fluent_builders::CreateDatasetExportJob [−][src]
pub struct CreateDatasetExportJob<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateDatasetExportJob
.
Creates 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:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
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.
Implementations
impl<C, M, R> CreateDatasetExportJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateDatasetExportJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateDatasetExportJobOutput, SdkError<CreateDatasetExportJobError>> where
R::Policy: SmithyRetryPolicy<CreateDatasetExportJobInputOperationOutputAlias, CreateDatasetExportJobOutput, CreateDatasetExportJobError, CreateDatasetExportJobInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateDatasetExportJobOutput, SdkError<CreateDatasetExportJobError>> where
R::Policy: SmithyRetryPolicy<CreateDatasetExportJobInputOperationOutputAlias, CreateDatasetExportJobOutput, CreateDatasetExportJobError, CreateDatasetExportJobInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name for the dataset export job.
The Amazon Resource Name (ARN) of the dataset that contains the data to export.
The Amazon Resource Name (ARN) of the dataset that contains the data to export.
The data to export, based on how you imported the data. You can choose to export only BULK
data that you imported using a dataset import job,
only PUT
data that you imported incrementally (using the console, PutEvents, PutUsers and PutItems operations), or ALL
for both types. The default value is PUT
.
The data to export, based on how you imported the data. You can choose to export only BULK
data that you imported using a dataset import job,
only PUT
data that you imported incrementally (using the console, PutEvents, PutUsers and PutItems operations), or ALL
for both types. The default value is PUT
.
The Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output Amazon S3 bucket.
The Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output Amazon S3 bucket.
The path to the Amazon S3 bucket where the job's output is stored.
The path to the Amazon S3 bucket where the job's output is stored.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateDatasetExportJob<C, M, R>
impl<C, M, R> Send for CreateDatasetExportJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateDatasetExportJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateDatasetExportJob<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateDatasetExportJob<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more