#[non_exhaustive]pub struct UnassignPrivateIpAddressesInput { /* private fields */ }
Expand description
Contains the parameters for UnassignPrivateIpAddresses.
Implementations§
source§impl UnassignPrivateIpAddressesInput
impl UnassignPrivateIpAddressesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UnassignPrivateIpAddresses, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UnassignPrivateIpAddresses, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UnassignPrivateIpAddresses
>
Examples found in repository?
src/client.rs (line 78727)
78713 78714 78715 78716 78717 78718 78719 78720 78721 78722 78723 78724 78725 78726 78727 78728 78729 78730 78731 78732 78733 78734 78735 78736 78737 78738 78739 78740 78741 78742 78743 78744 78745 78746 78747 78748 78749 78750 78751 78752 78753 78754 78755
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UnassignPrivateIpAddresses,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UnassignPrivateIpAddressesError>,
> {
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::UnassignPrivateIpAddressesOutput,
aws_smithy_http::result::SdkError<crate::error::UnassignPrivateIpAddressesError>,
> {
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 UnassignPrivateIpAddressesInput
.
source§impl UnassignPrivateIpAddressesInput
impl UnassignPrivateIpAddressesInput
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface.
sourcepub fn private_ip_addresses(&self) -> Option<&[String]>
pub fn private_ip_addresses(&self) -> Option<&[String]>
The secondary private IP addresses to unassign from the network interface. You can specify this option multiple times to unassign more than one IP address.
sourcepub fn ipv4_prefixes(&self) -> Option<&[String]>
pub fn ipv4_prefixes(&self) -> Option<&[String]>
The IPv4 prefixes to unassign from the network interface.
Trait Implementations§
source§impl Clone for UnassignPrivateIpAddressesInput
impl Clone for UnassignPrivateIpAddressesInput
source§fn clone(&self) -> UnassignPrivateIpAddressesInput
fn clone(&self) -> UnassignPrivateIpAddressesInput
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