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 anotherListThirdPartyFirewallFirewallPoliciesRequest
request.For the value of
NextToken
, specify the value ofNextToken
from the previous response. If the previous response didn’t include aNextToken
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 aNextToken
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. EachThirdPartyFirewallFirewallPolicies
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 nextListThirdPartyFirewallFirewallPolicies
request.
Exceptions
FMS.Client.exceptions.InvalidOperationException
FMS.Client.exceptions.InvalidInputException
FMS.Client.exceptions.ResourceNotFoundException
FMS.Client.exceptions.InternalErrorException