delete_remediation_configuration
async
¶
delete_remediation_configuration(
config_rule_name: ConfigRuleName,
*,
config_overrides: Optional[AsyncConfigServiceClientConfig] = None,
resource_type: Optional[String] = None,
) -> DeleteRemediationConfigurationResponse
Deletes the remediation configuration.
Parameters:
-
config_rule_name(ConfigRuleName) –The name of the Config rule for which you want to delete remediation configuration.
-
resource_type(Optional[String], default:None) –The type of a resource.
Raises:
-
InsufficientPermissionsException–Indicates one of the following errors:
-
For PutConfigRule, the rule cannot be created because the IAM role assigned to Config lacks permissions to perform the config:Put* action.
-
For PutConfigRule, the 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
GetRoleaction or create a service-linked role. -
For PutConformancePack and PutOrganizationConformancePack, a conformance pack cannot be created because you do not have the following permissions:
-
You do not have permission to call IAM
GetRoleaction or create a service-linked role. -
You do not have permission to read Amazon S3 bucket or call SSM:GetDocument.
-
-
For PutServiceLinkedConfigurationRecorder, a service-linked configuration recorder cannot be created because you do not have the following permissions: IAM
CreateServiceLinkedRole. -
For PutConnector, a connector cannot be created because you do not have the following permissions: IAM
CreateServiceLinkedRole.
-
-
InvalidParameterValueException–One or more of the specified parameters are not valid. Verify that your parameters are valid and try again.
-
NoSuchRemediationConfigurationException–You specified an Config rule without a remediation configuration.
-
RemediationInProgressException–Remediation action is in progress. You can either cancel execution in Amazon Web Services Systems Manager or wait and try again later.
-
UnknownServiceError–The service returned an error code this client does not model.