pub struct DescribeRepositories { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeRepositories.
Describes repositories that are in a public registry.
Implementations§
source§impl DescribeRepositories
impl DescribeRepositories
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeRepositories, AwsResponseRetryClassifier>, SdkError<DescribeRepositoriesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeRepositories, AwsResponseRetryClassifier>, SdkError<DescribeRepositoriesError>>
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<DescribeRepositoriesOutput, SdkError<DescribeRepositoriesError>>
pub async fn send(
self
) -> Result<DescribeRepositoriesOutput, SdkError<DescribeRepositoriesError>>
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) -> DescribeRepositoriesPaginator
pub fn into_paginator(self) -> DescribeRepositoriesPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn registry_id(self, input: impl Into<String>) -> Self
pub fn registry_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID that's associated with the registry that contains the repositories to be described. If you do not specify a registry, the default public registry is assumed.
sourcepub fn set_registry_id(self, input: Option<String>) -> Self
pub fn set_registry_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID that's associated with the registry that contains the repositories to be described. If you do not specify a registry, the default public registry is assumed.
sourcepub fn repository_names(self, input: impl Into<String>) -> Self
pub fn repository_names(self, input: impl Into<String>) -> Self
Appends an item to repositoryNames.
To override the contents of this collection use set_repository_names.
A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described.
sourcepub fn set_repository_names(self, input: Option<Vec<String>>) -> Self
pub fn set_repository_names(self, input: Option<Vec<String>>) -> Self
A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken value that's returned from a previous paginated DescribeRepositories request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. If there are no more results to return, this value is null. If you specify repositories with repositoryNames, you can't use this option.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken value that's returned from a previous paginated DescribeRepositories request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. If there are no more results to return, this value is null. If you specify repositories with repositoryNames, you can't use this option.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of repository results that's returned by DescribeRepositories in paginated output. When this parameter is used, DescribeRepositories only returns maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another DescribeRepositories request with the returned nextToken value. This value can be between 1 and 1000. If this parameter isn't used, then DescribeRepositories returns up to 100 results and a nextToken value, if applicable. If you specify repositories with repositoryNames, you can't use this option.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of repository results that's returned by DescribeRepositories in paginated output. When this parameter is used, DescribeRepositories only returns maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another DescribeRepositories request with the returned nextToken value. This value can be between 1 and 1000. If this parameter isn't used, then DescribeRepositories returns up to 100 results and a nextToken value, if applicable. If you specify repositories with repositoryNames, you can't use this option.
Trait Implementations§
source§impl Clone for DescribeRepositories
impl Clone for DescribeRepositories
source§fn clone(&self) -> DescribeRepositories
fn clone(&self) -> DescribeRepositories
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more