Skip to content

GetSoftwareV2Request

Source code in docs_src/capo_securityhub/types/get_software_v2_request.py
class GetSoftwareV2Request(TypedDict, closed=True):
    filters: NotRequired["capo_securityhub.types.software_filters.SoftwareFilters"]
    """<p>Filters software packages based on a set of criteria. You can nest composite filters up to three levels deep.</p>"""
    scopes: NotRequired["capo_securityhub.types.software_scopes.SoftwareScopes"]
    """<p>Limits the results to software on 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 software from all accounts across the entire organization. Other accounts see only software on 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_criteria: NotRequired["capo_securityhub.types.sort_criteria.SortCriteria"]
    """<p>The software attributes used to sort the list of returned software packages. You can't sort by <code>ResourceCount</code>.</p>"""
    next_token: NotRequired["capo_securityhub.types.next_token.NextToken"]
    """<p>The token required for pagination. On your first call, set the value of this parameter to <code>NULL</code>. For subsequent calls, to continue listing data, set the value of this parameter to the value returned in the previous response.</p> <p>A token expires one hour after it's issued. If you change <code>Filters</code> or <code>SortCriteria</code> between calls, the token is no longer valid and the request fails with a <code>ValidationException</code>.</p>"""
    max_results: NotRequired["capo_securityhub.types.max_results.MaxResults"]
    """<p>The maximum number of results to return. Valid values are 1–100. The default is 100.</p>"""

filters instance-attribute

filters: NotRequired[SoftwareFilters]

Filters software packages based on a set of criteria. You can nest composite filters up to three levels deep.

max_results instance-attribute

max_results: NotRequired[MaxResults]

The maximum number of results to return. Valid values are 1–100. The default is 100.

next_token instance-attribute

next_token: NotRequired[NextToken]

The token required for pagination. On your first call, set the value of this parameter to NULL. For subsequent calls, to continue listing data, set the value of this parameter to the value returned in the previous response.

A token expires one hour after it's issued. If you change Filters or SortCriteria between calls, the token is no longer valid and the request fails with a ValidationException.

scopes instance-attribute

scopes: NotRequired[SoftwareScopes]

Limits the results to software on 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 software from all accounts across the entire organization. Other accounts see only software on 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_criteria instance-attribute

sort_criteria: NotRequired[SortCriteria]

The software attributes used to sort the list of returned software packages. You can't sort by ResourceCount.