amazonka-config-2.0: Amazon Config SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Config.DeleteRemediationExceptions

Description

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

Creating a Request

data DeleteRemediationExceptions Source #

See: newDeleteRemediationExceptions smart constructor.

Constructors

DeleteRemediationExceptions' 

Fields

  • configRuleName :: Text

    The name of the Config rule for which you want to delete remediation exception configuration.

  • resourceKeys :: NonEmpty RemediationExceptionResourceKey

    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.

Instances

Instances details
ToJSON DeleteRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

ToHeaders DeleteRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

ToPath DeleteRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

ToQuery DeleteRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

AWSRequest DeleteRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

Generic DeleteRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

Associated Types

type Rep DeleteRemediationExceptions :: Type -> Type #

Read DeleteRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

Show DeleteRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

NFData DeleteRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

Eq DeleteRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

Hashable DeleteRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

type AWSResponse DeleteRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

type Rep DeleteRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

type Rep DeleteRemediationExceptions = D1 ('MetaData "DeleteRemediationExceptions" "Amazonka.Config.DeleteRemediationExceptions" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "DeleteRemediationExceptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "configRuleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty RemediationExceptionResourceKey))))

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 #

Constructors

DeleteRemediationExceptionsResponse' 

Fields

Instances

Instances details
Generic DeleteRemediationExceptionsResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

Read DeleteRemediationExceptionsResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

Show DeleteRemediationExceptionsResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

NFData DeleteRemediationExceptionsResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

Eq DeleteRemediationExceptionsResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteRemediationExceptions

type Rep DeleteRemediationExceptionsResponse Source # 
Instance details

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.