BedrockClient.get_trusted_access_program
rboto-bedrock==0.4.0 · Service index · Types
Model summary (excerpt): Gets trusted access program details and 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. Returns the same flat summary as a ListTrustedAccessPrograms item. An absent or invisible...
Install and imports
Signature
async def get_trusted_access_program(
*,
program_identifier: str,
project_identifier: str | None = None,
) -> GetTrustedAccessProgramOutput: ...
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) |
|---|---|---|
program_identifier |
Yes | Identifier of the trusted access program. |
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... |
Output
GetTrustedAccessProgramOutput.
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_id |
str |
Always present | — |
name |
str |
Always present | — |
description |
str |
Always present | — |
provider_name |
str |
Always present | — |
details_url |
str |
Always present | — |
enrollment_url |
str | None |
Always present | — |
status |
TrustedAccessProgramStatusOutput |
Always present | TrustedAccessProgramStatusOutput |
status_reason |
str | None |
Always present | — |
source |
TrustedAccessProgramScopeOutput |
Always present | TrustedAccessProgramScopeOutput |
eligibility_scope |
TrustedAccessProgramScopeOutput | None |
Always present | TrustedAccessProgramScopeOutput |
resolved_for |
TrustedAccessResolutionContextOutput | None |
Always present | TrustedAccessResolutionContextOutput |
opt_in |
TrustedAccessProgramOptInOutput |
Always present | TrustedAccessProgramOptInOutput |
updated_at |
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
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
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.