:doc:`FMS <../../fms>` / Client / list_third_party_firewall_firewall_policies

*******************************************
list_third_party_firewall_firewall_policies
*******************************************



.. py:method:: FMS.Client.list_third_party_firewall_firewall_policies(**kwargs)

  

  Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListThirdPartyFirewallFirewallPolicies>`_  


  **Request Syntax**
  ::

    response = client.list_third_party_firewall_firewall_policies(
        ThirdPartyFirewall='PALO_ALTO_NETWORKS_CLOUD_NGFW'|'FORTIGATE_CLOUD_NATIVE_FIREWALL',
        NextToken='string',
        MaxResults=123
    )
    
  :type ThirdPartyFirewall: string
  :param ThirdPartyFirewall: **[REQUIRED]** 

    The name of the third-party firewall vendor.

    

  
  :type NextToken: string
  :param NextToken: 

    If the previous response included a ``NextToken`` element, the specified third-party firewall vendor is associated with more third-party firewall policies. To get more third-party firewall policies, submit another ``ListThirdPartyFirewallFirewallPoliciesRequest`` request.

     

    For the value of ``NextToken``, specify the value of ``NextToken`` from the previous response. If the previous response didn't include a ``NextToken`` element, there are no more third-party firewall policies to get.

    

  
  :type MaxResults: integer
  :param MaxResults: **[REQUIRED]** 

    The maximum number of third-party firewall policies that you want Firewall Manager to return. If the specified third-party firewall vendor is associated with more than ``MaxResults`` firewall policies, the response includes a ``NextToken`` element. ``NextToken`` contains an encrypted token that identifies the first third-party firewall policies that Firewall Manager will return if you submit another request.

    

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

    
    ::

      {
          'ThirdPartyFirewallFirewallPolicies': [
              {
                  'FirewallPolicyId': 'string',
                  'FirewallPolicyName': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ThirdPartyFirewallFirewallPolicies** *(list) --* 

        A list that contains one ``ThirdPartyFirewallFirewallPolicies`` element for each third-party firewall policies that the specified third-party firewall vendor is associated with. Each ``ThirdPartyFirewallFirewallPolicies`` element contains the firewall policy name and ID.

        
        

        - *(dict) --* 

          Configures the third-party firewall's firewall policy.

          
          

          - **FirewallPolicyId** *(string) --* 

            The ID of the specified firewall policy.

            
          

          - **FirewallPolicyName** *(string) --* 

            The name of the specified firewall policy.

            
      
    
      

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

        The value that you will use for ``NextToken`` in the next ``ListThirdPartyFirewallFirewallPolicies`` request.

        
  
  **Exceptions**
  
  *   :py:class:`FMS.Client.exceptions.InvalidOperationException`

  
  *   :py:class:`FMS.Client.exceptions.InvalidInputException`

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

  
  *   :py:class:`FMS.Client.exceptions.InternalErrorException`

  