update_consent_portal
async
¶
update_consent_portal(
consent_portal_identifier: ConsentPortalIdentifier,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = 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/async_bedrock_agent_core_control.py
4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 | |