Struct aws_sdk_rekognition::types::DatasetSource
source · #[non_exhaustive]pub struct DatasetSource {
pub ground_truth_manifest: Option<GroundTruthManifest>,
pub dataset_arn: Option<String>,
}Expand description
The source that Amazon Rekognition Custom Labels uses to create a dataset. To use an Amazon Sagemaker format manifest file, specify the S3 bucket location in the GroundTruthManifest field. The S3 bucket must be in your AWS account. To create a copy of an existing dataset, specify the Amazon Resource Name (ARN) of an existing dataset in DatasetArn.
You need to specify a value for DatasetArn or GroundTruthManifest, but not both. if you supply both values, or if you don't specify any values, an InvalidParameterException exception occurs.
For more information, see CreateDataset.
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.ground_truth_manifest: Option<GroundTruthManifest>The S3 bucket that contains an Amazon Sagemaker Ground Truth format manifest file.
dataset_arn: Option<String>The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.
Implementations§
source§impl DatasetSource
impl DatasetSource
sourcepub fn ground_truth_manifest(&self) -> Option<&GroundTruthManifest>
pub fn ground_truth_manifest(&self) -> Option<&GroundTruthManifest>
The S3 bucket that contains an Amazon Sagemaker Ground Truth format manifest file.
sourcepub fn dataset_arn(&self) -> Option<&str>
pub fn dataset_arn(&self) -> Option<&str>
The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.
source§impl DatasetSource
impl DatasetSource
sourcepub fn builder() -> DatasetSourceBuilder
pub fn builder() -> DatasetSourceBuilder
Creates a new builder-style object to manufacture DatasetSource.
Trait Implementations§
source§impl Clone for DatasetSource
impl Clone for DatasetSource
source§fn clone(&self) -> DatasetSource
fn clone(&self) -> DatasetSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DatasetSource
impl Debug for DatasetSource
source§impl PartialEq for DatasetSource
impl PartialEq for DatasetSource
source§fn eq(&self, other: &DatasetSource) -> bool
fn eq(&self, other: &DatasetSource) -> bool
self and other values to be equal, and is used
by ==.