Connect / Client / delete_rule

delete_rule#

Connect.Client.delete_rule(**kwargs)#

Deletes a rule for the specified Amazon Connect instance.

See also: AWS API Documentation

Request Syntax

response = client.delete_rule(
    InstanceId='string',
    RuleId='string'
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • RuleId (string) –

    [REQUIRED]

    A unique identifier for the rule.

Returns:

None

Exceptions

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.InternalServiceException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.AccessDeniedException