Struct aws_sdk_ec2::input::DisableVpcClassicLinkInput
source · #[non_exhaustive]pub struct DisableVpcClassicLinkInput { /* private fields */ }
Implementations§
source§impl DisableVpcClassicLinkInput
impl DisableVpcClassicLinkInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableVpcClassicLink, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableVpcClassicLink, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisableVpcClassicLink
>
Examples found in repository?
src/client.rs (line 54285)
54271 54272 54273 54274 54275 54276 54277 54278 54279 54280 54281 54282 54283 54284 54285 54286 54287 54288 54289 54290 54291 54292 54293 54294 54295 54296 54297 54298 54299 54300 54301 54302 54303 54304 54305 54306 54307 54308 54309 54310 54311 54312 54313
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisableVpcClassicLink,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DisableVpcClassicLinkError>,
> {
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::DisableVpcClassicLinkOutput,
aws_smithy_http::result::SdkError<crate::error::DisableVpcClassicLinkError>,
> {
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 DisableVpcClassicLinkInput
.
source§impl DisableVpcClassicLinkInput
impl DisableVpcClassicLinkInput
Trait Implementations§
source§impl Clone for DisableVpcClassicLinkInput
impl Clone for DisableVpcClassicLinkInput
source§fn clone(&self) -> DisableVpcClassicLinkInput
fn clone(&self) -> DisableVpcClassicLinkInput
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