libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.DescribeAuditFinding

Description

Gets information about a single audit finding. Properties include the reason for noncompliance, the severity of the issue, and the start time when the audit that returned the finding.

Requires permission to access the DescribeAuditFinding action.

Synopsis

Creating a Request

data DescribeAuditFinding Source #

See: newDescribeAuditFinding smart constructor.

Constructors

DescribeAuditFinding' 

Fields

  • findingId :: Text

    A unique identifier for a single audit finding. You can use this identifier to apply mitigation actions to the finding.

Instances

Instances details
Eq DescribeAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

Read DescribeAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

Show DescribeAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

Generic DescribeAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

Associated Types

type Rep DescribeAuditFinding :: Type -> Type #

NFData DescribeAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

Methods

rnf :: DescribeAuditFinding -> () #

Hashable DescribeAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

AWSRequest DescribeAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

Associated Types

type AWSResponse DescribeAuditFinding #

ToHeaders DescribeAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

ToPath DescribeAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

ToQuery DescribeAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

type Rep DescribeAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

type Rep DescribeAuditFinding = D1 ('MetaData "DescribeAuditFinding" "Amazonka.IoT.DescribeAuditFinding" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeAuditFinding'" 'PrefixI 'True) (S1 ('MetaSel ('Just "findingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeAuditFinding Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

newDescribeAuditFinding Source #

Create a value of DescribeAuditFinding 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:findingId:DescribeAuditFinding', describeAuditFinding_findingId - A unique identifier for a single audit finding. You can use this identifier to apply mitigation actions to the finding.

Request Lenses

describeAuditFinding_findingId :: Lens' DescribeAuditFinding Text Source #

A unique identifier for a single audit finding. You can use this identifier to apply mitigation actions to the finding.

Destructuring the Response

data DescribeAuditFindingResponse Source #

See: newDescribeAuditFindingResponse smart constructor.

Constructors

DescribeAuditFindingResponse' 

Fields

Instances

Instances details
Eq DescribeAuditFindingResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

Read DescribeAuditFindingResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

Show DescribeAuditFindingResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

Generic DescribeAuditFindingResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

Associated Types

type Rep DescribeAuditFindingResponse :: Type -> Type #

NFData DescribeAuditFindingResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

type Rep DescribeAuditFindingResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditFinding

type Rep DescribeAuditFindingResponse = D1 ('MetaData "DescribeAuditFindingResponse" "Amazonka.IoT.DescribeAuditFinding" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeAuditFindingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "finding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuditFinding)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeAuditFindingResponse Source #

Create a value of DescribeAuditFindingResponse 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:finding:DescribeAuditFindingResponse', describeAuditFindingResponse_finding - Undocumented member.

$sel:httpStatus:DescribeAuditFindingResponse', describeAuditFindingResponse_httpStatus - The response's http status code.

Response Lenses