Struct aws_sdk_personalize::client::fluent_builders::CreateBatchSegmentJob [−][src]
pub struct CreateBatchSegmentJob<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreateBatchSegmentJob.
Creates a batch segment job. The operation can handle up to 50 million records and the input file must be in JSON format. For more information, see recommendations-batch.
Implementations
impl<C, M, R> CreateBatchSegmentJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateBatchSegmentJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateBatchSegmentJobOutput, SdkError<CreateBatchSegmentJobError>> where
R::Policy: SmithyRetryPolicy<CreateBatchSegmentJobInputOperationOutputAlias, CreateBatchSegmentJobOutput, CreateBatchSegmentJobError, CreateBatchSegmentJobInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateBatchSegmentJobOutput, SdkError<CreateBatchSegmentJobError>> where
R::Policy: SmithyRetryPolicy<CreateBatchSegmentJobInputOperationOutputAlias, CreateBatchSegmentJobOutput, CreateBatchSegmentJobError, CreateBatchSegmentJobInputOperationRetryAlias>,
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 of the batch segment job to create.
The name of the batch segment job to create.
The Amazon Resource Name (ARN) of the solution version you want the batch segment job to use to generate batch segments.
The Amazon Resource Name (ARN) of the solution version you want the batch segment job to use to generate batch segments.
The ARN of the filter to apply to the batch segment job. For more information on using filters, see filter-batch.
The ARN of the filter to apply to the batch segment job. For more information on using filters, see filter-batch.
The number of predicted users generated by the batch segment job for each line of input data.
The number of predicted users generated by the batch segment job for each line of input data.
The Amazon S3 path for the input data used to generate the batch segment job.
The Amazon S3 path for the input data used to generate the batch segment job.
The Amazon S3 path for the bucket where the job's output will be stored.
The Amazon S3 path for the bucket where the job's output will be stored.
The ARN of the Amazon Identity and Access Management role that has permissions to read and write to your input and output Amazon S3 buckets respectively.
The ARN of the Amazon Identity and Access Management role that has permissions to read and write to your input and output Amazon S3 buckets respectively.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateBatchSegmentJob<C, M, R>
impl<C, M, R> Send for CreateBatchSegmentJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateBatchSegmentJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateBatchSegmentJob<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateBatchSegmentJob<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
