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 |
Adds or updates the remediation configuration with a specific Config
rule with the selected target or action. The API creates the
RemediationConfiguration
object for the Config rule. The Config rule
must already exist for you to add a remediation configuration. The
target (SSM document) must exist and have permissions to use the target.
If you make backward incompatible changes to the SSM document, you must call this again to ensure the remediations can run.
This API does not support adding remediation configurations for service-linked Config Rules such as Organization Config rules, the rules deployed by conformance packs, and rules deployed by Amazon Web Services Security Hub.
Synopsis
- data PutRemediationConfigurations = PutRemediationConfigurations' {}
- newPutRemediationConfigurations :: PutRemediationConfigurations
- putRemediationConfigurations_remediationConfigurations :: Lens' PutRemediationConfigurations [RemediationConfiguration]
- data PutRemediationConfigurationsResponse = PutRemediationConfigurationsResponse' {}
- newPutRemediationConfigurationsResponse :: Int -> PutRemediationConfigurationsResponse
- putRemediationConfigurationsResponse_failedBatches :: Lens' PutRemediationConfigurationsResponse (Maybe [FailedRemediationBatch])
- putRemediationConfigurationsResponse_httpStatus :: Lens' PutRemediationConfigurationsResponse Int
Creating a Request
data PutRemediationConfigurations Source #
See: newPutRemediationConfigurations
smart constructor.
PutRemediationConfigurations' | |
|
Instances
newPutRemediationConfigurations :: PutRemediationConfigurations Source #
Create a value of PutRemediationConfigurations
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:remediationConfigurations:PutRemediationConfigurations'
, putRemediationConfigurations_remediationConfigurations
- A list of remediation configuration objects.
Request Lenses
putRemediationConfigurations_remediationConfigurations :: Lens' PutRemediationConfigurations [RemediationConfiguration] Source #
A list of remediation configuration objects.
Destructuring the Response
data PutRemediationConfigurationsResponse Source #
See: newPutRemediationConfigurationsResponse
smart constructor.
PutRemediationConfigurationsResponse' | |
|
Instances
newPutRemediationConfigurationsResponse Source #
Create a value of PutRemediationConfigurationsResponse
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:failedBatches:PutRemediationConfigurationsResponse'
, putRemediationConfigurationsResponse_failedBatches
- Returns a list of failed remediation batch objects.
$sel:httpStatus:PutRemediationConfigurationsResponse'
, putRemediationConfigurationsResponse_httpStatus
- The response's http status code.
Response Lenses
putRemediationConfigurationsResponse_failedBatches :: Lens' PutRemediationConfigurationsResponse (Maybe [FailedRemediationBatch]) Source #
Returns a list of failed remediation batch objects.
putRemediationConfigurationsResponse_httpStatus :: Lens' PutRemediationConfigurationsResponse Int Source #
The response's http status code.