BedrockAgentCoreControlPlaneFrontingLayer / Client / list_workload_identities

list_workload_identities

BedrockAgentCoreControlPlaneFrontingLayer.Client.list_workload_identities(**kwargs)

Lists all workload identities in your account.

See also: AWS API Documentation

Request Syntax

response = client.list_workload_identities(
    nextToken='string',
    maxResults=123
)
Parameters:
  • nextToken (string) – Pagination token.

  • maxResults (integer) – Maximum number of results to return.

Return type:

dict

Returns:

Response Syntax

{
    'workloadIdentities': [
        {
            'name': 'string',
            'workloadIdentityArn': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • workloadIdentities (list) –

      The list of workload identities.

      • (dict) –

        Contains information about a workload identity.

        • name (string) –

          The name of the workload identity.

        • workloadIdentityArn (string) –

          The Amazon Resource Name (ARN) of the workload identity.

    • nextToken (string) –

      Pagination token for the next page of results.

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