:doc:`Greengrass <../../greengrass>` / Client / reset_deployments

*****************
reset_deployments
*****************



.. py:method:: Greengrass.Client.reset_deployments(**kwargs)

  Resets a group's deployments.

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ResetDeployments>`_  


  **Request Syntax**
  ::

    response = client.reset_deployments(
        AmznClientToken='string',
        Force=True|False,
        GroupId='string'
    )
    
  :type AmznClientToken: string
  :param AmznClientToken: A client token used to correlate requests and responses.

  
  :type Force: boolean
  :param Force: If true, performs a best-effort only core reset.

  
  :type GroupId: string
  :param GroupId: **[REQUIRED]** The ID of the Greengrass group.

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

    
    ::

      {
          'DeploymentArn': 'string',
          'DeploymentId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* Success. The group's deployments were reset.
      

      - **DeploymentArn** *(string) --* The ARN of the deployment.
      

      - **DeploymentId** *(string) --* The ID of the deployment.
  
  **Exceptions**
  
  *   :py:class:`Greengrass.Client.exceptions.BadRequestException`

  