pub struct ListDatasetEntries { /* private fields */ }Expand description
Fluent builder constructing a request to ListDatasetEntries.
Lists the JSON Lines within a dataset. An Amazon Lookout for Vision JSON Line contains the anomaly information for a single image, including the image location and the assigned label.
This operation requires permissions to perform the lookoutvision:ListDatasetEntries operation.
Implementations
sourceimpl ListDatasetEntries
impl ListDatasetEntries
sourcepub async fn send(
self
) -> Result<ListDatasetEntriesOutput, SdkError<ListDatasetEntriesError>>
pub async fn send(
self
) -> Result<ListDatasetEntriesOutput, SdkError<ListDatasetEntriesError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn into_paginator(self) -> ListDatasetEntriesPaginator
pub fn into_paginator(self) -> ListDatasetEntriesPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project that contains the dataset that you want to list.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project that contains the dataset that you want to list.
sourcepub fn dataset_type(self, input: impl Into<String>) -> Self
pub fn dataset_type(self, input: impl Into<String>) -> Self
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 set_dataset_type(self, input: Option<String>) -> Self
pub fn set_dataset_type(self, input: Option<String>) -> Self
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, input: bool) -> Self
pub fn labeled(self, input: bool) -> Self
Specify true to include labeled entries, otherwise specify false. If you don't specify a value, Lookout for Vision returns all entries.
sourcepub fn set_labeled(self, input: Option<bool>) -> Self
pub fn set_labeled(self, input: Option<bool>) -> Self
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, input: impl Into<String>) -> Self
pub fn anomaly_class(self, input: impl Into<String>) -> Self
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 set_anomaly_class(self, input: Option<String>) -> Self
pub fn set_anomaly_class(self, input: Option<String>) -> Self
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, input: DateTime) -> Self
pub fn before_creation_date(self, input: DateTime) -> Self
Only includes entries before the specified date in the response. For example, 2020-06-23T00:00:00.
sourcepub fn set_before_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_before_creation_date(self, input: Option<DateTime>) -> Self
Only includes entries before the specified date in the response. For example, 2020-06-23T00:00:00.
sourcepub fn after_creation_date(self, input: DateTime) -> Self
pub fn after_creation_date(self, input: DateTime) -> Self
Only includes entries after the specified date in the response. For example, 2020-06-23T00:00:00.
sourcepub fn set_after_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_after_creation_date(self, input: Option<DateTime>) -> Self
Only includes entries after the specified date in the response. For example, 2020-06-23T00:00:00.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
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 set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
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, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
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 set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
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, input: impl Into<String>) -> Self
pub fn source_ref_contains(self, input: impl Into<String>) -> Self
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*.
sourcepub fn set_source_ref_contains(self, input: Option<String>) -> Self
pub fn set_source_ref_contains(self, input: Option<String>) -> Self
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*.
Trait Implementations
sourceimpl Clone for ListDatasetEntries
impl Clone for ListDatasetEntries
sourcefn clone(&self) -> ListDatasetEntries
fn clone(&self) -> ListDatasetEntries
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
Auto Trait Implementations
impl !RefUnwindSafe for ListDatasetEntries
impl Send for ListDatasetEntries
impl Sync for ListDatasetEntries
impl Unpin for ListDatasetEntries
impl !UnwindSafe for ListDatasetEntries
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