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 |
Deletes one or more remediation exceptions mentioned in the resource keys.
Config generates a remediation exception when a problem occurs executing a remediation action to a specific resource. Remediation exceptions blocks auto-remediation until the exception is cleared.
Synopsis
- data DeleteRemediationExceptions = DeleteRemediationExceptions' {}
- newDeleteRemediationExceptions :: Text -> NonEmpty RemediationExceptionResourceKey -> DeleteRemediationExceptions
- deleteRemediationExceptions_configRuleName :: Lens' DeleteRemediationExceptions Text
- deleteRemediationExceptions_resourceKeys :: Lens' DeleteRemediationExceptions (NonEmpty RemediationExceptionResourceKey)
- data DeleteRemediationExceptionsResponse = DeleteRemediationExceptionsResponse' {}
- newDeleteRemediationExceptionsResponse :: Int -> DeleteRemediationExceptionsResponse
- deleteRemediationExceptionsResponse_failedBatches :: Lens' DeleteRemediationExceptionsResponse (Maybe [FailedDeleteRemediationExceptionsBatch])
- deleteRemediationExceptionsResponse_httpStatus :: Lens' DeleteRemediationExceptionsResponse Int
Creating a Request
data DeleteRemediationExceptions Source #
See: newDeleteRemediationExceptions
smart constructor.
DeleteRemediationExceptions' | |
|
Instances
newDeleteRemediationExceptions Source #
Create a value of DeleteRemediationExceptions
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:configRuleName:DeleteRemediationExceptions'
, deleteRemediationExceptions_configRuleName
- The name of the Config rule for which you want to delete remediation
exception configuration.
$sel:resourceKeys:DeleteRemediationExceptions'
, deleteRemediationExceptions_resourceKeys
- An exception list of resource exception keys to be processed with the
current request. Config adds exception for each resource key. For
example, Config adds 3 exceptions for 3 resource keys.
Request Lenses
deleteRemediationExceptions_configRuleName :: Lens' DeleteRemediationExceptions Text Source #
The name of the Config rule for which you want to delete remediation exception configuration.
deleteRemediationExceptions_resourceKeys :: Lens' DeleteRemediationExceptions (NonEmpty RemediationExceptionResourceKey) Source #
An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.
Destructuring the Response
data DeleteRemediationExceptionsResponse Source #
See: newDeleteRemediationExceptionsResponse
smart constructor.
DeleteRemediationExceptionsResponse' | |
|
Instances
newDeleteRemediationExceptionsResponse Source #
Create a value of DeleteRemediationExceptionsResponse
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:DeleteRemediationExceptionsResponse'
, deleteRemediationExceptionsResponse_failedBatches
- Returns a list of failed delete remediation exceptions batch objects.
Each object in the batch consists of a list of failed items and failure
messages.
$sel:httpStatus:DeleteRemediationExceptionsResponse'
, deleteRemediationExceptionsResponse_httpStatus
- The response's http status code.
Response Lenses
deleteRemediationExceptionsResponse_failedBatches :: Lens' DeleteRemediationExceptionsResponse (Maybe [FailedDeleteRemediationExceptionsBatch]) Source #
Returns a list of failed delete remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.
deleteRemediationExceptionsResponse_httpStatus :: Lens' DeleteRemediationExceptionsResponse Int Source #
The response's http status code.