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

Description

List exclusions that are generated by the assessment run.

This operation returns paginated results.

Synopsis

Creating a Request

data ListExclusions Source #

See: newListExclusions smart constructor.

Constructors

ListExclusions' 

Fields

  • nextToken :: Maybe Text

    You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListExclusionsRequest action. Subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.

  • maxResults :: Maybe Int

    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.

  • assessmentRunArn :: Text

    The ARN of the assessment run that generated the exclusions that you want to list.

Instances

Instances details
Eq ListExclusions Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

Read ListExclusions Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

Show ListExclusions Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

Generic ListExclusions Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

Associated Types

type Rep ListExclusions :: Type -> Type #

NFData ListExclusions Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

Methods

rnf :: ListExclusions -> () #

Hashable ListExclusions Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

ToJSON ListExclusions Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

AWSPager ListExclusions Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

AWSRequest ListExclusions Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

Associated Types

type AWSResponse ListExclusions #

ToHeaders ListExclusions Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

ToPath ListExclusions Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

ToQuery ListExclusions Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

type Rep ListExclusions Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

type Rep ListExclusions = D1 ('MetaData "ListExclusions" "Amazonka.Inspector.ListExclusions" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "ListExclusions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "assessmentRunArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListExclusions Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

newListExclusions Source #

Create a value of ListExclusions 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:nextToken:ListExclusions', listExclusions_nextToken - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListExclusionsRequest action. Subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.

$sel:maxResults:ListExclusions', listExclusions_maxResults - 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.

$sel:assessmentRunArn:ListExclusions', listExclusions_assessmentRunArn - The ARN of the assessment run that generated the exclusions that you want to list.

Request Lenses

listExclusions_nextToken :: Lens' ListExclusions (Maybe Text) Source #

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListExclusionsRequest action. Subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.

listExclusions_maxResults :: Lens' ListExclusions (Maybe Int) Source #

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.

listExclusions_assessmentRunArn :: Lens' ListExclusions Text Source #

The ARN of the assessment run that generated the exclusions that you want to list.

Destructuring the Response

data ListExclusionsResponse Source #

See: newListExclusionsResponse smart constructor.

Constructors

ListExclusionsResponse' 

Fields

  • nextToken :: Maybe Text

    When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.

  • httpStatus :: Int

    The response's http status code.

  • exclusionArns :: [Text]

    A list of exclusions' ARNs returned by the action.

Instances

Instances details
Eq ListExclusionsResponse Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

Read ListExclusionsResponse Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

Show ListExclusionsResponse Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

Generic ListExclusionsResponse Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

Associated Types

type Rep ListExclusionsResponse :: Type -> Type #

NFData ListExclusionsResponse Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

Methods

rnf :: ListExclusionsResponse -> () #

type Rep ListExclusionsResponse Source # 
Instance details

Defined in Amazonka.Inspector.ListExclusions

type Rep ListExclusionsResponse = D1 ('MetaData "ListExclusionsResponse" "Amazonka.Inspector.ListExclusions" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "ListExclusionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "exclusionArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newListExclusionsResponse Source #

Create a value of ListExclusionsResponse 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:nextToken:ListExclusions', listExclusionsResponse_nextToken - When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.

$sel:httpStatus:ListExclusionsResponse', listExclusionsResponse_httpStatus - The response's http status code.

$sel:exclusionArns:ListExclusionsResponse', listExclusionsResponse_exclusionArns - A list of exclusions' ARNs returned by the action.

Response Lenses

listExclusionsResponse_nextToken :: Lens' ListExclusionsResponse (Maybe Text) Source #

When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.

listExclusionsResponse_exclusionArns :: Lens' ListExclusionsResponse [Text] Source #

A list of exclusions' ARNs returned by the action.