libZSservicesZSamazonka-inspectorZSamazonka-inspector
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Inspector.CreateExclusionsPreview

Description

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

Creating a Request

data CreateExclusionsPreview Source #

See: newCreateExclusionsPreview smart constructor.

Constructors

CreateExclusionsPreview' 

Fields

  • assessmentTemplateArn :: Text

    The ARN that specifies the assessment template for which you want to create an exclusions preview.

Instances

Instances details
Eq CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Read CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Show CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Generic CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Associated Types

type Rep CreateExclusionsPreview :: Type -> Type #

NFData CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Methods

rnf :: CreateExclusionsPreview -> () #

Hashable CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

ToJSON CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

AWSRequest CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

ToHeaders CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

ToPath CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

ToQuery CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

type Rep CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

type Rep CreateExclusionsPreview = D1 ('MetaData "CreateExclusionsPreview" "Amazonka.Inspector.CreateExclusionsPreview" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "CreateExclusionsPreview'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assessmentTemplateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

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.

Constructors

CreateExclusionsPreviewResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • previewToken :: Text

    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.

Instances

Instances details
Eq CreateExclusionsPreviewResponse Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Read CreateExclusionsPreviewResponse Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Show CreateExclusionsPreviewResponse Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Generic CreateExclusionsPreviewResponse Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Associated Types

type Rep CreateExclusionsPreviewResponse :: Type -> Type #

NFData CreateExclusionsPreviewResponse Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

type Rep CreateExclusionsPreviewResponse Source # 
Instance details

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