BedrockAgentCoreControlPlaneFrontingLayer / Client / update_workload_identity
update_workload_identity¶
- BedrockAgentCoreControlPlaneFrontingLayer.Client.update_workload_identity(**kwargs)¶
Updates an existing workload identity.
See also: AWS API Documentation
Request Syntax
response = client.update_workload_identity( name='string', allowedResourceOauth2ReturnUrls=[ 'string', ] )
- Parameters:
name (string) –
[REQUIRED]
The name of the workload identity to update.
allowedResourceOauth2ReturnUrls (list) –
The new list of allowed OAuth2 return URLs for resources associated with this workload identity. This list replaces the existing list.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'name': 'string', 'workloadIdentityArn': 'string', 'allowedResourceOauth2ReturnUrls': [ 'string', ], 'createdTime': datetime(2015, 1, 1), 'lastUpdatedTime': datetime(2015, 1, 1) }
Response Structure
(dict) –
name (string) –
The name of the workload identity.
workloadIdentityArn (string) –
The Amazon Resource Name (ARN) of the workload identity.
allowedResourceOauth2ReturnUrls (list) –
The list of allowed OAuth2 return URLs for resources associated with this workload identity.
(string) –
createdTime (datetime) –
The timestamp when the workload identity was created.
lastUpdatedTime (datetime) –
The timestamp when the workload identity was last updated.
Exceptions
BedrockAgentCoreControlPlaneFrontingLayer.Client.exceptions.UnauthorizedException
BedrockAgentCoreControlPlaneFrontingLayer.Client.exceptions.ValidationException
BedrockAgentCoreControlPlaneFrontingLayer.Client.exceptions.AccessDeniedException
BedrockAgentCoreControlPlaneFrontingLayer.Client.exceptions.ResourceNotFoundException
BedrockAgentCoreControlPlaneFrontingLayer.Client.exceptions.ThrottlingException
BedrockAgentCoreControlPlaneFrontingLayer.Client.exceptions.InternalServerException