Struct aws_sdk_inspector::client::fluent_builders::GetExclusionsPreview [−][src]
pub struct GetExclusionsPreview<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to GetExclusionsPreview.
Retrieves the exclusions preview (a list of ExclusionPreview objects) specified by the preview token. You can obtain the preview token by running the CreateExclusionsPreview API.
Implementations
impl<C, M, R> GetExclusionsPreview<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetExclusionsPreview<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetExclusionsPreviewOutput, SdkError<GetExclusionsPreviewError>> where
R::Policy: SmithyRetryPolicy<GetExclusionsPreviewInputOperationOutputAlias, GetExclusionsPreviewOutput, GetExclusionsPreviewError, GetExclusionsPreviewInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetExclusionsPreviewOutput, SdkError<GetExclusionsPreviewError>> where
R::Policy: SmithyRetryPolicy<GetExclusionsPreviewInputOperationOutputAlias, GetExclusionsPreviewOutput, GetExclusionsPreviewError, GetExclusionsPreviewInputOperationRetryAlias>,
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 that specifies the assessment template for which the exclusions preview was requested.
The ARN that specifies the assessment template for which the exclusions preview was requested.
The unique identifier associated of the exclusions preview.
The unique identifier associated of the exclusions preview.
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the GetExclusionsPreviewRequest 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 GetExclusionsPreviewRequest 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 100. 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 100. The maximum value is 500.
The locale into which you want to translate the exclusion's title, description, and recommendation.
The locale into which you want to translate the exclusion's title, description, and recommendation.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetExclusionsPreview<C, M, R>
impl<C, M, R> Send for GetExclusionsPreview<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetExclusionsPreview<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetExclusionsPreview<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetExclusionsPreview<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
