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

Description

Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.

Requires permission to access the CancelAuditMitigationActionsTask action.

Synopsis

Creating a Request

data CancelAuditMitigationActionsTask Source #

See: newCancelAuditMitigationActionsTask smart constructor.

Constructors

CancelAuditMitigationActionsTask' 

Fields

  • taskId :: Text

    The unique identifier for the task that you want to cancel.

Instances

Instances details
Eq CancelAuditMitigationActionsTask Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

Read CancelAuditMitigationActionsTask Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

Show CancelAuditMitigationActionsTask Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

Generic CancelAuditMitigationActionsTask Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

Associated Types

type Rep CancelAuditMitigationActionsTask :: Type -> Type #

NFData CancelAuditMitigationActionsTask Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

Hashable CancelAuditMitigationActionsTask Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

ToJSON CancelAuditMitigationActionsTask Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

AWSRequest CancelAuditMitigationActionsTask Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

ToHeaders CancelAuditMitigationActionsTask Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

ToPath CancelAuditMitigationActionsTask Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

ToQuery CancelAuditMitigationActionsTask Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

type Rep CancelAuditMitigationActionsTask Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

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

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

newCancelAuditMitigationActionsTask Source #

Create a value of CancelAuditMitigationActionsTask 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:CancelAuditMitigationActionsTask', cancelAuditMitigationActionsTask_taskId - The unique identifier for the task that you want to cancel.

Request Lenses

cancelAuditMitigationActionsTask_taskId :: Lens' CancelAuditMitigationActionsTask Text Source #

The unique identifier for the task that you want to cancel.

Destructuring the Response

data CancelAuditMitigationActionsTaskResponse Source #

Constructors

CancelAuditMitigationActionsTaskResponse' 

Fields

Instances

Instances details
Eq CancelAuditMitigationActionsTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

Read CancelAuditMitigationActionsTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

Show CancelAuditMitigationActionsTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

Generic CancelAuditMitigationActionsTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

NFData CancelAuditMitigationActionsTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

type Rep CancelAuditMitigationActionsTaskResponse Source # 
Instance details

Defined in Amazonka.IoT.CancelAuditMitigationActionsTask

type Rep CancelAuditMitigationActionsTaskResponse = D1 ('MetaData "CancelAuditMitigationActionsTaskResponse" "Amazonka.IoT.CancelAuditMitigationActionsTask" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "CancelAuditMitigationActionsTaskResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCancelAuditMitigationActionsTaskResponse Source #

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

Response Lenses