BedrockAgentCoreControlClient.update_consent_portal
rboto-bedrock-agentcore-control==0.4.0 · Service index · Types
Model summary (excerpt): Updates an existing consent portal.
Install and imports
from rboto import BedrockAgentCoreControlClient
from rboto_bedrock_agentcore_control.types import (
ConsentPortalIdpConfig,
UpdateConsentPortalOutput,
)
Signature
async def update_consent_portal(
*,
consent_portal_identifier: str,
execution_role_arn: str | None = None,
idp_config: ConsentPortalIdpConfig | None = None,
description: str | None = None,
) -> UpdateConsentPortalOutput: ...
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). |
execution_role_arn |
No | The Amazon Resource Name (ARN) of the IAM role that the consent portal assumes to access the resources defined in its sources. |
idp_config |
No | The identity provider configuration that the consent portal uses to authenticate end users. |
description |
No | The description of the consent portal. |
Output
UpdateConsentPortalOutput.
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.
Related types
ConsentPortalIdpConfig, UpdateConsentPortalOutput
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, ConflictError, InternalServerError, ResourceNotFoundError, ThrottlingError, UnauthorizedError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.