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.Types.MitigationActionParams

Description

 
Synopsis

Documentation

data MitigationActionParams Source #

The set of parameters for this mitigation action. You can specify only one type of parameter (in other words, you can apply only one action for each defined mitigation action).

See: newMitigationActionParams smart constructor.

Constructors

MitigationActionParams' 

Fields

Instances

Instances details
Eq MitigationActionParams Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationActionParams

Read MitigationActionParams Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationActionParams

Show MitigationActionParams Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationActionParams

Generic MitigationActionParams Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationActionParams

Associated Types

type Rep MitigationActionParams :: Type -> Type #

NFData MitigationActionParams Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationActionParams

Methods

rnf :: MitigationActionParams -> () #

Hashable MitigationActionParams Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationActionParams

ToJSON MitigationActionParams Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationActionParams

FromJSON MitigationActionParams Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationActionParams

type Rep MitigationActionParams Source # 
Instance details

Defined in Amazonka.IoT.Types.MitigationActionParams

type Rep MitigationActionParams = D1 ('MetaData "MitigationActionParams" "Amazonka.IoT.Types.MitigationActionParams" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "MitigationActionParams'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enableIoTLoggingParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnableIoTLoggingParams)) :*: (S1 ('MetaSel ('Just "addThingsToThingGroupParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AddThingsToThingGroupParams)) :*: S1 ('MetaSel ('Just "updateCACertificateParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpdateCACertificateParams)))) :*: (S1 ('MetaSel ('Just "updateDeviceCertificateParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpdateDeviceCertificateParams)) :*: (S1 ('MetaSel ('Just "replaceDefaultPolicyVersionParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplaceDefaultPolicyVersionParams)) :*: S1 ('MetaSel ('Just "publishFindingToSnsParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PublishFindingToSnsParams))))))

newMitigationActionParams :: MitigationActionParams Source #

Create a value of MitigationActionParams 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:enableIoTLoggingParams:MitigationActionParams', mitigationActionParams_enableIoTLoggingParams - Parameters to define a mitigation action that enables Amazon Web Services IoT Core logging at a specified level of detail.

$sel:addThingsToThingGroupParams:MitigationActionParams', mitigationActionParams_addThingsToThingGroupParams - Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine.

$sel:updateCACertificateParams:MitigationActionParams', mitigationActionParams_updateCACertificateParams - Parameters to define a mitigation action that changes the state of the CA certificate to inactive.

$sel:updateDeviceCertificateParams:MitigationActionParams', mitigationActionParams_updateDeviceCertificateParams - Parameters to define a mitigation action that changes the state of the device certificate to inactive.

$sel:replaceDefaultPolicyVersionParams:MitigationActionParams', mitigationActionParams_replaceDefaultPolicyVersionParams - Parameters to define a mitigation action that adds a blank policy to restrict permissions.

$sel:publishFindingToSnsParams:MitigationActionParams', mitigationActionParams_publishFindingToSnsParams - Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages.

mitigationActionParams_enableIoTLoggingParams :: Lens' MitigationActionParams (Maybe EnableIoTLoggingParams) Source #

Parameters to define a mitigation action that enables Amazon Web Services IoT Core logging at a specified level of detail.

mitigationActionParams_addThingsToThingGroupParams :: Lens' MitigationActionParams (Maybe AddThingsToThingGroupParams) Source #

Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine.

mitigationActionParams_updateCACertificateParams :: Lens' MitigationActionParams (Maybe UpdateCACertificateParams) Source #

Parameters to define a mitigation action that changes the state of the CA certificate to inactive.

mitigationActionParams_updateDeviceCertificateParams :: Lens' MitigationActionParams (Maybe UpdateDeviceCertificateParams) Source #

Parameters to define a mitigation action that changes the state of the device certificate to inactive.

mitigationActionParams_replaceDefaultPolicyVersionParams :: Lens' MitigationActionParams (Maybe ReplaceDefaultPolicyVersionParams) Source #

Parameters to define a mitigation action that adds a blank policy to restrict permissions.

mitigationActionParams_publishFindingToSnsParams :: Lens' MitigationActionParams (Maybe PublishFindingToSnsParams) Source #

Parameters to define a mitigation action that publishes findings to Amazon Simple Notification Service (Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages.