#[non_exhaustive]pub struct ListAssociatedFleetsInput { /* private fields */ }
Implementations§
source§impl ListAssociatedFleetsInput
impl ListAssociatedFleetsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListAssociatedFleets, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListAssociatedFleets, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListAssociatedFleets
>
Examples found in repository?
src/client.rs (line 6561)
6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ListAssociatedFleets,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ListAssociatedFleetsError>,
> {
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::ListAssociatedFleetsOutput,
aws_smithy_http::result::SdkError<crate::error::ListAssociatedFleetsError>,
> {
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 ListAssociatedFleetsInput
.
source§impl ListAssociatedFleetsInput
impl ListAssociatedFleetsInput
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name of the stack.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
Trait Implementations§
source§impl Clone for ListAssociatedFleetsInput
impl Clone for ListAssociatedFleetsInput
source§fn clone(&self) -> ListAssociatedFleetsInput
fn clone(&self) -> ListAssociatedFleetsInput
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