Struct aws_sdk_ec2::input::DescribeVpcClassicLinkInput
source · #[non_exhaustive]pub struct DescribeVpcClassicLinkInput { /* private fields */ }
Implementations§
source§impl DescribeVpcClassicLinkInput
impl DescribeVpcClassicLinkInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeVpcClassicLink, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeVpcClassicLink, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeVpcClassicLink
>
Examples found in repository?
src/client.rs (line 51210)
51196 51197 51198 51199 51200 51201 51202 51203 51204 51205 51206 51207 51208 51209 51210 51211 51212 51213 51214 51215 51216 51217 51218 51219 51220 51221 51222 51223 51224 51225 51226 51227 51228 51229 51230 51231 51232 51233 51234 51235 51236 51237 51238
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeVpcClassicLink,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeVpcClassicLinkError>,
> {
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::DescribeVpcClassicLinkOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeVpcClassicLinkError>,
> {
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 DescribeVpcClassicLinkInput
.
source§impl DescribeVpcClassicLinkInput
impl DescribeVpcClassicLinkInput
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[Filter]>
One or more filters.
-
is-classic-link-enabled
- Whether the VPC is enabled for ClassicLink (true
|false
). -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
Trait Implementations§
source§impl Clone for DescribeVpcClassicLinkInput
impl Clone for DescribeVpcClassicLinkInput
source§fn clone(&self) -> DescribeVpcClassicLinkInput
fn clone(&self) -> DescribeVpcClassicLinkInput
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