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.
Source code in docs_src/capo_fms/_services/async_fms.py
2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 | |