pub struct ListCertificatesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListCertificates
.
Retrieves a list of certificate ARNs and domain names. You can request that only certificates that match a specific status be listed. You can also filter by specific attributes of the certificate. Default filtering returns only RSA_2048
certificates. For more information, see Filters
.
Implementations§
source§impl ListCertificatesFluentBuilder
impl ListCertificatesFluentBuilder
sourcepub fn as_input(&self) -> &ListCertificatesInputBuilder
pub fn as_input(&self) -> &ListCertificatesInputBuilder
Access the ListCertificates as a reference.
sourcepub async fn send(
self
) -> Result<ListCertificatesOutput, SdkError<ListCertificatesError, HttpResponse>>
pub async fn send( self ) -> Result<ListCertificatesOutput, SdkError<ListCertificatesError, 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<ListCertificatesOutput, ListCertificatesError, Self>
pub fn customize( self ) -> CustomizableOperation<ListCertificatesOutput, ListCertificatesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListCertificatesPaginator
pub fn into_paginator(self) -> ListCertificatesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn certificate_statuses(self, input: CertificateStatus) -> Self
pub fn certificate_statuses(self, input: CertificateStatus) -> Self
Appends an item to CertificateStatuses
.
To override the contents of this collection use set_certificate_statuses
.
Filter the certificate list by status value.
sourcepub fn set_certificate_statuses(
self,
input: Option<Vec<CertificateStatus>>
) -> Self
pub fn set_certificate_statuses( self, input: Option<Vec<CertificateStatus>> ) -> Self
Filter the certificate list by status value.
sourcepub fn get_certificate_statuses(&self) -> &Option<Vec<CertificateStatus>>
pub fn get_certificate_statuses(&self) -> &Option<Vec<CertificateStatus>>
Filter the certificate list by status value.
sourcepub fn includes(self, input: Filters) -> Self
pub fn includes(self, input: Filters) -> Self
Filter the certificate list. For more information, see the Filters
structure.
sourcepub fn set_includes(self, input: Option<Filters>) -> Self
pub fn set_includes(self, input: Option<Filters>) -> Self
Filter the certificate list. For more information, see the Filters
structure.
sourcepub fn get_includes(&self) -> &Option<Filters>
pub fn get_includes(&self) -> &Option<Filters>
Filter the certificate list. For more information, see the Filters
structure.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken
from the response you just received.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken
from the response you just received.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken
from the response you just received.
sourcepub fn max_items(self, input: i32) -> Self
pub fn max_items(self, input: i32) -> Self
Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken
element is sent in the response. Use this NextToken
value in a subsequent request to retrieve additional items.
sourcepub fn set_max_items(self, input: Option<i32>) -> Self
pub fn set_max_items(self, input: Option<i32>) -> Self
Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken
element is sent in the response. Use this NextToken
value in a subsequent request to retrieve additional items.
sourcepub fn get_max_items(&self) -> &Option<i32>
pub fn get_max_items(&self) -> &Option<i32>
Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken
element is sent in the response. Use this NextToken
value in a subsequent request to retrieve additional items.
sourcepub fn sort_by(self, input: SortBy) -> Self
pub fn sort_by(self, input: SortBy) -> Self
Specifies the field to sort results by. If you specify SortBy
, you must also specify SortOrder
.
sourcepub fn set_sort_by(self, input: Option<SortBy>) -> Self
pub fn set_sort_by(self, input: Option<SortBy>) -> Self
Specifies the field to sort results by. If you specify SortBy
, you must also specify SortOrder
.
sourcepub fn get_sort_by(&self) -> &Option<SortBy>
pub fn get_sort_by(&self) -> &Option<SortBy>
Specifies the field to sort results by. If you specify SortBy
, you must also specify SortOrder
.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
Specifies the order of sorted results. If you specify SortOrder
, you must also specify SortBy
.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
Specifies the order of sorted results. If you specify SortOrder
, you must also specify SortBy
.
sourcepub fn get_sort_order(&self) -> &Option<SortOrder>
pub fn get_sort_order(&self) -> &Option<SortOrder>
Specifies the order of sorted results. If you specify SortOrder
, you must also specify SortBy
.
Trait Implementations§
source§impl Clone for ListCertificatesFluentBuilder
impl Clone for ListCertificatesFluentBuilder
source§fn clone(&self) -> ListCertificatesFluentBuilder
fn clone(&self) -> ListCertificatesFluentBuilder
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 ListCertificatesFluentBuilder
impl !RefUnwindSafe for ListCertificatesFluentBuilder
impl Send for ListCertificatesFluentBuilder
impl Sync for ListCertificatesFluentBuilder
impl Unpin for ListCertificatesFluentBuilder
impl !UnwindSafe for ListCertificatesFluentBuilder
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