deleteRule

abstract suspend fun deleteRule(input: DeleteRuleRequest): DeleteRuleResponse

Deletes the specified rule.

You can't delete the default rule.

Samples


fun main() { 
   //sampleStart 
   // This example deletes the specified rule.
elasticLoadBalancingV2Client.deleteRule {
    ruleArn = "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/1291d13826f405c3"
} 
   //sampleEnd
}