#[non_exhaustive]pub struct CreateNetworkInsightsAccessScopeInput { /* private fields */ }
Implementations§
source§impl CreateNetworkInsightsAccessScopeInput
impl CreateNetworkInsightsAccessScopeInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateNetworkInsightsAccessScope, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateNetworkInsightsAccessScope, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateNetworkInsightsAccessScope
>
Examples found in repository?
src/client.rs (line 19225)
19211 19212 19213 19214 19215 19216 19217 19218 19219 19220 19221 19222 19223 19224 19225 19226 19227 19228 19229 19230 19231 19232 19233 19234 19235 19236 19237 19238 19239 19240 19241 19242 19243 19244 19245 19246 19247 19248 19249 19250 19251 19252 19253
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateNetworkInsightsAccessScope,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateNetworkInsightsAccessScopeError>,
> {
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::CreateNetworkInsightsAccessScopeOutput,
aws_smithy_http::result::SdkError<crate::error::CreateNetworkInsightsAccessScopeError>,
> {
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 CreateNetworkInsightsAccessScopeInput
.
source§impl CreateNetworkInsightsAccessScopeInput
impl CreateNetworkInsightsAccessScopeInput
sourcepub fn match_paths(&self) -> Option<&[AccessScopePathRequest]>
pub fn match_paths(&self) -> Option<&[AccessScopePathRequest]>
The paths to match.
sourcepub fn exclude_paths(&self) -> Option<&[AccessScopePathRequest]>
pub fn exclude_paths(&self) -> Option<&[AccessScopePathRequest]>
The paths to exclude.
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.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to apply.
Trait Implementations§
source§impl Clone for CreateNetworkInsightsAccessScopeInput
impl Clone for CreateNetworkInsightsAccessScopeInput
source§fn clone(&self) -> CreateNetworkInsightsAccessScopeInput
fn clone(&self) -> CreateNetworkInsightsAccessScopeInput
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