:doc:`MigrationHubOrchestrator <../../migrationhuborchestrator>` / Client / list_template_steps

*******************
list_template_steps
*******************



.. py:method:: MigrationHubOrchestrator.Client.list_template_steps(**kwargs)

  

  List the steps in a template.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/ListTemplateSteps>`_  


  **Request Syntax**
  ::

    response = client.list_template_steps(
        maxResults=123,
        nextToken='string',
        templateId='string',
        stepGroupId='string'
    )
    
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results that can be returned.

    

  
  :type nextToken: string
  :param nextToken: 

    The pagination token.

    

  
  :type templateId: string
  :param templateId: **[REQUIRED]** 

    The ID of the template.

    

  
  :type stepGroupId: string
  :param stepGroupId: **[REQUIRED]** 

    The ID of the step group.

    

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

    
    ::

      {
          'nextToken': 'string',
          'templateStepSummaryList': [
              {
                  'id': 'string',
                  'stepGroupId': 'string',
                  'templateId': 'string',
                  'name': 'string',
                  'stepActionType': 'MANUAL'|'AUTOMATED',
                  'targetType': 'SINGLE'|'ALL'|'NONE',
                  'owner': 'AWS_MANAGED'|'CUSTOM',
                  'previous': [
                      'string',
                  ],
                  'next': [
                      'string',
                  ]
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The pagination token.

        
      

      - **templateStepSummaryList** *(list) --* 

        The list of summaries of steps in a template.

        
        

        - *(dict) --* 

          The summary of the step.

          
          

          - **id** *(string) --* 

            The ID of the step.

            
          

          - **stepGroupId** *(string) --* 

            The ID of the step group.

            
          

          - **templateId** *(string) --* 

            The ID of the template.

            
          

          - **name** *(string) --* 

            The name of the step.

            
          

          - **stepActionType** *(string) --* 

            The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.

            
          

          - **targetType** *(string) --* 

            The servers on which to run the script.

            
          

          - **owner** *(string) --* 

            The owner of the step.

            
          

          - **previous** *(list) --* 

            The previous step.

            
            

            - *(string) --* 
        
          

          - **next** *(list) --* 

            The next step.

            
            

            - *(string) --* 
        
      
    
  
  **Exceptions**
  
  *   :py:class:`MigrationHubOrchestrator.Client.exceptions.ThrottlingException`

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

  
  *   :py:class:`MigrationHubOrchestrator.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException`

  