Values.GetResourcesStatisticsV2RequestSourceRetrieves statistical information about Amazon Web Services resources and their associated security findings. You can use the Scopes parameter to define the data boundary for the query. Currently, Scopes supports AwsOrganizations, which lets you aggregate resources from your entire organization or from specific organizational units. Only the delegated administrator account can use Scopes.
type nonrec t = {groupByRules : ResourceGroupByRules.t;How resource statistics should be aggregated and organized in the response.
*)scopes : ResourceScopes.t option;Limits the results to resources from specific organizational units or from the delegated administrator's organization. Only the delegated administrator account can use this parameter. Other accounts receive an AccessDeniedException. This parameter is optional. If you omit it, the delegated administrator sees statistics from all accounts across the entire organization. Other accounts see only statistics for their own resources. You can specify up to 10 entries in Scopes.AwsOrganizations. If multiple entries are specified, the entries are combined using OR logic.
*)sortOrder : SortOrder.t option;Sorts aggregated statistics.
*)maxStatisticResults : MaxStatisticResults.t option;The maximum number of results to be returned.
*)}val make :
?scopes:??? ->
?sortOrder:??? ->
?maxStatisticResults:??? ->
groupByRules:ResourceGroupByRules.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of MaxStatisticResults.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Structure of (string * Awso.Botodata.value) list ])
list ]
list
| `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of NonEmptyString.t ]) list ]
list ])
list ])
list ]