Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Synopsis
- data CreateExclusionsPreview = CreateExclusionsPreview' {}
- newCreateExclusionsPreview :: Text -> CreateExclusionsPreview
- createExclusionsPreview_assessmentTemplateArn :: Lens' CreateExclusionsPreview Text
- data CreateExclusionsPreviewResponse = CreateExclusionsPreviewResponse' {
- httpStatus :: Int
- previewToken :: Text
- newCreateExclusionsPreviewResponse :: Int -> Text -> CreateExclusionsPreviewResponse
- createExclusionsPreviewResponse_httpStatus :: Lens' CreateExclusionsPreviewResponse Int
- createExclusionsPreviewResponse_previewToken :: Lens' CreateExclusionsPreviewResponse Text
Creating a Request
data CreateExclusionsPreview Source #
See: newCreateExclusionsPreview
smart constructor.
CreateExclusionsPreview' | |
|
Instances
newCreateExclusionsPreview Source #
Create a value of CreateExclusionsPreview
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:assessmentTemplateArn:CreateExclusionsPreview'
, createExclusionsPreview_assessmentTemplateArn
- The ARN that specifies the assessment template for which you want to
create an exclusions preview.
Request Lenses
createExclusionsPreview_assessmentTemplateArn :: Lens' CreateExclusionsPreview Text Source #
The ARN that specifies the assessment template for which you want to create an exclusions preview.
Destructuring the Response
data CreateExclusionsPreviewResponse Source #
See: newCreateExclusionsPreviewResponse
smart constructor.
CreateExclusionsPreviewResponse' | |
|
Instances
Eq CreateExclusionsPreviewResponse Source # | |
Read CreateExclusionsPreviewResponse Source # | |
Show CreateExclusionsPreviewResponse Source # | |
Defined in Amazonka.Inspector.CreateExclusionsPreview | |
Generic CreateExclusionsPreviewResponse Source # | |
NFData CreateExclusionsPreviewResponse Source # | |
Defined in Amazonka.Inspector.CreateExclusionsPreview rnf :: CreateExclusionsPreviewResponse -> () # | |
type Rep CreateExclusionsPreviewResponse Source # | |
Defined in Amazonka.Inspector.CreateExclusionsPreview type Rep CreateExclusionsPreviewResponse = D1 ('MetaData "CreateExclusionsPreviewResponse" "Amazonka.Inspector.CreateExclusionsPreview" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "CreateExclusionsPreviewResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "previewToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newCreateExclusionsPreviewResponse Source #
Create a value of CreateExclusionsPreviewResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:CreateExclusionsPreviewResponse'
, createExclusionsPreviewResponse_httpStatus
- The response's http status code.
$sel:previewToken:CreateExclusionsPreviewResponse'
, createExclusionsPreviewResponse_previewToken
- 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.
Response Lenses
createExclusionsPreviewResponse_httpStatus :: Lens' CreateExclusionsPreviewResponse Int Source #
The response's http status code.
createExclusionsPreviewResponse_previewToken :: Lens' CreateExclusionsPreviewResponse Text Source #
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.