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

Description

Lists all available Amazon Inspector rules packages.

This operation returns paginated results.

Synopsis

Creating a Request

data ListRulesPackages Source #

See: newListRulesPackages smart constructor.

Constructors

ListRulesPackages' 

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 ListRulesPackages 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 10. The maximum value is 500.

Instances

Instances details
Eq ListRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

Read ListRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

Show ListRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

Generic ListRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

Associated Types

type Rep ListRulesPackages :: Type -> Type #

NFData ListRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

Methods

rnf :: ListRulesPackages -> () #

Hashable ListRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

ToJSON ListRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

AWSPager ListRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

AWSRequest ListRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

Associated Types

type AWSResponse ListRulesPackages #

ToHeaders ListRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

ToPath ListRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

ToQuery ListRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

type Rep ListRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

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

Defined in Amazonka.Inspector.ListRulesPackages

newListRulesPackages :: ListRulesPackages Source #

Create a value of ListRulesPackages 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:ListRulesPackages', listRulesPackages_nextToken - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListRulesPackages 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:ListRulesPackages', listRulesPackages_maxResults - You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.

Request Lenses

listRulesPackages_nextToken :: Lens' ListRulesPackages (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 ListRulesPackages action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

listRulesPackages_maxResults :: Lens' ListRulesPackages (Maybe Int) Source #

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.

Destructuring the Response

data ListRulesPackagesResponse Source #

See: newListRulesPackagesResponse smart constructor.

Constructors

ListRulesPackagesResponse' 

Fields

  • nextToken :: Maybe Text

    When a response is generated, if there is more data to be listed, this parameter 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.

  • rulesPackageArns :: [Text]

    The list of ARNs that specifies the rules packages returned by the action.

Instances

Instances details
Eq ListRulesPackagesResponse Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

Read ListRulesPackagesResponse Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

Show ListRulesPackagesResponse Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

Generic ListRulesPackagesResponse Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

Associated Types

type Rep ListRulesPackagesResponse :: Type -> Type #

NFData ListRulesPackagesResponse Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

type Rep ListRulesPackagesResponse Source # 
Instance details

Defined in Amazonka.Inspector.ListRulesPackages

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

newListRulesPackagesResponse Source #

Create a value of ListRulesPackagesResponse 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:ListRulesPackages', listRulesPackagesResponse_nextToken - When a response is generated, if there is more data to be listed, this parameter 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:ListRulesPackagesResponse', listRulesPackagesResponse_httpStatus - The response's http status code.

$sel:rulesPackageArns:ListRulesPackagesResponse', listRulesPackagesResponse_rulesPackageArns - The list of ARNs that specifies the rules packages returned by the action.

Response Lenses

listRulesPackagesResponse_nextToken :: Lens' ListRulesPackagesResponse (Maybe Text) Source #

When a response is generated, if there is more data to be listed, this parameter 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.

listRulesPackagesResponse_rulesPackageArns :: Lens' ListRulesPackagesResponse [Text] Source #

The list of ARNs that specifies the rules packages returned by the action.