Struct aws_sdk_rekognition::operation::describe_projects::builders::DescribeProjectsFluentBuilder
source · pub struct DescribeProjectsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeProjects.
Gets information about your Rekognition projects.
This operation requires permissions to perform the rekognition:DescribeProjects action.
Implementations§
source§impl DescribeProjectsFluentBuilder
impl DescribeProjectsFluentBuilder
sourcepub fn as_input(&self) -> &DescribeProjectsInputBuilder
pub fn as_input(&self) -> &DescribeProjectsInputBuilder
Access the DescribeProjects as a reference.
sourcepub async fn send(
self
) -> Result<DescribeProjectsOutput, SdkError<DescribeProjectsError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeProjectsOutput, SdkError<DescribeProjectsError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<DescribeProjectsOutput, DescribeProjectsError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeProjectsOutput, DescribeProjectsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 PaginationStream.
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), Rekognition 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), Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the previous response was incomplete (because there is more results to retrieve), Rekognition 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 get_max_results(&self) -> &Option<i32>
pub fn get_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 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 Rekognition 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 Rekognition to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.
sourcepub fn get_project_names(&self) -> &Option<Vec<String>>
pub fn get_project_names(&self) -> &Option<Vec<String>>
A list of the projects that you want Rekognition to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.
sourcepub fn features(self, input: CustomizationFeature) -> Self
pub fn features(self, input: CustomizationFeature) -> Self
Appends an item to Features.
To override the contents of this collection use set_features.
Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used as a default.
sourcepub fn set_features(self, input: Option<Vec<CustomizationFeature>>) -> Self
pub fn set_features(self, input: Option<Vec<CustomizationFeature>>) -> Self
Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used as a default.
sourcepub fn get_features(&self) -> &Option<Vec<CustomizationFeature>>
pub fn get_features(&self) -> &Option<Vec<CustomizationFeature>>
Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used as a default.
Trait Implementations§
source§impl Clone for DescribeProjectsFluentBuilder
impl Clone for DescribeProjectsFluentBuilder
source§fn clone(&self) -> DescribeProjectsFluentBuilder
fn clone(&self) -> DescribeProjectsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more