#[non_exhaustive]pub struct StartNetworkInsightsAccessScopeAnalysisInput { /* private fields */ }
Implementations§
source§impl StartNetworkInsightsAccessScopeAnalysisInput
impl StartNetworkInsightsAccessScopeAnalysisInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartNetworkInsightsAccessScopeAnalysis, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartNetworkInsightsAccessScopeAnalysis, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StartNetworkInsightsAccessScopeAnalysis
>
Examples found in repository?
src/client.rs (line 77937)
77921 77922 77923 77924 77925 77926 77927 77928 77929 77930 77931 77932 77933 77934 77935 77936 77937 77938 77939 77940 77941 77942 77943 77944 77945 77946 77947 77948 77949 77950 77951 77952 77953 77954 77955 77956 77957 77958 77959 77960 77961 77962 77963 77964 77965 77966 77967
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::StartNetworkInsightsAccessScopeAnalysis,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::StartNetworkInsightsAccessScopeAnalysisError,
>,
> {
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::StartNetworkInsightsAccessScopeAnalysisOutput,
aws_smithy_http::result::SdkError<
crate::error::StartNetworkInsightsAccessScopeAnalysisError,
>,
> {
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 StartNetworkInsightsAccessScopeAnalysisInput
.
source§impl StartNetworkInsightsAccessScopeAnalysisInput
impl StartNetworkInsightsAccessScopeAnalysisInput
sourcepub fn network_insights_access_scope_id(&self) -> Option<&str>
pub fn network_insights_access_scope_id(&self) -> Option<&str>
The ID of the Network Access Scope.
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 tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to apply.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
Trait Implementations§
source§impl Clone for StartNetworkInsightsAccessScopeAnalysisInput
impl Clone for StartNetworkInsightsAccessScopeAnalysisInput
source§fn clone(&self) -> StartNetworkInsightsAccessScopeAnalysisInput
fn clone(&self) -> StartNetworkInsightsAccessScopeAnalysisInput
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