Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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:
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
Generic DeleteRemediationExceptionsResponse Source # | |
Read DeleteRemediationExceptionsResponse Source # | |
Show DeleteRemediationExceptionsResponse Source # | |
NFData DeleteRemediationExceptionsResponse Source # | |
Defined in Amazonka.Config.DeleteRemediationExceptions rnf :: DeleteRemediationExceptionsResponse -> () # | |
Eq DeleteRemediationExceptionsResponse Source # | |
type Rep DeleteRemediationExceptionsResponse Source # | |
Defined in Amazonka.Config.DeleteRemediationExceptions type Rep DeleteRemediationExceptionsResponse = D1 ('MetaData "DeleteRemediationExceptionsResponse" "Amazonka.Config.DeleteRemediationExceptions" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "DeleteRemediationExceptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failedBatches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailedDeleteRemediationExceptionsBatch])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.