:doc:`IoTSiteWise <../../iotsitewise>` / Paginator / ListActions

***********
ListActions
***********



.. py:class:: IoTSiteWise.Paginator.ListActions

  ::

    
    paginator = client.get_paginator('list_actions')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`IoTSiteWise.Client.list_actions`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListActions>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          targetResourceType='ASSET'|'COMPUTATION_MODEL',
          targetResourceId='string',
          resolveToResourceType='ASSET',
          resolveToResourceId='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type targetResourceType: string
    :param targetResourceType: **[REQUIRED]** 

      The type of resource.

      

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

      The ID of the target resource.

      

    
    :type resolveToResourceType: string
    :param resolveToResourceType: 

      The type of the resolved resource.

      

    
    :type resolveToResourceId: string
    :param resolveToResourceId: 

      The ID of the resolved resource.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

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

      
      ::

        {
            'actionSummaries': [
                {
                    'actionId': 'string',
                    'actionDefinitionId': 'string',
                    'targetResource': {
                        'assetId': 'string',
                        'computationModelId': 'string'
                    },
                    'resolveTo': {
                        'assetId': 'string'
                    }
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **actionSummaries** *(list) --* 

          A list that summarizes the actions associated with the specified asset.

          
          

          - *(dict) --* 

            Contains the summary of the actions, including information about where the action resolves to.

            
            

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

              The ID of the action.

              
            

            - **actionDefinitionId** *(string) --* 

              The ID of the action definition.

              
            

            - **targetResource** *(dict) --* 

              The resource the action will be taken on.

              
              

              - **assetId** *(string) --* 

                The ID of the asset, in UUID format.

                
              

              - **computationModelId** *(string) --* 

                The ID of the computation model.

                
          
            

            - **resolveTo** *(dict) --* 

              The detailed resource this action resolves to.

              
              

              - **assetId** *(string) --* 

                The ID of the asset that the resource resolves to.

                
          
        
      
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    