#[non_exhaustive]pub struct ListDistributionsByCachePolicyIdInput { /* private fields */ }
Implementations§
source§impl ListDistributionsByCachePolicyIdInput
impl ListDistributionsByCachePolicyIdInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListDistributionsByCachePolicyId, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListDistributionsByCachePolicyId, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListDistributionsByCachePolicyId
>
Examples found in repository?
src/client.rs (line 6519)
6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ListDistributionsByCachePolicyId,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ListDistributionsByCachePolicyIdError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::ListDistributionsByCachePolicyIdOutput,
aws_smithy_http::result::SdkError<crate::error::ListDistributionsByCachePolicyIdError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListDistributionsByCachePolicyIdInput
.
source§impl ListDistributionsByCachePolicyIdInput
impl ListDistributionsByCachePolicyIdInput
sourcepub fn marker(&self) -> Option<&str>
pub fn marker(&self) -> Option<&str>
Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of NextMarker
from the current page’s response.
sourcepub fn max_items(&self) -> Option<i32>
pub fn max_items(&self) -> Option<i32>
The maximum number of distribution IDs that you want in the response.
sourcepub fn cache_policy_id(&self) -> Option<&str>
pub fn cache_policy_id(&self) -> Option<&str>
The ID of the cache policy whose associated distribution IDs you want to list.
Trait Implementations§
source§impl Clone for ListDistributionsByCachePolicyIdInput
impl Clone for ListDistributionsByCachePolicyIdInput
source§fn clone(&self) -> ListDistributionsByCachePolicyIdInput
fn clone(&self) -> ListDistributionsByCachePolicyIdInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more