VPCLattice / Client / delete_rule
delete_rule¶
- VPCLattice.Client.delete_rule(**kwargs)¶
- Deletes a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. You can delete additional listener rules, but you cannot delete the default rule. - For more information, see Listener rules in the Amazon VPC Lattice User Guide. - See also: AWS API Documentation - Request Syntax- response = client.delete_rule( serviceIdentifier='string', listenerIdentifier='string', ruleIdentifier='string' ) - Parameters:
- serviceIdentifier (string) – - [REQUIRED] - The ID or ARN of the service. 
- listenerIdentifier (string) – - [REQUIRED] - The ID or ARN of the listener. 
- ruleIdentifier (string) – - [REQUIRED] - The ID or ARN of the rule. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions- VPCLattice.Client.exceptions.ValidationException
- VPCLattice.Client.exceptions.AccessDeniedException
- VPCLattice.Client.exceptions.ConflictException
- VPCLattice.Client.exceptions.ResourceNotFoundException
- VPCLattice.Client.exceptions.ThrottlingException
- VPCLattice.Client.exceptions.InternalServerException