Values.GetResourcesV2ResponseSourceReturns a list of resources. You can use the Scopes parameter to define the data boundary for the query. Currently, Scopes supports AwsOrganizations, which lets you retrieve resources from your entire organization or from specific organizational units. Only the delegated administrator account can use Scopes. You can use the Filters parameter to refine results based on resource attributes. You can use Scopes and Filters independently or together. When both are provided, Scopes narrows the data set first, and then Filters refines results within that scoped data set.
type nonrec t = {resources : Resources.t option;An array of resources returned by the operation.
*)nextToken : NextToken.t option;The pagination token to use to request the next page of results. Otherwise, this parameter is null.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `ConflictException of ConflictException.t| `InternalServerException of InternalServerException.t| `OrganizationNotFoundException of OrganizationNotFoundException.t| `OrganizationalUnitNotFoundException of OrganizationalUnitNotFoundException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `OrganizationNotFoundException of OrganizationNotFoundException.t
| `OrganizationalUnitNotFoundException of
OrganizationalUnitNotFoundException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `OrganizationNotFoundException of OrganizationNotFoundException.t
| `OrganizationalUnitNotFoundException of
OrganizationalUnitNotFoundException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Integer of Integer.t
| `String of NonEmptyString.t
| `Structure of
(string * [> `Integer of Integer.t ]) list ])
list ]
list
| `String of NonEmptyString.t
| `Structure of 'a list ])
list ]
list
| `String of NextToken.t ])
list ]