#[non_exhaustive]pub struct DeleteNetworkInterfacePermissionInput { /* private fields */ }
Expand description
Contains the parameters for DeleteNetworkInterfacePermission.
Implementations§
source§impl DeleteNetworkInterfacePermissionInput
impl DeleteNetworkInterfacePermissionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteNetworkInterfacePermission, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteNetworkInterfacePermission, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteNetworkInterfacePermission
>
Examples found in repository?
src/client.rs (line 28695)
28681 28682 28683 28684 28685 28686 28687 28688 28689 28690 28691 28692 28693 28694 28695 28696 28697 28698 28699 28700 28701 28702 28703 28704 28705 28706 28707 28708 28709 28710 28711 28712 28713 28714 28715 28716 28717 28718 28719 28720 28721 28722 28723
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteNetworkInterfacePermission,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteNetworkInterfacePermissionError>,
> {
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::DeleteNetworkInterfacePermissionOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteNetworkInterfacePermissionError>,
> {
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 DeleteNetworkInterfacePermissionInput
.
Trait Implementations§
source§impl Clone for DeleteNetworkInterfacePermissionInput
impl Clone for DeleteNetworkInterfacePermissionInput
source§fn clone(&self) -> DeleteNetworkInterfacePermissionInput
fn clone(&self) -> DeleteNetworkInterfacePermissionInput
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