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

Description

Describes the rules packages that are specified by the ARNs of the rules packages.

Synopsis

Creating a Request

data DescribeRulesPackages Source #

See: newDescribeRulesPackages smart constructor.

Constructors

DescribeRulesPackages' 

Fields

Instances

Instances details
Eq DescribeRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

Read DescribeRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

Show DescribeRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

Generic DescribeRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

Associated Types

type Rep DescribeRulesPackages :: Type -> Type #

NFData DescribeRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

Methods

rnf :: DescribeRulesPackages -> () #

Hashable DescribeRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

ToJSON DescribeRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

AWSRequest DescribeRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

Associated Types

type AWSResponse DescribeRulesPackages #

ToHeaders DescribeRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

ToPath DescribeRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

ToQuery DescribeRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

type Rep DescribeRulesPackages Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

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

Defined in Amazonka.Inspector.DescribeRulesPackages

newDescribeRulesPackages Source #

Create a value of DescribeRulesPackages 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:locale:DescribeRulesPackages', describeRulesPackages_locale - The locale that you want to translate a rules package description into.

$sel:rulesPackageArns:DescribeRulesPackages', describeRulesPackages_rulesPackageArns - The ARN that specifies the rules package that you want to describe.

Request Lenses

describeRulesPackages_locale :: Lens' DescribeRulesPackages (Maybe Locale) Source #

The locale that you want to translate a rules package description into.

describeRulesPackages_rulesPackageArns :: Lens' DescribeRulesPackages (NonEmpty Text) Source #

The ARN that specifies the rules package that you want to describe.

Destructuring the Response

data DescribeRulesPackagesResponse Source #

See: newDescribeRulesPackagesResponse smart constructor.

Constructors

DescribeRulesPackagesResponse' 

Fields

Instances

Instances details
Eq DescribeRulesPackagesResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

Read DescribeRulesPackagesResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

Show DescribeRulesPackagesResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

Generic DescribeRulesPackagesResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

Associated Types

type Rep DescribeRulesPackagesResponse :: Type -> Type #

NFData DescribeRulesPackagesResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

type Rep DescribeRulesPackagesResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeRulesPackages

type Rep DescribeRulesPackagesResponse = D1 ('MetaData "DescribeRulesPackagesResponse" "Amazonka.Inspector.DescribeRulesPackages" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "DescribeRulesPackagesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "rulesPackages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [RulesPackage]) :*: S1 ('MetaSel ('Just "failedItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text FailedItemDetails)))))

newDescribeRulesPackagesResponse Source #

Create a value of DescribeRulesPackagesResponse 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:DescribeRulesPackagesResponse', describeRulesPackagesResponse_httpStatus - The response's http status code.

$sel:rulesPackages:DescribeRulesPackagesResponse', describeRulesPackagesResponse_rulesPackages - Information about the rules package.

$sel:failedItems:DescribeRulesPackagesResponse', describeRulesPackagesResponse_failedItems - Rules package details that cannot be described. An error code is provided for each failed item.

Response Lenses

describeRulesPackagesResponse_failedItems :: Lens' DescribeRulesPackagesResponse (HashMap Text FailedItemDetails) Source #

Rules package details that cannot be described. An error code is provided for each failed item.