list_resource_set_resources
¶
list_resource_set_resources(
identifier: ResourceId,
*,
config_overrides: Optional[FMSClientConfig] = None,
max_results: Optional[PaginationMaxResults] = None,
next_token: Optional[PaginationToken] = None,
) -> ListResourceSetResourcesResponse
Returns an array of resources that are currently associated to a resource set.
Parameters:
-
identifier(ResourceId) –A unique identifier for the resource set, used in a request to refer to the resource set.
-
max_results(Optional[PaginationMaxResults], default:None) –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. -
next_token(Optional[PaginationToken], default:None) –When you request a list of objects with a
MaxResultssetting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns aNextTokenvalue in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next 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.