Struct aws_sdk_personalize::client::fluent_builders::CreateDatasetGroup [−][src]
pub struct CreateDatasetGroup<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateDatasetGroup
.
Creates an empty dataset group. A dataset group contains related datasets that supply data for training a model. A dataset group can contain at most three datasets, one for each type of dataset:
-
Interactions
-
Items
-
Users
To train a model (create a solution), a dataset group that contains an
Interactions
dataset is required. Call CreateDataset to add a
dataset to the group.
A dataset group can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING
To get the status of the dataset group, call DescribeDatasetGroup. If
the status shows as CREATE FAILED, the response includes a failureReason
key,
which describes why the creation failed.
You must wait until the status
of the dataset group is ACTIVE
before adding a dataset to the group.
You can specify an Key Management Service (KMS) key to encrypt the datasets in the group. If you specify a KMS key, you must also include an Identity and Access Management (IAM) role that has permission to access the key.
APIs that require a dataset group ARN in the request
Related APIs
Implementations
impl<C, M, R> CreateDatasetGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateDatasetGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateDatasetGroupOutput, SdkError<CreateDatasetGroupError>> where
R::Policy: SmithyRetryPolicy<CreateDatasetGroupInputOperationOutputAlias, CreateDatasetGroupOutput, CreateDatasetGroupError, CreateDatasetGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateDatasetGroupOutput, SdkError<CreateDatasetGroupError>> where
R::Policy: SmithyRetryPolicy<CreateDatasetGroupInputOperationOutputAlias, CreateDatasetGroupOutput, CreateDatasetGroupError, CreateDatasetGroupInputOperationRetryAlias>,
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 ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateDatasetGroup<C, M, R>
impl<C, M, R> Send for CreateDatasetGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateDatasetGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateDatasetGroup<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateDatasetGroup<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