FMS / Client / list_third_party_firewall_firewall_policies

list_third_party_firewall_firewall_policies#

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

Request Syntax

response = client.list_third_party_firewall_firewall_policies(
    ThirdPartyFirewall='PALO_ALTO_NETWORKS_CLOUD_NGFW'|'FORTIGATE_CLOUD_NATIVE_FIREWALL',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • ThirdPartyFirewall (string) –

    [REQUIRED]

    The name of the third-party firewall vendor.

  • NextToken (string) –

    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.

  • MaxResults (integer) –

    [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.

Return type:

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