:doc:`drs <../../drs>` / Client / list_launch_actions

*******************
list_launch_actions
*******************



.. py:method:: drs.Client.list_launch_actions(**kwargs)

  

  Lists resource launch actions.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListLaunchActions>`_  


  **Request Syntax**
  ::

    response = client.list_launch_actions(
        filters={
            'actionIds': [
                'string',
            ]
        },
        maxResults=123,
        nextToken='string',
        resourceId='string'
    )
    
  :type filters: dict
  :param filters: 

    Filters to apply when listing resource launch actions.

    

  
    - **actionIds** *(list) --* 

      Launch actions Ids.

      

    
      - *(string) --* 

        Launch action Id.

        

      
  
  
  :type maxResults: integer
  :param maxResults: 

    Maximum amount of items to return when listing resource launch actions.

    

  
  :type nextToken: string
  :param nextToken: 

    Next token to use when listing resource launch actions.

    

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

    Launch configuration template Id or Source Server Id

    

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

    
    ::

      {
          'items': [
              {
                  'actionCode': 'string',
                  'actionId': 'string',
                  'actionVersion': 'string',
                  'active': True|False,
                  'category': 'MONITORING'|'VALIDATION'|'CONFIGURATION'|'SECURITY'|'OTHER',
                  'description': 'string',
                  'name': 'string',
                  'optional': True|False,
                  'order': 123,
                  'parameters': {
                      'string': {
                          'type': 'SSM_STORE'|'DYNAMIC',
                          'value': 'string'
                      }
                  },
                  'type': 'SSM_AUTOMATION'|'SSM_COMMAND'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **items** *(list) --* 

        List of resource launch actions.

        
        

        - *(dict) --* 

          Launch action.

          
          

          - **actionCode** *(string) --* 

            Launch action code.

            
          

          - **actionId** *(string) --* 

            Launch action Id.

            
          

          - **actionVersion** *(string) --* 

            Launch action version.

            
          

          - **active** *(boolean) --* 

            Whether the launch action is active.

            
          

          - **category** *(string) --* 

            Launch action category.

            
          

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

            Launch action description.

            
          

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

            Launch action name.

            
          

          - **optional** *(boolean) --* 

            Whether the launch will not be marked as failed if this action fails.

            
          

          - **order** *(integer) --* 

            Launch action order.

            
          

          - **parameters** *(dict) --* 

            Launch action parameters.

            
            

            - *(string) --* 
              

              - *(dict) --* 

                Launch action parameter.

                
                

                - **type** *(string) --* 

                  Type.

                  
                

                - **value** *(string) --* 

                  Value.

                  
            
        
      
          

          - **type** *(string) --* 

            Launch action type.

            
      
    
      

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

        Next token returned when listing resource launch actions.

        
  
  **Exceptions**
  
  *   :py:class:`drs.Client.exceptions.ResourceNotFoundException`

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

  
  *   :py:class:`drs.Client.exceptions.ServiceQuotaExceededException`

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

  
  *   :py:class:`drs.Client.exceptions.UninitializedAccountException`

  