:doc:`IoTTwinMaker <../../iottwinmaker>` / Client / list_scenes

***********
list_scenes
***********



.. py:method:: IoTTwinMaker.Client.list_scenes(**kwargs)

  

  Lists all scenes in a workspace.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/ListScenes>`_  


  **Request Syntax**
  ::

    response = client.list_scenes(
        workspaceId='string',
        maxResults=123,
        nextToken='string'
    )
    
  :type workspaceId: string
  :param workspaceId: **[REQUIRED]** 

    The ID of the workspace that contains the scenes.

    

  
  :type maxResults: integer
  :param maxResults: 

    Specifies the maximum number of results to display.

    

  
  :type nextToken: string
  :param nextToken: 

    The string that specifies the next page of results.

    

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

    
    ::

      {
          'sceneSummaries': [
              {
                  'sceneId': 'string',
                  'contentLocation': 'string',
                  'arn': 'string',
                  'creationDateTime': datetime(2015, 1, 1),
                  'updateDateTime': datetime(2015, 1, 1),
                  'description': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **sceneSummaries** *(list) --* 

        A list of objects that contain information about the scenes.

        
        

        - *(dict) --* 

          An object that contains information about a scene.

          
          

          - **sceneId** *(string) --* 

            The ID of the scene.

            
          

          - **contentLocation** *(string) --* 

            The relative path that specifies the location of the content definition file.

            
          

          - **arn** *(string) --* 

            The ARN of the scene.

            
          

          - **creationDateTime** *(datetime) --* 

            The date and time when the scene was created.

            
          

          - **updateDateTime** *(datetime) --* 

            The date and time when the scene was last updated.

            
          

          - **description** *(string) --* 

            The scene description.

            
      
    
      

      - **nextToken** *(string) --* 

        The string that specifies the next page of results.

        
  
  **Exceptions**
  
  *   :py:class:`IoTTwinMaker.Client.exceptions.InternalServerException`

  
  *   :py:class:`IoTTwinMaker.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`IoTTwinMaker.Client.exceptions.ThrottlingException`

  
  *   :py:class:`IoTTwinMaker.Client.exceptions.ValidationException`

  