Struct aws_sdk_personalize::input::CreateDatasetGroupInput
source · [−]#[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
sourceimpl CreateDatasetGroupInput
impl CreateDatasetGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDatasetGroup, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDatasetGroup, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateDatasetGroup
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateDatasetGroupInput
sourceimpl 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.
Trait Implementations
sourceimpl Clone for CreateDatasetGroupInput
impl Clone for CreateDatasetGroupInput
sourcefn clone(&self) -> CreateDatasetGroupInput
fn clone(&self) -> CreateDatasetGroupInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateDatasetGroupInput
impl Debug for CreateDatasetGroupInput
sourceimpl PartialEq<CreateDatasetGroupInput> for CreateDatasetGroupInput
impl PartialEq<CreateDatasetGroupInput> for CreateDatasetGroupInput
sourcefn eq(&self, other: &CreateDatasetGroupInput) -> bool
fn eq(&self, other: &CreateDatasetGroupInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateDatasetGroupInput) -> bool
fn ne(&self, other: &CreateDatasetGroupInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateDatasetGroupInput
Auto Trait Implementations
impl RefUnwindSafe for CreateDatasetGroupInput
impl Send for CreateDatasetGroupInput
impl Sync for CreateDatasetGroupInput
impl Unpin for CreateDatasetGroupInput
impl UnwindSafe for CreateDatasetGroupInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more