#[non_exhaustive]pub struct CreateDatasetImportJobInput { /* private fields */ }
Implementations§
source§impl CreateDatasetImportJobInput
impl CreateDatasetImportJobInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDatasetImportJob, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDatasetImportJob, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateDatasetImportJob
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateDatasetImportJobInput
.
source§impl CreateDatasetImportJobInput
impl CreateDatasetImportJobInput
sourcepub fn dataset_arn(&self) -> Option<&str>
pub fn dataset_arn(&self) -> Option<&str>
The ARN of the dataset that receives the imported data.
sourcepub fn data_source(&self) -> Option<&DataSource>
pub fn data_source(&self) -> Option<&DataSource>
The Amazon S3 bucket that contains the training data to import.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
A list of tags to apply to the dataset import job.
sourcepub fn import_mode(&self) -> Option<&ImportMode>
pub fn import_mode(&self) -> Option<&ImportMode>
Specify how to add the new records to an existing dataset. The default import mode is FULL
. If you haven't imported bulk records into the dataset previously, you can only specify FULL
.
-
Specify
FULL
to overwrite all existing bulk data in your dataset. Data you imported individually is not replaced. -
Specify
INCREMENTAL
to append the new records to the existing data in your dataset. Amazon Personalize replaces any record with the same ID with the new one.
sourcepub fn publish_attribution_metrics_to_s3(&self) -> Option<bool>
pub fn publish_attribution_metrics_to_s3(&self) -> Option<bool>
If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3
Trait Implementations§
source§impl Clone for CreateDatasetImportJobInput
impl Clone for CreateDatasetImportJobInput
source§fn clone(&self) -> CreateDatasetImportJobInput
fn clone(&self) -> CreateDatasetImportJobInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDatasetImportJobInput
impl Debug for CreateDatasetImportJobInput
source§impl PartialEq<CreateDatasetImportJobInput> for CreateDatasetImportJobInput
impl PartialEq<CreateDatasetImportJobInput> for CreateDatasetImportJobInput
source§fn eq(&self, other: &CreateDatasetImportJobInput) -> bool
fn eq(&self, other: &CreateDatasetImportJobInput) -> bool
self
and other
values to be equal, and is used
by ==
.