BedrockClient.list_trusted_access_programs
rboto-bedrock==0.4.0 · Service index · Types
Model summary (excerpt): Lists all trusted access programs visible to your account, ordered by program ID. Amazon Bedrock resolves participation for your account and its current organization. If you specify a project, Amazon Bedrock resolves participation for the project, including inheritance from the account and organization. Archived projects remain readable until they expire. Amazon Bedrock returns all visible...
Install and imports
from rboto import BedrockClient
from rboto_bedrock.types import (
ListTrustedAccessProgramsOutput,
)
Signature
async def list_trusted_access_programs(
*,
project_identifier: str | None = None,
max_results: int | None = None,
next_token: str | None = None,
) -> ListTrustedAccessProgramsOutput: ...
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) |
|---|---|---|
project_identifier |
No | The ID or ARN of a named Bedrock project owned by the calling account in this Region. When omitted, resolves participation for the calling account, including participation inherited from its current organization. When specified, resolves participation for the project, including participation inherited from the account and its current organization. You cannot specify the default project. Omit... |
max_results |
No | Reserved for future pagination support. Currently ignored; the response includes all visible programs. |
next_token |
No | Reserved for future pagination support. Omit this field. |
Output
ListTrustedAccessProgramsOutput.
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 |
|---|---|---|---|
program_summaries |
list[TrustedAccessProgramSummaryOutput] |
Always present | TrustedAccessProgramSummaryOutput |
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.
Related types
ListTrustedAccessProgramsOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_trusted_access_programs(...) accepts the same arguments and returns AsyncIterator[ListTrustedAccessProgramsOutput]. Direct calls return one page. Pages preserve the Output representation above.
Input cursors: next_token. Page-size argument: max_results.
No output stream.
Errors
Import from rboto_bedrock.exceptions:
AccessDeniedError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.