DeleteRemediationConfiguration
Deletes the remediation configuration.
Request Syntax
{ "ConfigRuleName": "string", "ResourceType": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 386).
The request accepts the following data in JSON format.
ConfigRuleName (p. 35)
The name of the AWS Config rule for which you want to delete remediation configuration.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
Pattern: .*\S.*
Required: Yes ResourceType (p. 35)
The type of a resource.
Type: String Required: No
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors (p. 388).
InsufficientPermissionsException Indicates one of the following errors:
• For PutConfigRule, the rule cannot be created because the IAM role assigned to AWS Config lacks permissions to perform the config:Put* action.
• For PutConfigRule, the AWS Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.
• For PutOrganizationConfigRule, organization config rule cannot be created because you do not have permissions to call IAM GetRole action or create a service linked role.
See Also
• For PutConformancePack and PutOrganizationConformancePack, a conformance pack cannot be created because you do not have permissions:
• To call IAM GetRole action or create a service linked role.
• To read Amazon S3 bucket.
HTTP Status Code: 400 InvalidParameterValueException
One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.
HTTP Status Code: 400
NoSuchRemediationConfigurationException
You specified an AWS Config rule without a remediation configuration.
HTTP Status Code: 400 RemediationInProgressException
Remediation action is in progress. You can either cancel execution in AWS Systems Manager or wait and try again later.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DeleteRemediationExceptions
DeleteRemediationExceptions
Deletes one or more remediation exceptions mentioned in the resource keys.
Note
AWS 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.
Request Syntax
{ "ConfigRuleName": "string", "ResourceKeys": [
{
"ResourceId": "string", "ResourceType": "string"
} ] }
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 386).
The request accepts the following data in JSON format.
ConfigRuleName (p. 37)
The name of the AWS Config rule for which you want to delete remediation exception configuration.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
Pattern: .*\S.*
Required: Yes ResourceKeys (p. 37)
An exception list of resource exception keys to be processed with the current request. AWS Config adds exception for each resource key. For example, AWS Config adds 3 exceptions for 3 resource keys.
Type: Array of RemediationExceptionResourceKey (p. 357) objects
Array Members: Minimum number of 1 item. Maximum number of 100 items.
Required: Yes
Response Syntax
{
"FailedBatches": [ {
Response Elements
"FailedItems": [ {
"ResourceId": "string", "ResourceType": "string"
} ],
"FailureMessage": "string"
} ] }
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
FailedBatches (p. 37)
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.
Type: Array of FailedDeleteRemediationExceptionsBatch (p. 320) objects
Errors
For information about the errors that are common to all actions, see Common Errors (p. 388).
NoSuchRemediationExceptionException
You tried to delete a remediation exception that does not exist.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
DeleteResourceConfig
DeleteResourceConfig
Records the configuration state for a custom resource that has been deleted. This API records a new ConfigurationItem with a ResourceDeleted status. You can retrieve the ConfigurationItems recorded for this resource in your AWS Config History.
Request Syntax
{ "ResourceId": "string", "ResourceType": "string"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters (p. 386).
The request accepts the following data in JSON format.
ResourceId (p. 39)
Unique identifier of the resource.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 768.
Required: Yes ResourceType (p. 39)
The type of the resource.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 196.
Required: Yes
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors (p. 388).
NoRunningConfigurationRecorderException There is no configuration recorder running.
HTTP Status Code: 400 ValidationException
The requested action is not valid.
See Also
For PutStoredQuery, you will see this exception if there are missing required fields or if the input value fails the validation, or if you are trying to create more than 300 queries.
For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this exception if there are missing required fields or if the input value fails the validation.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3