Skip to content

GetSoftwareResourcesV2Request

Source code in docs_src/capo_securityhub/types/get_software_resources_v2_request.py
class GetSoftwareResourcesV2Request(TypedDict, closed=True):
    package_name: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The name of the software package, for example <code>openssl</code>. This value must match the <code>PackageName</code> returned by <code>GetSoftwareV2</code>.</p>"""
    package_type: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The type of the software package, for example <code>operating-system</code>, <code>application</code>, or <code>library</code>. This value must match the <code>PackageType</code> returned by <code>GetSoftwareV2</code>.</p>"""
    package_version: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>The version of the software package, for example <code>3.0.8</code>. If you omit this value, the response includes resources that contain any version of the package.</p>"""
    filters: NotRequired["capo_securityhub.types.software_filters.SoftwareFilters"]
    """<p>Filters the returned resources 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 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 resources from all accounts across the entire organization. Other accounts see only 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 resource attribute used to sort the list of returned resources, for example <code>Region</code> or <code>ResourceType</code>. You can specify one sort criterion.</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 the request parameters 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 the returned resources 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 the request parameters between calls, the token is no longer valid and the request fails with a ValidationException.

package_name instance-attribute

package_name: NotRequired[NonEmptyString]

The name of the software package, for example openssl. This value must match the PackageName returned by GetSoftwareV2.

package_type instance-attribute

package_type: NotRequired[NonEmptyString]

The type of the software package, for example operating-system, application, or library. This value must match the PackageType returned by GetSoftwareV2.

package_version instance-attribute

package_version: NotRequired[NonEmptyString]

The version of the software package, for example 3.0.8. If you omit this value, the response includes resources that contain any version of the package.

scopes instance-attribute

scopes: NotRequired[SoftwareScopes]

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 resources from all accounts across the entire organization. Other accounts see only 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 resource attribute used to sort the list of returned resources, for example Region or ResourceType. You can specify one sort criterion.