#[non_exhaustive]pub struct ListDatasetEntriesInput {
pub project_name: Option<String>,
pub dataset_type: Option<String>,
pub labeled: Option<bool>,
pub anomaly_class: Option<String>,
pub before_creation_date: Option<DateTime>,
pub after_creation_date: Option<DateTime>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub source_ref_contains: Option<String>,
}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.project_name: Option<String>The name of the project that contains the dataset that you want to list.
dataset_type: Option<String>The type of the dataset that you want to list. Specify train to list the training dataset. Specify test to list the test dataset. If you have a single dataset project, specify train.
labeled: Option<bool>Specify true to include labeled entries, otherwise specify false. If you don't specify a value, Lookout for Vision returns all entries.
anomaly_class: Option<String>Specify normal to include only normal images. Specify anomaly to only include anomalous entries. If you don't specify a value, Amazon Lookout for Vision returns normal and anomalous images.
before_creation_date: Option<DateTime>Only includes entries before the specified date in the response. For example, 2020-06-23T00:00:00.
after_creation_date: Option<DateTime>Only includes entries after the specified date in the response. For example, 2020-06-23T00:00:00.
next_token: Option<String>If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of dataset entries.
max_results: Option<i32>The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
source_ref_contains: Option<String>Perform a "contains" search on the values of the source-ref key within the dataset. For example a value of "IMG_17" returns all JSON Lines where the source-ref key value matches *IMG_17*.
Implementations§
source§impl ListDatasetEntriesInput
impl ListDatasetEntriesInput
sourcepub fn project_name(&self) -> Option<&str>
pub fn project_name(&self) -> Option<&str>
The name of the project that contains the dataset that you want to list.
sourcepub fn dataset_type(&self) -> Option<&str>
pub fn dataset_type(&self) -> Option<&str>
The type of the dataset that you want to list. Specify train to list the training dataset. Specify test to list the test dataset. If you have a single dataset project, specify train.
sourcepub fn labeled(&self) -> Option<bool>
pub fn labeled(&self) -> Option<bool>
Specify true to include labeled entries, otherwise specify false. If you don't specify a value, Lookout for Vision returns all entries.
sourcepub fn anomaly_class(&self) -> Option<&str>
pub fn anomaly_class(&self) -> Option<&str>
Specify normal to include only normal images. Specify anomaly to only include anomalous entries. If you don't specify a value, Amazon Lookout for Vision returns normal and anomalous images.
sourcepub fn before_creation_date(&self) -> Option<&DateTime>
pub fn before_creation_date(&self) -> Option<&DateTime>
Only includes entries before the specified date in the response. For example, 2020-06-23T00:00:00.
sourcepub fn after_creation_date(&self) -> Option<&DateTime>
pub fn after_creation_date(&self) -> Option<&DateTime>
Only includes entries after the specified date in the response. For example, 2020-06-23T00:00:00.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of dataset entries.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
sourcepub fn source_ref_contains(&self) -> Option<&str>
pub fn source_ref_contains(&self) -> Option<&str>
Perform a "contains" search on the values of the source-ref key within the dataset. For example a value of "IMG_17" returns all JSON Lines where the source-ref key value matches *IMG_17*.
source§impl ListDatasetEntriesInput
impl ListDatasetEntriesInput
sourcepub fn builder() -> ListDatasetEntriesInputBuilder
pub fn builder() -> ListDatasetEntriesInputBuilder
Creates a new builder-style object to manufacture ListDatasetEntriesInput.
Trait Implementations§
source§impl Clone for ListDatasetEntriesInput
impl Clone for ListDatasetEntriesInput
source§fn clone(&self) -> ListDatasetEntriesInput
fn clone(&self) -> ListDatasetEntriesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListDatasetEntriesInput
impl Debug for ListDatasetEntriesInput
source§impl PartialEq for ListDatasetEntriesInput
impl PartialEq for ListDatasetEntriesInput
source§fn eq(&self, other: &ListDatasetEntriesInput) -> bool
fn eq(&self, other: &ListDatasetEntriesInput) -> bool
self and other values to be equal, and is used
by ==.