Struct aws_sdk_ec2::input::DeleteNetworkAclEntryInput
source · #[non_exhaustive]pub struct DeleteNetworkAclEntryInput { /* private fields */ }
Implementations§
source§impl DeleteNetworkAclEntryInput
impl DeleteNetworkAclEntryInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteNetworkAclEntry, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteNetworkAclEntry, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteNetworkAclEntry
>
Examples found in repository?
src/client.rs (line 28142)
28128 28129 28130 28131 28132 28133 28134 28135 28136 28137 28138 28139 28140 28141 28142 28143 28144 28145 28146 28147 28148 28149 28150 28151 28152 28153 28154 28155 28156 28157 28158 28159 28160 28161 28162 28163 28164 28165 28166 28167 28168 28169 28170
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteNetworkAclEntry,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteNetworkAclEntryError>,
> {
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::DeleteNetworkAclEntryOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteNetworkAclEntryError>,
> {
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 DeleteNetworkAclEntryInput
.
source§impl DeleteNetworkAclEntryInput
impl DeleteNetworkAclEntryInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn network_acl_id(&self) -> Option<&str>
pub fn network_acl_id(&self) -> Option<&str>
The ID of the network ACL.
sourcepub fn rule_number(&self) -> Option<i32>
pub fn rule_number(&self) -> Option<i32>
The rule number of the entry to delete.
Trait Implementations§
source§impl Clone for DeleteNetworkAclEntryInput
impl Clone for DeleteNetworkAclEntryInput
source§fn clone(&self) -> DeleteNetworkAclEntryInput
fn clone(&self) -> DeleteNetworkAclEntryInput
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