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

Description

Gets information about a Device Defender audit.

Requires permission to access the DescribeAuditTask action.

Synopsis

Creating a Request

data DescribeAuditTask Source #

See: newDescribeAuditTask smart constructor.

Constructors

DescribeAuditTask' 

Fields

  • taskId :: Text

    The ID of the audit whose information you want to get.

Instances

Instances details
Eq DescribeAuditTask Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

Read DescribeAuditTask Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

Show DescribeAuditTask Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

Generic DescribeAuditTask Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

Associated Types

type Rep DescribeAuditTask :: Type -> Type #

NFData DescribeAuditTask Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

Methods

rnf :: DescribeAuditTask -> () #

Hashable DescribeAuditTask Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

AWSRequest DescribeAuditTask Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

Associated Types

type AWSResponse DescribeAuditTask #

ToHeaders DescribeAuditTask Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

ToPath DescribeAuditTask Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

ToQuery DescribeAuditTask Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

type Rep DescribeAuditTask Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

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

Defined in Amazonka.IoT.DescribeAuditTask

newDescribeAuditTask Source #

Create a value of DescribeAuditTask 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:taskId:DescribeAuditTask', describeAuditTask_taskId - The ID of the audit whose information you want to get.

Request Lenses

describeAuditTask_taskId :: Lens' DescribeAuditTask Text Source #

The ID of the audit whose information you want to get.

Destructuring the Response

data DescribeAuditTaskResponse Source #

See: newDescribeAuditTaskResponse smart constructor.

Constructors

DescribeAuditTaskResponse' 

Fields

Instances

Instances details
Eq DescribeAuditTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

Read DescribeAuditTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

Show DescribeAuditTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

Generic DescribeAuditTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

Associated Types

type Rep DescribeAuditTaskResponse :: Type -> Type #

NFData DescribeAuditTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

type Rep DescribeAuditTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeAuditTask

newDescribeAuditTaskResponse Source #

Create a value of DescribeAuditTaskResponse 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:auditDetails:DescribeAuditTaskResponse', describeAuditTaskResponse_auditDetails - Detailed information about each check performed during this audit.

$sel:taskType:DescribeAuditTaskResponse', describeAuditTaskResponse_taskType - The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".

$sel:taskStartTime:DescribeAuditTaskResponse', describeAuditTaskResponse_taskStartTime - The time the audit started.

$sel:taskStatistics:DescribeAuditTaskResponse', describeAuditTaskResponse_taskStatistics - Statistical information about the audit.

$sel:scheduledAuditName:DescribeAuditTaskResponse', describeAuditTaskResponse_scheduledAuditName - The name of the scheduled audit (only if the audit was a scheduled audit).

$sel:taskStatus:DescribeAuditTaskResponse', describeAuditTaskResponse_taskStatus - The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".

$sel:httpStatus:DescribeAuditTaskResponse', describeAuditTaskResponse_httpStatus - The response's http status code.

Response Lenses

describeAuditTaskResponse_auditDetails :: Lens' DescribeAuditTaskResponse (Maybe (HashMap Text AuditCheckDetails)) Source #

Detailed information about each check performed during this audit.

describeAuditTaskResponse_taskType :: Lens' DescribeAuditTaskResponse (Maybe AuditTaskType) Source #

The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".

describeAuditTaskResponse_scheduledAuditName :: Lens' DescribeAuditTaskResponse (Maybe Text) Source #

The name of the scheduled audit (only if the audit was a scheduled audit).

describeAuditTaskResponse_taskStatus :: Lens' DescribeAuditTaskResponse (Maybe AuditTaskStatus) Source #

The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".