create_exclusions_preview
(**kwargs)¶Starts the generation of an exclusions preview for the specified assessment template. The exclusions preview lists the potential exclusions (ExclusionPreview) that Inspector can detect before it runs the assessment.
See also: AWS API Documentation
Request Syntax
response = client.create_exclusions_preview(
assessmentTemplateArn='string'
)
[REQUIRED]
The ARN that specifies the assessment template for which you want to create an exclusions preview.
{
'previewToken': 'string'
}
Response Structure
Specifies the unique identifier of the requested exclusions preview. You can use the unique identifier to retrieve the exclusions preview when running the GetExclusionsPreview API.
Exceptions
Inspector.Client.exceptions.InvalidInputException
Inspector.Client.exceptions.PreviewGenerationInProgressException
Inspector.Client.exceptions.InternalException
Inspector.Client.exceptions.AccessDeniedException
Inspector.Client.exceptions.NoSuchEntityException
Inspector.Client.exceptions.ServiceTemporarilyUnavailableException