:doc:`IoT <../../iot>` / Client / list_mitigation_actions

***********************
list_mitigation_actions
***********************



.. py:method:: IoT.Client.list_mitigation_actions(**kwargs)

  

  Gets a list of all mitigation actions that match the specified filter criteria.

   

  Requires permission to access the `ListMitigationActions <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions>`__ action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListMitigationActions>`_  


  **Request Syntax**
  ::

    response = client.list_mitigation_actions(
        actionType='UPDATE_DEVICE_CERTIFICATE'|'UPDATE_CA_CERTIFICATE'|'ADD_THINGS_TO_THING_GROUP'|'REPLACE_DEFAULT_POLICY_VERSION'|'ENABLE_IOT_LOGGING'|'PUBLISH_FINDING_TO_SNS',
        maxResults=123,
        nextToken='string'
    )
    
  :type actionType: string
  :param actionType: 

    Specify a value to limit the result to mitigation actions with a specific action type.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return at one time. The default is 25.

    

  
  :type nextToken: string
  :param nextToken: 

    The token for the next set of results.

    

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

    
    ::

      {
          'actionIdentifiers': [
              {
                  'actionName': 'string',
                  'actionArn': 'string',
                  'creationDate': datetime(2015, 1, 1)
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **actionIdentifiers** *(list) --* 

        A set of actions that matched the specified filter criteria.

        
        

        - *(dict) --* 

          Information that identifies a mitigation action. This information is returned by ListMitigationActions.

          
          

          - **actionName** *(string) --* 

            The friendly name of the mitigation action.

            
          

          - **actionArn** *(string) --* 

            The IAM role ARN used to apply this mitigation action.

            
          

          - **creationDate** *(datetime) --* 

            The date when this mitigation action was created.

            
      
    
      

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

        The token for the next set of results.

        
  
  **Exceptions**
  
  *   :py:class:`IoT.Client.exceptions.InvalidRequestException`

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

  
  *   :py:class:`IoT.Client.exceptions.InternalFailureException`

  