Struct aws_sdk_inspector::client::fluent_builders::PreviewAgents [−][src]
pub struct PreviewAgents<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to PreviewAgents.
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
Implementations
impl<C, M, R> PreviewAgents<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PreviewAgents<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PreviewAgentsOutput, SdkError<PreviewAgentsError>> where
R::Policy: SmithyRetryPolicy<PreviewAgentsInputOperationOutputAlias, PreviewAgentsOutput, PreviewAgentsError, PreviewAgentsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PreviewAgentsOutput, SdkError<PreviewAgentsError>> where
R::Policy: SmithyRetryPolicy<PreviewAgentsInputOperationOutputAlias, PreviewAgentsOutput, PreviewAgentsError, PreviewAgentsInputOperationRetryAlias>,
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.
The ARN of the assessment target whose agents you want to preview.
The ARN of the assessment target whose agents you want to preview.
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for PreviewAgents<C, M, R>
impl<C, M, R> Unpin for PreviewAgents<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for PreviewAgents<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
