Struct aws_sdk_cloudfront::operation::list_invalidations::builders::ListInvalidationsFluentBuilder
source · pub struct ListInvalidationsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListInvalidations
.
Lists invalidation batches.
Implementations§
source§impl ListInvalidationsFluentBuilder
impl ListInvalidationsFluentBuilder
sourcepub fn as_input(&self) -> &ListInvalidationsInputBuilder
pub fn as_input(&self) -> &ListInvalidationsInputBuilder
Access the ListInvalidations as a reference.
sourcepub async fn send(
self
) -> Result<ListInvalidationsOutput, SdkError<ListInvalidationsError, HttpResponse>>
pub async fn send( self ) -> Result<ListInvalidationsOutput, SdkError<ListInvalidationsError, 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<ListInvalidationsOutput, ListInvalidationsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListInvalidationsOutput, ListInvalidationsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListInvalidationsPaginator
pub fn into_paginator(self) -> ListInvalidationsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn distribution_id(self, input: impl Into<String>) -> Self
pub fn distribution_id(self, input: impl Into<String>) -> Self
The distribution's ID.
sourcepub fn set_distribution_id(self, input: Option<String>) -> Self
pub fn set_distribution_id(self, input: Option<String>) -> Self
The distribution's ID.
sourcepub fn get_distribution_id(&self) -> &Option<String>
pub fn get_distribution_id(&self) -> &Option<String>
The distribution's ID.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set Marker
to the value of the NextMarker
from the current page's response. This value is the same as the ID of the last invalidation batch on that page.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set Marker
to the value of the NextMarker
from the current page's response. This value is the same as the ID of the last invalidation batch on that page.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set Marker
to the value of the NextMarker
from the current page's response. This value is the same as the ID of the last invalidation batch on that page.
sourcepub fn max_items(self, input: i32) -> Self
pub fn max_items(self, input: i32) -> Self
The maximum number of invalidation batches that you want in the response body.
sourcepub fn set_max_items(self, input: Option<i32>) -> Self
pub fn set_max_items(self, input: Option<i32>) -> Self
The maximum number of invalidation batches that you want in the response body.
sourcepub fn get_max_items(&self) -> &Option<i32>
pub fn get_max_items(&self) -> &Option<i32>
The maximum number of invalidation batches that you want in the response body.
Trait Implementations§
source§impl Clone for ListInvalidationsFluentBuilder
impl Clone for ListInvalidationsFluentBuilder
source§fn clone(&self) -> ListInvalidationsFluentBuilder
fn clone(&self) -> ListInvalidationsFluentBuilder
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 ListInvalidationsFluentBuilder
impl !RefUnwindSafe for ListInvalidationsFluentBuilder
impl Send for ListInvalidationsFluentBuilder
impl Sync for ListInvalidationsFluentBuilder
impl Unpin for ListInvalidationsFluentBuilder
impl !UnwindSafe for ListInvalidationsFluentBuilder
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