Skip to content

/AWS1/CL_INS=>GETEXCLUSIONSPREVIEW()

About 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.

Method Signature

IMPORTING

Required arguments:

IV_ASSESSMENTTEMPLATEARN TYPE /AWS1/INSARN /AWS1/INSARN

The ARN that specifies the assessment template for which the exclusions preview was requested.

IV_PREVIEWTOKEN TYPE /AWS1/INSUUID /AWS1/INSUUID

The unique identifier associated of the exclusions preview.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/INSPAGINATIONTOKEN /AWS1/INSPAGINATIONTOKEN

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.

IV_MAXRESULTS TYPE /AWS1/INSLISTMAXRESULTS /AWS1/INSLISTMAXRESULTS

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.

IV_LOCALE TYPE /AWS1/INSLOCALE /AWS1/INSLOCALE

The locale into which you want to translate the exclusion's title, description, and recommendation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_INSGETEXCLUSIONSPRE01 /AWS1/CL_INSGETEXCLUSIONSPRE01