#[non_exhaustive]pub struct DescribeDirectConnectGatewaysInput { /* private fields */ }Implementations§
source§impl DescribeDirectConnectGatewaysInput
impl DescribeDirectConnectGatewaysInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeDirectConnectGateways, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeDirectConnectGateways, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeDirectConnectGateways>
Examples found in repository?
src/client.rs (line 5482)
5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeDirectConnectGateways,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeDirectConnectGatewaysError>,
> {
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::DescribeDirectConnectGatewaysOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeDirectConnectGatewaysError>,
> {
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 DescribeDirectConnectGatewaysInput.
source§impl DescribeDirectConnectGatewaysInput
impl DescribeDirectConnectGatewaysInput
sourcepub fn direct_connect_gateway_id(&self) -> Option<&str>
pub fn direct_connect_gateway_id(&self) -> Option<&str>
The ID of the Direct Connect gateway.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
If MaxResults is given a value larger than 100, only 100 results are returned.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token provided in the previous call to retrieve the next page.
Trait Implementations§
source§impl Clone for DescribeDirectConnectGatewaysInput
impl Clone for DescribeDirectConnectGatewaysInput
source§fn clone(&self) -> DescribeDirectConnectGatewaysInput
fn clone(&self) -> DescribeDirectConnectGatewaysInput
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