update_workload_identity
async
¶
update_workload_identity(
name: WorkloadIdentityNameType,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = 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/async_bedrock_agent_core_control.py
14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 | |