BedrockAgentCoreDataPlaneFrontingLayer / Client / get_workload_access_token_for_jwt
get_workload_access_token_for_jwt¶
- BedrockAgentCoreDataPlaneFrontingLayer.Client.get_workload_access_token_for_jwt(**kwargs)¶
Obtains an Workload access token for agentic workloads acting on behalf of user with JWT token
See also: AWS API Documentation
Request Syntax
response = client.get_workload_access_token_for_jwt( workloadName='string', userToken='string' )
- Parameters:
workloadName (string) –
[REQUIRED]
Unique identifier for the registered agent
userToken (string) –
[REQUIRED]
OAuth2 token issued by the user’s identity provider
- Return type:
dict
- Returns:
Response Syntax
{ 'workloadAccessToken': 'string' }
Response Structure
(dict) –
workloadAccessToken (string) –
Opaque token representing both agent and user identity
Exceptions
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.UnauthorizedException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.ValidationException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.AccessDeniedException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.ResourceNotFoundException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.ThrottlingException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.InternalServerException