def release_hosts(HostIds=None):
    """
    When you no longer want to use an On-Demand Dedicated Host it can be released. On-Demand billing is stopped and the host goes into released state. The host ID of Dedicated Hosts that have been released can no longer be specified in another request, e.g., ModifyHosts. You must stop or terminate all instances on a host before it can be released.
    When Dedicated Hosts are released, it make take some time for them to stop counting toward your limit and you may receive capacity errors when trying to allocate new Dedicated hosts. Try waiting a few minutes, and then try again.
    Released hosts will still appear in a  DescribeHosts response.
    See also: AWS API Documentation
    
    
    :example: response = client.release_hosts(
        HostIds=[
            'string',
        ]
    )
    
    
    :type HostIds: list
    :param HostIds: [REQUIRED]
            The IDs of the Dedicated Hosts you want to release.
            (string) --
            

    :rtype: dict
    :return: {
        'Successful': [
            'string',
        ],
        'Unsuccessful': [
            {
                'ResourceId': 'string',
                'Error': {
                    'Code': 'string',
                    'Message': 'string'
                }
            },
        ]
    }
    
    
    :returns: 
    (string) --
    
    """
    pass
