Skip to content

GetResourcesStatisticsV2Request

Source code in docs_src/capo_securityhub/types/get_resources_statistics_v2_request.py
class GetResourcesStatisticsV2Request(TypedDict, closed=True):
    group_by_rules: NotRequired[
        "capo_securityhub.types.resource_group_by_rules.ResourceGroupByRules"
    ]
    """<p>How resource statistics should be aggregated and organized in the response.</p>"""
    scopes: NotRequired["capo_securityhub.types.resource_scopes.ResourceScopes"]
    """<p>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 <code>AccessDeniedException</code>.</p> <p>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.</p> <p>You can specify up to 10 entries in <code>Scopes.AwsOrganizations</code>. If multiple entries are specified, the entries are combined using OR logic.</p>"""
    sort_order: NotRequired["capo_securityhub.types.sort_order.SortOrder"]
    """<p>Sorts aggregated statistics.</p>"""
    max_statistic_results: NotRequired[
        "capo_securityhub.types.max_statistic_results.MaxStatisticResults"
    ]
    """<p>The maximum number of results to be returned.</p>"""

group_by_rules instance-attribute

group_by_rules: NotRequired[ResourceGroupByRules]

How resource statistics should be aggregated and organized in the response.

max_statistic_results instance-attribute

max_statistic_results: NotRequired[MaxStatisticResults]

The maximum number of results to be returned.

scopes instance-attribute

scopes: NotRequired[ResourceScopes]

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.

sort_order instance-attribute

sort_order: NotRequired[SortOrder]

Sorts aggregated statistics.