#[non_exhaustive]pub struct GetNetworkInsightsAccessScopeContentInput { /* private fields */ }
Implementations§
source§impl GetNetworkInsightsAccessScopeContentInput
impl GetNetworkInsightsAccessScopeContentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetNetworkInsightsAccessScopeContent, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetNetworkInsightsAccessScopeContent, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetNetworkInsightsAccessScopeContent
>
Examples found in repository?
src/client.rs (line 59639)
59623 59624 59625 59626 59627 59628 59629 59630 59631 59632 59633 59634 59635 59636 59637 59638 59639 59640 59641 59642 59643 59644 59645 59646 59647 59648 59649 59650 59651 59652 59653 59654 59655 59656 59657 59658 59659 59660 59661 59662 59663 59664 59665 59666 59667 59668 59669
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetNetworkInsightsAccessScopeContent,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::GetNetworkInsightsAccessScopeContentError,
>,
> {
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::GetNetworkInsightsAccessScopeContentOutput,
aws_smithy_http::result::SdkError<
crate::error::GetNetworkInsightsAccessScopeContentError,
>,
> {
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 GetNetworkInsightsAccessScopeContentInput
.
source§impl GetNetworkInsightsAccessScopeContentInput
impl GetNetworkInsightsAccessScopeContentInput
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.
Trait Implementations§
source§impl Clone for GetNetworkInsightsAccessScopeContentInput
impl Clone for GetNetworkInsightsAccessScopeContentInput
source§fn clone(&self) -> GetNetworkInsightsAccessScopeContentInput
fn clone(&self) -> GetNetworkInsightsAccessScopeContentInput
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