Struct aws_sdk_inspector2::client::fluent_builders::Enable
source · [−]pub struct Enable<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to Enable
.
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
Implementations
impl<C, M, R> Enable<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Enable<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<EnableOutput, SdkError<EnableError>> where
R::Policy: SmithyRetryPolicy<EnableInputOperationOutputAlias, EnableOutput, EnableError, EnableInputOperationRetryAlias>,
pub async fn send(self) -> Result<EnableOutput, SdkError<EnableError>> where
R::Policy: SmithyRetryPolicy<EnableInputOperationOutputAlias, EnableOutput, EnableError, EnableInputOperationRetryAlias>,
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, which can be set when configuring the client.
A list of account IDs you want to enable Amazon Inspector scans for.
A list of account IDs you want to enable Amazon Inspector scans for.
Appends an item to resourceTypes
.
To override the contents of this collection use set_resource_types
.
The resource scan types you want to enable.
The resource scan types you want to enable.
The idempotency token for the request.
The idempotency token for the request.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Enable<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Enable<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more