Struct aws_sdk_ec2::input::MoveAddressToVpcInput
source · #[non_exhaustive]pub struct MoveAddressToVpcInput { /* private fields */ }
Implementations§
source§impl MoveAddressToVpcInput
impl MoveAddressToVpcInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<MoveAddressToVpc, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<MoveAddressToVpc, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<MoveAddressToVpc
>
Examples found in repository?
src/client.rs (line 70924)
70910 70911 70912 70913 70914 70915 70916 70917 70918 70919 70920 70921 70922 70923 70924 70925 70926 70927 70928 70929 70930 70931 70932 70933 70934 70935 70936 70937 70938 70939 70940 70941 70942 70943 70944 70945 70946 70947 70948 70949 70950 70951 70952
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::MoveAddressToVpc,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::MoveAddressToVpcError>,
> {
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::MoveAddressToVpcOutput,
aws_smithy_http::result::SdkError<crate::error::MoveAddressToVpcError>,
> {
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 MoveAddressToVpcInput
.
source§impl MoveAddressToVpcInput
impl MoveAddressToVpcInput
Trait Implementations§
source§impl Clone for MoveAddressToVpcInput
impl Clone for MoveAddressToVpcInput
source§fn clone(&self) -> MoveAddressToVpcInput
fn clone(&self) -> MoveAddressToVpcInput
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