put_protocols_list
¶
put_protocols_list(
protocols_list: ProtocolsListData,
*,
config_overrides: Optional[FMSClientConfig] = None,
tag_list: Optional[TagList] = None,
) -> PutProtocolsListResponse
Creates an Firewall Manager protocols list.
Parameters:
-
protocols_list(ProtocolsListData) –The details of the Firewall Manager protocols list to be created.
-
tag_list(Optional[TagList], default:None) –The tags associated with the resource.
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. -
LimitExceededException–The operation exceeds a resource limit, for example, the maximum number of
policyobjects that you can create for an Amazon Web Services account. For more information, see Firewall Manager Limits in the WAF Developer Guide. -
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/fms.py
2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 | |