ListSupportedResourceTypes
Source:
src/AWS/ResourceExplorer/ListSupportedResourceTypes.ts
Runtime binding for resource-explorer-2:ListSupportedResourceTypes.
Enumerates the resource types Resource Explorer can index and search —
the discovery half of query-building: validate a service:/resourcetype:
filter before searching, or drive a resource-type picker. Account-level
operation, so the binding takes no resource argument. Provide the
implementation with
Effect.provide(AWS.ResourceExplorer.ListSupportedResourceTypesHttp).
Listing Resources
Section titled “Listing Resources”// init — account-level binding, no resource argumentconst listSupportedResourceTypes = yield* AWS.ResourceExplorer.ListSupportedResourceTypes();
// runtimeconst { ResourceTypes } = yield* listSupportedResourceTypes();const s3Types = (ResourceTypes ?? []).filter((t) => t.Service === "s3");