#[non_exhaustive]pub struct DescribeHostedConnectionsInput { /* private fields */ }Implementations§
source§impl DescribeHostedConnectionsInput
impl DescribeHostedConnectionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeHostedConnections, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeHostedConnections, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeHostedConnections>
Examples found in repository?
src/client.rs (line 5582)
5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeHostedConnections,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeHostedConnectionsError>,
> {
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::DescribeHostedConnectionsOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeHostedConnectionsError>,
> {
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 DescribeHostedConnectionsInput.
source§impl DescribeHostedConnectionsInput
impl DescribeHostedConnectionsInput
sourcepub fn connection_id(&self) -> Option<&str>
pub fn connection_id(&self) -> Option<&str>
The ID of the interconnect or LAG.
Trait Implementations§
source§impl Clone for DescribeHostedConnectionsInput
impl Clone for DescribeHostedConnectionsInput
source§fn clone(&self) -> DescribeHostedConnectionsInput
fn clone(&self) -> DescribeHostedConnectionsInput
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