ComputeOptimizerAutomation / Client / delete_automation_rule

delete_automation_rule

ComputeOptimizerAutomation.Client.delete_automation_rule(**kwargs)

Deletes an existing automation rule.

See also: AWS API Documentation

Request Syntax

response = client.delete_automation_rule(
    ruleArn='string',
    ruleRevision=123,
    clientToken='string'
)
Parameters:
  • ruleArn (string) –

    [REQUIRED]

    The ARN of the rule to delete.

  • ruleRevision (integer) –

    [REQUIRED]

    The revision number of the rule to delete.

  • clientToken (string) –

    A unique identifier to ensure idempotency of the request.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ComputeOptimizerAutomation.Client.exceptions.InvalidParameterValueException

  • ComputeOptimizerAutomation.Client.exceptions.ForbiddenException

  • ComputeOptimizerAutomation.Client.exceptions.OptInRequiredException

  • ComputeOptimizerAutomation.Client.exceptions.ResourceNotFoundException

  • ComputeOptimizerAutomation.Client.exceptions.ThrottlingException

  • ComputeOptimizerAutomation.Client.exceptions.IdempotentParameterMismatchException

  • ComputeOptimizerAutomation.Client.exceptions.AccessDeniedException

  • ComputeOptimizerAutomation.Client.exceptions.InternalServerException

  • ComputeOptimizerAutomation.Client.exceptions.ServiceUnavailableException

  • ComputeOptimizerAutomation.Client.exceptions.IdempotencyTokenInUseException