GetSoftwareResourcesV2Request
¶
Source code in docs_src/capo_securityhub/types/get_software_resources_v2_request.py
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.