update_workload_identity
¶
update_workload_identity(
name: WorkloadIdentityNameType,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = None,
allowed_resource_oauth2_return_urls: Optional[
ResourceOauth2ReturnUrlListType
] = None,
) -> UpdateWorkloadIdentityResponse
Updates an existing workload identity.
Parameters:
-
name(WorkloadIdentityNameType) –The name of the workload identity to update.
-
allowed_resource_oauth2_return_urls(Optional[ResourceOauth2ReturnUrlListType], default:None) –The new list of allowed OAuth2 return URLs for resources associated with this workload identity. This list replaces the existing list.
Raises:
-
AccessDeniedException–This exception is thrown when a request is denied per access permissions
-
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
13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 | |