update_consent_portal
¶
update_consent_portal(
consent_portal_identifier: ConsentPortalIdentifier,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = None,
execution_role_arn: Optional[ExecutionRoleArnType] = None,
idp_config: Optional[ConsentPortalIdpConfig] = None,
description: Optional[ConsentPortalDescriptionType] = None,
) -> UpdateConsentPortalResponse
Updates an existing consent portal.
Parameters:
-
consent_portal_identifier(ConsentPortalIdentifier) –The identifier of the consent portal. You can specify either the consent portal ID or its Amazon Resource Name (ARN).
-
execution_role_arn(Optional[ExecutionRoleArnType], default:None) –The Amazon Resource Name (ARN) of the IAM role that the consent portal assumes to access the resources defined in its sources.
-
idp_config(Optional[ConsentPortalIdpConfig], default:None) –The identity provider configuration that the consent portal uses to authenticate end users.
-
description(Optional[ConsentPortalDescriptionType], default:None) –The description of the consent portal.
Raises:
-
AccessDeniedException–This exception is thrown when a request is denied per access permissions
-
ConflictException–This exception is thrown when there is a conflict performing an operation
-
InternalServerException–This exception is thrown if there was an unexpected error during processing of request
-
ResourceNotFoundException–This exception is thrown when a resource referenced by the operation does not exist
-
ThrottlingException–This exception is thrown when the number of requests exceeds the limit
-
UnauthorizedException–This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agentcore_control/_services/bedrock_agent_core_control.py
4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 | |