Struct aws_sdk_codecommit::operation::list_repositories::builders::ListRepositoriesFluentBuilder
source · pub struct ListRepositoriesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListRepositories
.
Gets information about one or more repositories.
Implementations§
source§impl ListRepositoriesFluentBuilder
impl ListRepositoriesFluentBuilder
sourcepub fn as_input(&self) -> &ListRepositoriesInputBuilder
pub fn as_input(&self) -> &ListRepositoriesInputBuilder
Access the ListRepositories as a reference.
sourcepub async fn send(
self
) -> Result<ListRepositoriesOutput, SdkError<ListRepositoriesError, HttpResponse>>
pub async fn send( self ) -> Result<ListRepositoriesOutput, SdkError<ListRepositoriesError, 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<ListRepositoriesOutput, ListRepositoriesError, Self>
pub fn customize( self ) -> CustomizableOperation<ListRepositoriesOutput, ListRepositoriesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListRepositoriesPaginator
pub fn into_paginator(self) -> ListRepositoriesPaginator
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
An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to CodeCommit, another page of 1,000 records is retrieved.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to CodeCommit, another page of 1,000 records is retrieved.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to CodeCommit, another page of 1,000 records is retrieved.
sourcepub fn sort_by(self, input: SortByEnum) -> Self
pub fn sort_by(self, input: SortByEnum) -> Self
The criteria used to sort the results of a list repositories operation.
sourcepub fn set_sort_by(self, input: Option<SortByEnum>) -> Self
pub fn set_sort_by(self, input: Option<SortByEnum>) -> Self
The criteria used to sort the results of a list repositories operation.
sourcepub fn get_sort_by(&self) -> &Option<SortByEnum>
pub fn get_sort_by(&self) -> &Option<SortByEnum>
The criteria used to sort the results of a list repositories operation.
sourcepub fn order(self, input: OrderEnum) -> Self
pub fn order(self, input: OrderEnum) -> Self
The order in which to sort the results of a list repositories operation.
Trait Implementations§
source§impl Clone for ListRepositoriesFluentBuilder
impl Clone for ListRepositoriesFluentBuilder
source§fn clone(&self) -> ListRepositoriesFluentBuilder
fn clone(&self) -> ListRepositoriesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ListRepositoriesFluentBuilder
impl !RefUnwindSafe for ListRepositoriesFluentBuilder
impl Send for ListRepositoriesFluentBuilder
impl Sync for ListRepositoriesFluentBuilder
impl Unpin for ListRepositoriesFluentBuilder
impl !UnwindSafe for ListRepositoriesFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more