Struct aws_sdk_personalize::types::DatasetGroup
source · #[non_exhaustive]pub struct DatasetGroup {
pub name: Option<String>,
pub dataset_group_arn: Option<String>,
pub status: Option<String>,
pub role_arn: Option<String>,
pub kms_key_arn: Option<String>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
pub failure_reason: Option<String>,
pub domain: Option<Domain>,
}
Expand description
A dataset group is a collection of related datasets (Interactions, User, and Item). You create a dataset group by calling CreateDatasetGroup. You then create a dataset and add it to a dataset group by calling CreateDataset. The dataset group is used to create and train a solution by calling CreateSolution. A dataset group can contain only one of each type of dataset.
You can specify an Key Management Service (KMS) key to encrypt the datasets in the group.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the dataset group.
dataset_group_arn: Option<String>
The Amazon Resource Name (ARN) of the dataset group.
status: Option<String>
The current status of the dataset group.
A dataset group can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING
role_arn: Option<String>
The ARN of the IAM role that has permissions to create the dataset group.
kms_key_arn: Option<String>
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.
creation_date_time: Option<DateTime>
The creation date and time (in Unix time) of the dataset group.
last_updated_date_time: Option<DateTime>
The last update date and time (in Unix time) of the dataset group.
failure_reason: Option<String>
If creating a dataset group fails, provides the reason why.
domain: Option<Domain>
The domain of a Domain dataset group.
Implementations§
source§impl DatasetGroup
impl DatasetGroup
sourcepub fn dataset_group_arn(&self) -> Option<&str>
pub fn dataset_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the dataset group.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The current status of the dataset group.
A dataset group can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The ARN of the IAM role that has permissions to create the dataset group.
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The creation date and time (in Unix time) of the dataset group.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
The last update date and time (in Unix time) of the dataset group.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
If creating a dataset group fails, provides the reason why.
source§impl DatasetGroup
impl DatasetGroup
sourcepub fn builder() -> DatasetGroupBuilder
pub fn builder() -> DatasetGroupBuilder
Creates a new builder-style object to manufacture DatasetGroup
.
Trait Implementations§
source§impl Clone for DatasetGroup
impl Clone for DatasetGroup
source§fn clone(&self) -> DatasetGroup
fn clone(&self) -> DatasetGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DatasetGroup
impl Debug for DatasetGroup
source§impl PartialEq for DatasetGroup
impl PartialEq for DatasetGroup
source§fn eq(&self, other: &DatasetGroup) -> bool
fn eq(&self, other: &DatasetGroup) -> bool
self
and other
values to be equal, and is used
by ==
.