pub struct DescribeProjects { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeProjects.
Gets information about your Amazon Rekognition Custom Labels projects.
This operation requires permissions to perform the rekognition:DescribeProjects action.
Implementations
sourceimpl DescribeProjects
impl DescribeProjects
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeProjects, AwsResponseRetryClassifier>, SdkError<DescribeProjectsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeProjects, AwsResponseRetryClassifier>, SdkError<DescribeProjectsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeProjectsOutput, SdkError<DescribeProjectsError>>
pub async fn send(
self
) -> Result<DescribeProjectsOutput, SdkError<DescribeProjectsError>>
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) -> DescribeProjectsPaginator
pub fn into_paginator(self) -> DescribeProjectsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
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 results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
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 results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
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 project_names(self, input: impl Into<String>) -> Self
pub fn project_names(self, input: impl Into<String>) -> Self
Appends an item to ProjectNames.
To override the contents of this collection use set_project_names.
A list of the projects that you want Amazon Rekognition Custom Labels to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.
sourcepub fn set_project_names(self, input: Option<Vec<String>>) -> Self
pub fn set_project_names(self, input: Option<Vec<String>>) -> Self
A list of the projects that you want Amazon Rekognition Custom Labels to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.
Trait Implementations
sourceimpl Clone for DescribeProjects
impl Clone for DescribeProjects
sourcefn clone(&self) -> DescribeProjects
fn clone(&self) -> DescribeProjects
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more