#[non_exhaustive]pub struct DeleteNetworkInsightsAccessScopeAnalysisInput { /* private fields */ }
Implementations§
source§impl DeleteNetworkInsightsAccessScopeAnalysisInput
impl DeleteNetworkInsightsAccessScopeAnalysisInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteNetworkInsightsAccessScopeAnalysis, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteNetworkInsightsAccessScopeAnalysis, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteNetworkInsightsAccessScopeAnalysis
>
Examples found in repository?
src/client.rs (line 28339)
28323 28324 28325 28326 28327 28328 28329 28330 28331 28332 28333 28334 28335 28336 28337 28338 28339 28340 28341 28342 28343 28344 28345 28346 28347 28348 28349 28350 28351 28352 28353 28354 28355 28356 28357 28358 28359 28360 28361 28362 28363 28364 28365 28366 28367 28368 28369
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteNetworkInsightsAccessScopeAnalysis,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::DeleteNetworkInsightsAccessScopeAnalysisError,
>,
> {
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::DeleteNetworkInsightsAccessScopeAnalysisOutput,
aws_smithy_http::result::SdkError<
crate::error::DeleteNetworkInsightsAccessScopeAnalysisError,
>,
> {
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 DeleteNetworkInsightsAccessScopeAnalysisInput
.
source§impl DeleteNetworkInsightsAccessScopeAnalysisInput
impl DeleteNetworkInsightsAccessScopeAnalysisInput
sourcepub fn network_insights_access_scope_analysis_id(&self) -> Option<&str>
pub fn network_insights_access_scope_analysis_id(&self) -> Option<&str>
The ID of the Network Access Scope analysis.
Trait Implementations§
source§impl Clone for DeleteNetworkInsightsAccessScopeAnalysisInput
impl Clone for DeleteNetworkInsightsAccessScopeAnalysisInput
source§fn clone(&self) -> DeleteNetworkInsightsAccessScopeAnalysisInput
fn clone(&self) -> DeleteNetworkInsightsAccessScopeAnalysisInput
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