list_resource_scans¶
Operation¶
list_resource_scans
async
¶
list_resource_scans(input: ListResourceScansInput, plugins: list[Plugin] | None = None) -> ListResourceScansOutput
List the resource scans from newest to oldest. By default it will return up to 10 resource scans.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListResourceScansInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
ListResourceScansOutput
|
An instance of |
Input¶
ListResourceScansInput
dataclass
¶
Bases: _SerdeShape
Dataclass for ListResourceScansInput structure.
Attributes¶
max_results
class-attribute
instance-attribute
¶
max_results: int | None = ...
If the number of available results exceeds this maximum, the response
includes a NextToken value that you can use for the NextToken
parameter to get the next set of results. The default value is 10. The
maximum value is 100.
Output¶
ListResourceScansOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for ListResourceScansOutput structure.
Attributes¶
next_token
class-attribute
instance-attribute
¶
next_token: str | None = ...
If the request doesn't return all the remaining results, NextToken is
set to a token. To retrieve the next set of results, call
ListResourceScans again and use that value for the NextToken
parameter. If the request returns all results, NextToken is set to an
empty string.
resource_scan_summaries
class-attribute
instance-attribute
¶
resource_scan_summaries: list[ResourceScanSummary] | None = ...
The list of scans returned.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.