#[non_exhaustive]pub struct ListDistributionsByKeyGroupInput { /* private fields */ }Implementations§
source§impl ListDistributionsByKeyGroupInput
impl ListDistributionsByKeyGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListDistributionsByKeyGroup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListDistributionsByKeyGroup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListDistributionsByKeyGroup>
Examples found in repository?
src/client.rs (line 6616)
6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ListDistributionsByKeyGroup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ListDistributionsByKeyGroupError>,
> {
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::ListDistributionsByKeyGroupOutput,
aws_smithy_http::result::SdkError<crate::error::ListDistributionsByKeyGroupError>,
> {
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 ListDistributionsByKeyGroupInput.
source§impl ListDistributionsByKeyGroupInput
impl ListDistributionsByKeyGroupInput
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 key_group_id(&self) -> Option<&str>
pub fn key_group_id(&self) -> Option<&str>
The ID of the key group whose associated distribution IDs you are listing.
Trait Implementations§
source§impl Clone for ListDistributionsByKeyGroupInput
impl Clone for ListDistributionsByKeyGroupInput
source§fn clone(&self) -> ListDistributionsByKeyGroupInput
fn clone(&self) -> ListDistributionsByKeyGroupInput
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