#[non_exhaustive]pub struct EnableVpcClassicLinkDnsSupportInput { /* private fields */ }
Implementations§
source§impl EnableVpcClassicLinkDnsSupportInput
impl EnableVpcClassicLinkDnsSupportInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableVpcClassicLinkDnsSupport, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableVpcClassicLinkDnsSupport, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<EnableVpcClassicLinkDnsSupport
>
Examples found in repository?
src/client.rs (line 56602)
56588 56589 56590 56591 56592 56593 56594 56595 56596 56597 56598 56599 56600 56601 56602 56603 56604 56605 56606 56607 56608 56609 56610 56611 56612 56613 56614 56615 56616 56617 56618 56619 56620 56621 56622 56623 56624 56625 56626 56627 56628 56629 56630
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::EnableVpcClassicLinkDnsSupport,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::EnableVpcClassicLinkDnsSupportError>,
> {
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::EnableVpcClassicLinkDnsSupportOutput,
aws_smithy_http::result::SdkError<crate::error::EnableVpcClassicLinkDnsSupportError>,
> {
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 EnableVpcClassicLinkDnsSupportInput
.
Trait Implementations§
source§impl Clone for EnableVpcClassicLinkDnsSupportInput
impl Clone for EnableVpcClassicLinkDnsSupportInput
source§fn clone(&self) -> EnableVpcClassicLinkDnsSupportInput
fn clone(&self) -> EnableVpcClassicLinkDnsSupportInput
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