list_third_party_firewall_firewall_policies
async
¶
list_third_party_firewall_firewall_policies(
third_party_firewall: ThirdPartyFirewall,
max_results: PaginationMaxResults,
*,
config_overrides: Optional[AsyncFMSClientConfig] = None,
next_token: Optional[PaginationToken] = None,
) -> ListThirdPartyFirewallFirewallPoliciesResponse
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.
Parameters:
-
third_party_firewall(ThirdPartyFirewall) –The name of the third-party firewall vendor.
-
next_token(Optional[PaginationToken], default:None) –If the previous response included a
NextTokenelement, the specified third-party firewall vendor is associated with more third-party firewall policies. To get more third-party firewall policies, submit anotherListThirdPartyFirewallFirewallPoliciesRequestrequest.For the value of
NextToken, specify the value ofNextTokenfrom the previous response. If the previous response didn't include aNextTokenelement, there are no more third-party firewall policies to get. -
max_results(PaginationMaxResults) –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
MaxResultsfirewall policies, the response includes aNextTokenelement.NextTokencontains an encrypted token that identifies the first third-party firewall policies that Firewall Manager will return if you submit another request.
Raises:
-
InternalErrorException–The operation failed because of a system problem, even though the request was valid. Retry your request.
-
InvalidInputException–The parameters of the request were invalid.
-
InvalidOperationException–The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have submitted an
AssociateAdminAccountrequest for an account ID that was already set as the Firewall Manager administrator. Or you might have tried to access a Region that's disabled by default, and that you need to enable for the Firewall Manager administrator account and for Organizations before you can access it. -
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.