amazonka-inspector-2.0: Amazon Inspector SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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

AWSRequest 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 #

Read CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Show CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

NFData CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Methods

rnf :: CreateExclusionsPreview -> () #

Eq CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Hashable CreateExclusionsPreview Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

type AWSResponse 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" "amazonka-inspector-2.0-DbkSB2KDR0U54GYFqTMz6L" 'False) (C1 ('MetaCons "CreateExclusionsPreview'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assessmentTemplateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic CreateExclusionsPreviewResponse Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Associated Types

type Rep CreateExclusionsPreviewResponse :: Type -> Type #

Read CreateExclusionsPreviewResponse Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Show CreateExclusionsPreviewResponse Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

NFData CreateExclusionsPreviewResponse Source # 
Instance details

Defined in Amazonka.Inspector.CreateExclusionsPreview

Eq 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" "amazonka-inspector-2.0-DbkSB2KDR0U54GYFqTMz6L" '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.