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.PutRemediationConfigurations

Description

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

Creating a Request

data PutRemediationConfigurations Source #

See: newPutRemediationConfigurations smart constructor.

Constructors

PutRemediationConfigurations' 

Fields

Instances

Instances details
Eq PutRemediationConfigurations Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

Read PutRemediationConfigurations Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

Show PutRemediationConfigurations Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

Generic PutRemediationConfigurations Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

Associated Types

type Rep PutRemediationConfigurations :: Type -> Type #

NFData PutRemediationConfigurations Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

Hashable PutRemediationConfigurations Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

ToJSON PutRemediationConfigurations Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

AWSRequest PutRemediationConfigurations Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

ToHeaders PutRemediationConfigurations Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

ToPath PutRemediationConfigurations Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

ToQuery PutRemediationConfigurations Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

type Rep PutRemediationConfigurations Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

type Rep PutRemediationConfigurations = D1 ('MetaData "PutRemediationConfigurations" "Amazonka.Config.PutRemediationConfigurations" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "PutRemediationConfigurations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "remediationConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [RemediationConfiguration])))
type AWSResponse PutRemediationConfigurations Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

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

Destructuring the Response

data PutRemediationConfigurationsResponse Source #

Constructors

PutRemediationConfigurationsResponse' 

Fields

Instances

Instances details
Eq PutRemediationConfigurationsResponse Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

Read PutRemediationConfigurationsResponse Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

Show PutRemediationConfigurationsResponse Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

Generic PutRemediationConfigurationsResponse Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

NFData PutRemediationConfigurationsResponse Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

type Rep PutRemediationConfigurationsResponse Source # 
Instance details

Defined in Amazonka.Config.PutRemediationConfigurations

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

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