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

Description

Describes the exclusions that are specified by the exclusions' ARNs.

Synopsis

Creating a Request

data DescribeExclusions Source #

See: newDescribeExclusions smart constructor.

Constructors

DescribeExclusions' 

Fields

  • locale :: Maybe Locale

    The locale into which you want to translate the exclusion's title, description, and recommendation.

  • exclusionArns :: NonEmpty Text

    The list of ARNs that specify the exclusions that you want to describe.

Instances

Instances details
Eq DescribeExclusions Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

Read DescribeExclusions Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

Show DescribeExclusions Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

Generic DescribeExclusions Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

Associated Types

type Rep DescribeExclusions :: Type -> Type #

NFData DescribeExclusions Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

Methods

rnf :: DescribeExclusions -> () #

Hashable DescribeExclusions Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

ToJSON DescribeExclusions Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

AWSRequest DescribeExclusions Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

Associated Types

type AWSResponse DescribeExclusions #

ToHeaders DescribeExclusions Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

ToPath DescribeExclusions Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

ToQuery DescribeExclusions Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

type Rep DescribeExclusions Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

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

Defined in Amazonka.Inspector.DescribeExclusions

newDescribeExclusions Source #

Create a value of DescribeExclusions 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:DescribeExclusions', describeExclusions_locale - The locale into which you want to translate the exclusion's title, description, and recommendation.

$sel:exclusionArns:DescribeExclusions', describeExclusions_exclusionArns - The list of ARNs that specify the exclusions that you want to describe.

Request Lenses

describeExclusions_locale :: Lens' DescribeExclusions (Maybe Locale) Source #

The locale into which you want to translate the exclusion's title, description, and recommendation.

describeExclusions_exclusionArns :: Lens' DescribeExclusions (NonEmpty Text) Source #

The list of ARNs that specify the exclusions that you want to describe.

Destructuring the Response

data DescribeExclusionsResponse Source #

See: newDescribeExclusionsResponse smart constructor.

Constructors

DescribeExclusionsResponse' 

Fields

Instances

Instances details
Eq DescribeExclusionsResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

Read DescribeExclusionsResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

Show DescribeExclusionsResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

Generic DescribeExclusionsResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

Associated Types

type Rep DescribeExclusionsResponse :: Type -> Type #

NFData DescribeExclusionsResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

type Rep DescribeExclusionsResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeExclusions

type Rep DescribeExclusionsResponse = D1 ('MetaData "DescribeExclusionsResponse" "Amazonka.Inspector.DescribeExclusions" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "DescribeExclusionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "exclusions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Exclusion)) :*: S1 ('MetaSel ('Just "failedItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text FailedItemDetails)))))

newDescribeExclusionsResponse Source #

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

$sel:exclusions:DescribeExclusionsResponse', describeExclusionsResponse_exclusions - Information about the exclusions.

$sel:failedItems:DescribeExclusionsResponse', describeExclusionsResponse_failedItems - Exclusion details that cannot be described. An error code is provided for each failed item.

Response Lenses

describeExclusionsResponse_failedItems :: Lens' DescribeExclusionsResponse (HashMap Text FailedItemDetails) Source #

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