Struct aws_sdk_ec2::input::UnassignIpv6AddressesInput
source · #[non_exhaustive]pub struct UnassignIpv6AddressesInput { /* private fields */ }
Implementations§
source§impl UnassignIpv6AddressesInput
impl UnassignIpv6AddressesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UnassignIpv6Addresses, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UnassignIpv6Addresses, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UnassignIpv6Addresses
>
Examples found in repository?
src/client.rs (line 78617)
78603 78604 78605 78606 78607 78608 78609 78610 78611 78612 78613 78614 78615 78616 78617 78618 78619 78620 78621 78622 78623 78624 78625 78626 78627 78628 78629 78630 78631 78632 78633 78634 78635 78636 78637 78638 78639 78640 78641 78642 78643 78644 78645
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UnassignIpv6Addresses,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UnassignIpv6AddressesError>,
> {
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::UnassignIpv6AddressesOutput,
aws_smithy_http::result::SdkError<crate::error::UnassignIpv6AddressesError>,
> {
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 UnassignIpv6AddressesInput
.
source§impl UnassignIpv6AddressesInput
impl UnassignIpv6AddressesInput
sourcepub fn ipv6_addresses(&self) -> Option<&[String]>
pub fn ipv6_addresses(&self) -> Option<&[String]>
The IPv6 addresses to unassign from the network interface.
sourcepub fn ipv6_prefixes(&self) -> Option<&[String]>
pub fn ipv6_prefixes(&self) -> Option<&[String]>
The IPv6 prefixes to unassign from the network interface.
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface.
Trait Implementations§
source§impl Clone for UnassignIpv6AddressesInput
impl Clone for UnassignIpv6AddressesInput
source§fn clone(&self) -> UnassignIpv6AddressesInput
fn clone(&self) -> UnassignIpv6AddressesInput
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