:doc:`WorkSpaces <../../workspaces>` / Client / start_workspaces

****************
start_workspaces
****************



.. py:method:: WorkSpaces.Client.start_workspaces(**kwargs)

  

  Starts the specified WorkSpaces.

   

  You cannot start a WorkSpace unless it has a running mode of ``AutoStop`` or ``Manual`` and a state of ``STOPPED``.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspaces>`_  


  **Request Syntax**
  ::

    response = client.start_workspaces(
        StartWorkspaceRequests=[
            {
                'WorkspaceId': 'string'
            },
        ]
    )
    
  :type StartWorkspaceRequests: list
  :param StartWorkspaceRequests: **[REQUIRED]** 

    The WorkSpaces to start. You can specify up to 25 WorkSpaces.

    

  
    - *(dict) --* 

      Information used to start a WorkSpace.

      

    
      - **WorkspaceId** *(string) --* 

        The identifier of the WorkSpace.

        

      
    

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

    
    ::

      {
          'FailedRequests': [
              {
                  'WorkspaceId': 'string',
                  'ErrorCode': 'string',
                  'ErrorMessage': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **FailedRequests** *(list) --* 

        Information about the WorkSpaces that could not be started.

        
        

        - *(dict) --* 

          Describes a WorkSpace that could not be rebooted. (  RebootWorkspaces), rebuilt (  RebuildWorkspaces), restored (  RestoreWorkspace), terminated (  TerminateWorkspaces), started (  StartWorkspaces), or stopped (  StopWorkspaces).

          
          

          - **WorkspaceId** *(string) --* 

            The identifier of the WorkSpace.

            
          

          - **ErrorCode** *(string) --* 

            The error code that is returned if the WorkSpace cannot be rebooted.

            
          

          - **ErrorMessage** *(string) --* 

            The text of the error message that is returned if the WorkSpace cannot be rebooted.

            
      
    
  