list_resource_set_resources
(**kwargs)¶Returns an array of resources that are currently associated to a resource set.
See also: AWS API Documentation
Request Syntax
response = client.list_resource_set_resources(
Identifier='string',
MaxResults=123,
NextToken='string'
)
[REQUIRED]
A unique identifier for the resource set, used in a TODO to refer to the resource set.
NextToken
value that you can use in a subsequent call to get the next batch of objects.MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.dict
Response Syntax
{
'Items': [
{
'URI': 'string',
'AccountId': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Items (list) --
An array of the associated resources' uniform resource identifiers (URI).
(dict) --
Details of a resource that is associated to an Firewall Manager resource set.
URI (string) --
The resource's universal resource indicator (URI).
AccountId (string) --
The Amazon Web Services account ID that the associated resource belongs to.
NextToken (string) --
When you request a list of objects with a MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
Exceptions
FMS.Client.exceptions.InvalidOperationException
FMS.Client.exceptions.InternalErrorException
FMS.Client.exceptions.InvalidInputException
FMS.Client.exceptions.ResourceNotFoundException