list_protocols_lists
¶
list_protocols_lists(
max_results: PaginationMaxResults,
*,
config_overrides: Optional[FMSClientConfig] = None,
default_lists: Optional[Boolean] = None,
next_token: Optional[PaginationToken] = None,
) -> ListProtocolsListsResponse
Returns an array of ProtocolsListDataSummary objects.
Parameters:
-
default_lists(Optional[Boolean], default:None) –Specifies whether the lists to retrieve are default lists owned by Firewall Manager.
-
next_token(Optional[PaginationToken], default:None) –If you specify a value for
MaxResultsin your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. For all but the first request, you provide the token returned by the prior request in the request parameters, to retrieve the next batch of objects. -
max_results(PaginationMaxResults) –The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a
NextTokenvalue that you can use in a subsequent call to get the next batch of objects.If you don't specify this, Firewall Manager returns all available objects.
Raises:
-
InternalErrorException–The operation failed because of a system problem, even though the request was valid. Retry your request.
-
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/fms.py
2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 | |