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

Description

Starts an on-demand Device Defender audit.

Requires permission to access the StartOnDemandAuditTask action.

Synopsis

Creating a Request

data StartOnDemandAuditTask Source #

See: newStartOnDemandAuditTask smart constructor.

Constructors

StartOnDemandAuditTask' 

Fields

  • targetCheckNames :: [Text]

    Which checks are performed during the audit. The checks you specify must be enabled for your account or an exception occurs. Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or UpdateAccountAuditConfiguration to select which checks are enabled.

Instances

Instances details
Eq StartOnDemandAuditTask Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

Read StartOnDemandAuditTask Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

Show StartOnDemandAuditTask Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

Generic StartOnDemandAuditTask Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

Associated Types

type Rep StartOnDemandAuditTask :: Type -> Type #

NFData StartOnDemandAuditTask Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

Methods

rnf :: StartOnDemandAuditTask -> () #

Hashable StartOnDemandAuditTask Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

ToJSON StartOnDemandAuditTask Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

AWSRequest StartOnDemandAuditTask Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

Associated Types

type AWSResponse StartOnDemandAuditTask #

ToHeaders StartOnDemandAuditTask Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

ToPath StartOnDemandAuditTask Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

ToQuery StartOnDemandAuditTask Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

type Rep StartOnDemandAuditTask Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

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

Defined in Amazonka.IoT.StartOnDemandAuditTask

newStartOnDemandAuditTask :: StartOnDemandAuditTask Source #

Create a value of StartOnDemandAuditTask 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:targetCheckNames:StartOnDemandAuditTask', startOnDemandAuditTask_targetCheckNames - Which checks are performed during the audit. The checks you specify must be enabled for your account or an exception occurs. Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or UpdateAccountAuditConfiguration to select which checks are enabled.

Request Lenses

startOnDemandAuditTask_targetCheckNames :: Lens' StartOnDemandAuditTask [Text] Source #

Which checks are performed during the audit. The checks you specify must be enabled for your account or an exception occurs. Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or UpdateAccountAuditConfiguration to select which checks are enabled.

Destructuring the Response

data StartOnDemandAuditTaskResponse Source #

See: newStartOnDemandAuditTaskResponse smart constructor.

Constructors

StartOnDemandAuditTaskResponse' 

Fields

Instances

Instances details
Eq StartOnDemandAuditTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

Read StartOnDemandAuditTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

Show StartOnDemandAuditTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

Generic StartOnDemandAuditTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

Associated Types

type Rep StartOnDemandAuditTaskResponse :: Type -> Type #

NFData StartOnDemandAuditTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

type Rep StartOnDemandAuditTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.StartOnDemandAuditTask

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

newStartOnDemandAuditTaskResponse Source #

Create a value of StartOnDemandAuditTaskResponse 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:StartOnDemandAuditTaskResponse', startOnDemandAuditTaskResponse_taskId - The ID of the on-demand audit you started.

$sel:httpStatus:StartOnDemandAuditTaskResponse', startOnDemandAuditTaskResponse_httpStatus - The response's http status code.

Response Lenses