:doc:`BedrockAgentCoreControl <../../bedrock-agentcore-control>` / Client / list_workload_identities

************************
list_workload_identities
************************



.. py:method:: BedrockAgentCoreControl.Client.list_workload_identities(**kwargs)

  

  Lists all workload identities in your account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/ListWorkloadIdentities>`_  


  **Request Syntax**
  ::

    response = client.list_workload_identities(
        nextToken='string',
        maxResults=123
    )
    
  :type nextToken: string
  :param nextToken: 

    Pagination token.

    

  
  :type maxResults: integer
  :param maxResults: 

    Maximum number of results to return.

    

  
  
  :rtype: 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**
  
  *   :py:class:`BedrockAgentCoreControl.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`BedrockAgentCoreControl.Client.exceptions.ValidationException`

  
  *   :py:class:`BedrockAgentCoreControl.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`BedrockAgentCoreControl.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`BedrockAgentCoreControl.Client.exceptions.ThrottlingException`

  
  *   :py:class:`BedrockAgentCoreControl.Client.exceptions.InternalServerException`

  