Skip to content

CloudFormationClient.list_resource_scans

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): List the resource scans from newest to oldest. By default it will return up to 10 resource scans.

Install and imports

python -m pip install "rboto[cloudformation]==0.4.0"
from rboto import CloudFormationClient
from rboto_cloudformation.types import (
    ListResourceScansOutput,
    ScanType,
)

Signature

async def list_resource_scans(
    *,
    next_token: str | None = None,
    max_results: int | None = None,
    scan_type_filter: ScanType | None = None,
) -> ListResourceScansOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
next_token No The token for the next set of items to return. (You received this token from a previous call.)
max_results No 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.
scan_type_filter No The scan type that you want to get summary information about. The default is FULL .

Output

ListResourceScansOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
resource_scan_summaries list[ResourceScanSummaryOutput] | None Always present ResourceScanSummaryOutput
next_token str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

ListResourceScansOutput, ScanType

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.list_resource_scans(...) accepts the same arguments and returns AsyncIterator[ListResourceScansOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: next_token. Page-size argument: max_results.

No output stream.

Errors

No modeled service errors for this operation.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model