Skip to content

/AWS1/CL_FMS=>LISTDISCOVEREDRESOURCES()

About ListDiscoveredResources

Returns an array of resources in the organization's accounts that are available to be associated with a resource set.

Method Signature

IMPORTING

Required arguments:

IT_MEMBERACCOUNTIDS TYPE /AWS1/CL_FMSAWSACCOUNTIDLIST_W=>TT_AWSACCOUNTIDLIST TT_AWSACCOUNTIDLIST

The Amazon Web Services account IDs to discover resources in. Only one account is supported per request. The account must be a member of your organization.

IV_RESOURCETYPE TYPE /AWS1/FMSRESOURCETYPE /AWS1/FMSRESOURCETYPE

The type of resources to discover.

Optional arguments:

IV_MAXRESULTS TYPE /AWS1/FMSPAGINATIONMAXRESULTS /AWS1/FMSPAGINATIONMAXRESULTS

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 NextToken value that you can use in a subsequent call to get the next batch of objects.

IV_NEXTTOKEN TYPE /AWS1/FMSPAGINATIONTOKEN /AWS1/FMSPAGINATIONTOKEN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FMSLSTDISCOVEREDRES01 /AWS1/CL_FMSLSTDISCOVEREDRES01