list_resource_scans¶
Operation¶
list_resource_scans
¶
list_resource_scans(request: ListResourceScansInput | ListResourceScansInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListResourceScansInputDict]) -> ListResourceScansOutput
List the resource scans from newest to oldest. By default it will return up to 10 resource scans.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ListResourceScansInput | ListResourceScansInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[ListResourceScansInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListResourceScansOutput
|
An instance of |
list_resource_scans
async
¶
list_resource_scans(request: ListResourceScansInput | ListResourceScansInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListResourceScansInputDict]) -> ListResourceScansOutput
List the resource scans from newest to oldest. By default it will return up to 10 resource scans.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ListResourceScansInput | ListResourceScansInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[ListResourceScansInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListResourceScansOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
ListResourceScansInputDict
¶
Bases: TypedDict
Dictionary form of ListResourceScansInput.
Attributes¶
max_results
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.
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.