BedrockAgentCoreControlPlaneFrontingLayer / Client / get_workload_identity
get_workload_identity¶
- BedrockAgentCoreControlPlaneFrontingLayer.Client.get_workload_identity(**kwargs)¶
Retrieves information about a workload identity.
See also: AWS API Documentation
Request Syntax
response = client.get_workload_identity( name='string' )
- Parameters:
name (string) –
[REQUIRED]
The name of the workload identity to retrieve.
- 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