#[non_exhaustive]pub struct CreateDatasetGroupInput {
pub name: Option<String>,
pub role_arn: Option<String>,
pub kms_key_arn: Option<String>,
pub domain: Option<Domain>,
pub tags: Option<Vec<Tag>>,
}
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 for the new dataset group.
role_arn: Option<String>
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.
kms_key_arn: Option<String>
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
domain: Option<Domain>
The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify determines the default schemas for datasets and the use cases available for recommenders. If you don't specify a domain, you create a Custom dataset group with solution versions that you deploy with a campaign.
A list of tags to apply to the dataset group.
Implementations§
source§impl CreateDatasetGroupInput
impl CreateDatasetGroupInput
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
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.
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
sourcepub fn domain(&self) -> Option<&Domain>
pub fn domain(&self) -> Option<&Domain>
The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify determines the default schemas for datasets and the use cases available for recommenders. If you don't specify a domain, you create a Custom dataset group with solution versions that you deploy with a campaign.
A list of tags to apply to the dataset group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateDatasetGroupInput
impl CreateDatasetGroupInput
sourcepub fn builder() -> CreateDatasetGroupInputBuilder
pub fn builder() -> CreateDatasetGroupInputBuilder
Creates a new builder-style object to manufacture CreateDatasetGroupInput
.
Trait Implementations§
source§impl Clone for CreateDatasetGroupInput
impl Clone for CreateDatasetGroupInput
source§fn clone(&self) -> CreateDatasetGroupInput
fn clone(&self) -> CreateDatasetGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDatasetGroupInput
impl Debug for CreateDatasetGroupInput
source§impl PartialEq for CreateDatasetGroupInput
impl PartialEq for CreateDatasetGroupInput
source§fn eq(&self, other: &CreateDatasetGroupInput) -> bool
fn eq(&self, other: &CreateDatasetGroupInput) -> bool
self
and other
values to be equal, and is used
by ==
.