:doc:`GameLift <../../gamelift>` / Client / delete_matchmaking_rule_set

***************************
delete_matchmaking_rule_set
***************************



.. py:method:: GameLift.Client.delete_matchmaking_rule_set(**kwargs)

  

  **This API works with the following fleet types:** EC2, Anywhere, Container

   

  Deletes an existing matchmaking rule set. To delete the rule set, provide the rule set name. Rule sets cannot be deleted if they are currently being used by a matchmaking configuration.

   

  **Learn more**

   

  
  * `Build a rule set <https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-rulesets.html>`__
  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteMatchmakingRuleSet>`_  


  **Request Syntax**
  ::

    response = client.delete_matchmaking_rule_set(
        Name='string'
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    A unique identifier for the matchmaking rule set to be deleted. (Note: The rule set name is different from the optional "name" field in the rule set body.) You can use either the rule set name or ARN value.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`GameLift.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`GameLift.Client.exceptions.InternalServiceException`

  
  *   :py:class:`GameLift.Client.exceptions.UnsupportedRegionException`

  
  *   :py:class:`GameLift.Client.exceptions.NotFoundException`

  
  *   :py:class:`GameLift.Client.exceptions.TaggingFailedException`

  