Skip to content

BedrockAgentCoreControlClient.get_consent_portal

rboto-bedrock-agentcore-control==0.4.0 · Service index · Types

Model summary (excerpt): Retrieves information about a consent portal.

Install and imports

python -m pip install "rboto[bedrock-agentcore-control]==0.4.0"
from rboto import BedrockAgentCoreControlClient
from rboto_bedrock_agentcore_control.types import (
    GetConsentPortalOutput,
)

Signature

async def get_consent_portal(
    *,
    consent_portal_identifier: str,
) -> GetConsentPortalOutput: ...

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)
consent_portal_identifier Yes The identifier of the consent portal. You can specify either the consent portal ID or its Amazon Resource Name (ARN).

Output

GetConsentPortalOutput.

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
sources list[ConsentPortalSourceOutput] Always present ConsentPortalSourceOutput
consent_portal_arn str Always present —
consent_portal_id str Always present —
created_at str Always present —
description str | None Always present —
execution_role_arn str Always present —
idp_config ConsentPortalIdpConfigOutput | None Always present ConsentPortalIdpConfigOutput
name str Always present —
portal_url str | None Always present —
status ConsentPortalStatusOutput Always present ConsentPortalStatusOutput
status_reason str | None Always present —
updated_at str 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.

GetConsentPortalOutput

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_agentcore_control.exceptions:

AccessDeniedError, InternalServerError, ResourceNotFoundError, ThrottlingError, UnauthorizedError, ValidationError.

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

Service guide · Pinned model