Struct aws_sdk_personalize::types::DatasetExportJob
source · #[non_exhaustive]pub struct DatasetExportJob {
pub job_name: Option<String>,
pub dataset_export_job_arn: Option<String>,
pub dataset_arn: Option<String>,
pub ingestion_mode: Option<IngestionMode>,
pub role_arn: Option<String>,
pub status: Option<String>,
pub job_output: Option<DatasetExportJobOutput>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
pub failure_reason: Option<String>,
}
Expand description
Describes a job that exports a dataset to an Amazon S3 bucket. For more information, see CreateDatasetExportJob.
A dataset export job can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
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.job_name: Option<String>
The name of the export job.
dataset_export_job_arn: Option<String>
The Amazon Resource Name (ARN) of the dataset export job.
dataset_arn: Option<String>
The Amazon Resource Name (ARN) of the dataset to export.
ingestion_mode: Option<IngestionMode>
The data to export, based on how you imported the data. You can choose to export BULK
data that you imported using a dataset import job, PUT
data that you imported incrementally (using the console, PutEvents, PutUsers and PutItems operations), or ALL
for both types. The default value is PUT
.
role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output Amazon S3 bucket.
status: Option<String>
The status of the dataset export job.
A dataset export job can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
job_output: Option<DatasetExportJobOutput>
The path to the Amazon S3 bucket where the job's output is stored. For example:
s3://bucket-name/folder-name/
creation_date_time: Option<DateTime>
The creation date and time (in Unix time) of the dataset export job.
last_updated_date_time: Option<DateTime>
The date and time (in Unix time) the status of the dataset export job was last updated.
failure_reason: Option<String>
If a dataset export job fails, provides the reason why.
Implementations§
source§impl DatasetExportJob
impl DatasetExportJob
sourcepub fn dataset_export_job_arn(&self) -> Option<&str>
pub fn dataset_export_job_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the dataset export job.
sourcepub fn dataset_arn(&self) -> Option<&str>
pub fn dataset_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the dataset to export.
sourcepub fn ingestion_mode(&self) -> Option<&IngestionMode>
pub fn ingestion_mode(&self) -> Option<&IngestionMode>
The data to export, based on how you imported the data. You can choose to export BULK
data that you imported using a dataset import job, PUT
data that you imported incrementally (using the console, PutEvents, PutUsers and PutItems operations), or ALL
for both types. The default value is PUT
.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output Amazon S3 bucket.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the dataset export job.
A dataset export job can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
sourcepub fn job_output(&self) -> Option<&DatasetExportJobOutput>
pub fn job_output(&self) -> Option<&DatasetExportJobOutput>
The path to the Amazon S3 bucket where the job's output is stored. For example:
s3://bucket-name/folder-name/
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 export job.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
The date and time (in Unix time) the status of the dataset export job was last updated.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
If a dataset export job fails, provides the reason why.
source§impl DatasetExportJob
impl DatasetExportJob
sourcepub fn builder() -> DatasetExportJobBuilder
pub fn builder() -> DatasetExportJobBuilder
Creates a new builder-style object to manufacture DatasetExportJob
.
Trait Implementations§
source§impl Clone for DatasetExportJob
impl Clone for DatasetExportJob
source§fn clone(&self) -> DatasetExportJob
fn clone(&self) -> DatasetExportJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DatasetExportJob
impl Debug for DatasetExportJob
source§impl PartialEq for DatasetExportJob
impl PartialEq for DatasetExportJob
source§fn eq(&self, other: &DatasetExportJob) -> bool
fn eq(&self, other: &DatasetExportJob) -> bool
self
and other
values to be equal, and is used
by ==
.