libZSservicesZSamazonka-configZSamazonka-config
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Config.PutRemediationExceptions

Description

A remediation exception is when a specific resource is no longer considered for auto-remediation. This API adds a new exception or updates an existing exception for a specific resource with a specific Config rule.

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 PutRemediationExceptions Source #

See: newPutRemediationExceptions smart constructor.

Constructors

PutRemediationExceptions' 

Fields

Instances

Instances details
Eq PutRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

Read PutRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

Show PutRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

Generic PutRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

Associated Types

type Rep PutRemediationExceptions :: Type -> Type #

NFData PutRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

Hashable PutRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

ToJSON PutRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

AWSRequest PutRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

ToHeaders PutRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

ToPath PutRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

ToQuery PutRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

type Rep PutRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

type Rep PutRemediationExceptions = D1 ('MetaData "PutRemediationExceptions" "Amazonka.Config.PutRemediationExceptions" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "PutRemediationExceptions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "expirationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "configRuleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty RemediationExceptionResourceKey)))))
type AWSResponse PutRemediationExceptions Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

newPutRemediationExceptions Source #

Create a value of PutRemediationExceptions 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:message:PutRemediationExceptions', putRemediationExceptions_message - The message contains an explanation of the exception.

$sel:expirationTime:PutRemediationExceptions', putRemediationExceptions_expirationTime - The exception is automatically deleted after the expiration date.

$sel:configRuleName:PutRemediationExceptions', putRemediationExceptions_configRuleName - The name of the Config rule for which you want to create remediation exception.

$sel:resourceKeys:PutRemediationExceptions', putRemediationExceptions_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

putRemediationExceptions_message :: Lens' PutRemediationExceptions (Maybe Text) Source #

The message contains an explanation of the exception.

putRemediationExceptions_expirationTime :: Lens' PutRemediationExceptions (Maybe UTCTime) Source #

The exception is automatically deleted after the expiration date.

putRemediationExceptions_configRuleName :: Lens' PutRemediationExceptions Text Source #

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

putRemediationExceptions_resourceKeys :: Lens' PutRemediationExceptions (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 PutRemediationExceptionsResponse Source #

See: newPutRemediationExceptionsResponse smart constructor.

Constructors

PutRemediationExceptionsResponse' 

Fields

Instances

Instances details
Eq PutRemediationExceptionsResponse Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

Read PutRemediationExceptionsResponse Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

Show PutRemediationExceptionsResponse Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

Generic PutRemediationExceptionsResponse Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

Associated Types

type Rep PutRemediationExceptionsResponse :: Type -> Type #

NFData PutRemediationExceptionsResponse Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

type Rep PutRemediationExceptionsResponse Source # 
Instance details

Defined in Amazonka.Config.PutRemediationExceptions

type Rep PutRemediationExceptionsResponse = D1 ('MetaData "PutRemediationExceptionsResponse" "Amazonka.Config.PutRemediationExceptions" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "PutRemediationExceptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failedBatches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailedRemediationExceptionBatch])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutRemediationExceptionsResponse Source #

Create a value of PutRemediationExceptionsResponse 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:PutRemediationExceptionsResponse', putRemediationExceptionsResponse_failedBatches - Returns a list of failed remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.

$sel:httpStatus:PutRemediationExceptionsResponse', putRemediationExceptionsResponse_httpStatus - The response's http status code.

Response Lenses

putRemediationExceptionsResponse_failedBatches :: Lens' PutRemediationExceptionsResponse (Maybe [FailedRemediationExceptionBatch]) Source #

Returns a list of failed remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.