Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data MitigationActionParams = MitigationActionParams' {
- enableIoTLoggingParams :: Maybe EnableIoTLoggingParams
- addThingsToThingGroupParams :: Maybe AddThingsToThingGroupParams
- updateCACertificateParams :: Maybe UpdateCACertificateParams
- updateDeviceCertificateParams :: Maybe UpdateDeviceCertificateParams
- replaceDefaultPolicyVersionParams :: Maybe ReplaceDefaultPolicyVersionParams
- publishFindingToSnsParams :: Maybe PublishFindingToSnsParams
- newMitigationActionParams :: MitigationActionParams
- mitigationActionParams_enableIoTLoggingParams :: Lens' MitigationActionParams (Maybe EnableIoTLoggingParams)
- mitigationActionParams_addThingsToThingGroupParams :: Lens' MitigationActionParams (Maybe AddThingsToThingGroupParams)
- mitigationActionParams_updateCACertificateParams :: Lens' MitigationActionParams (Maybe UpdateCACertificateParams)
- mitigationActionParams_updateDeviceCertificateParams :: Lens' MitigationActionParams (Maybe UpdateDeviceCertificateParams)
- mitigationActionParams_replaceDefaultPolicyVersionParams :: Lens' MitigationActionParams (Maybe ReplaceDefaultPolicyVersionParams)
- mitigationActionParams_publishFindingToSnsParams :: Lens' MitigationActionParams (Maybe PublishFindingToSnsParams)
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.
MitigationActionParams' | |
|
Instances
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.