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

********************
list_gateway_targets
********************



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

  

  Lists all targets for a specific gateway.

  

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


  **Request Syntax**
  ::

    response = client.list_gateway_targets(
        gatewayIdentifier='string',
        maxResults=123,
        nextToken='string'
    )
    
  :type gatewayIdentifier: string
  :param gatewayIdentifier: **[REQUIRED]** 

    The identifier of the gateway to list targets for.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the ``nextToken`` field when making another request to return the next batch of results.

    

  
  :type nextToken: string
  :param nextToken: 

    If the total number of results is greater than the ``maxResults`` value provided in the request, enter the token returned in the ``nextToken`` field in the response in this field to return the next batch of results.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'items': [
              {
                  'targetId': 'string',
                  'name': 'string',
                  'status': 'CREATING'|'UPDATING'|'UPDATE_UNSUCCESSFUL'|'DELETING'|'READY'|'FAILED'|'SYNCHRONIZING'|'SYNCHRONIZE_UNSUCCESSFUL',
                  'description': 'string',
                  'createdAt': datetime(2015, 1, 1),
                  'updatedAt': datetime(2015, 1, 1)
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **items** *(list) --* 

        The list of gateway target summaries.

        
        

        - *(dict) --* 

          Contains summary information about a gateway target. A target represents an endpoint that the gateway can connect to.

          
          

          - **targetId** *(string) --* 

            The unique identifier of the target.

            
          

          - **name** *(string) --* 

            The name of the target.

            
          

          - **status** *(string) --* 

            The current status of the target.

            
          

          - **description** *(string) --* 

            The description of the target.

            
          

          - **createdAt** *(datetime) --* 

            The timestamp when the target was created.

            
          

          - **updatedAt** *(datetime) --* 

            The timestamp when the target was last updated.

            
      
    
      

      - **nextToken** *(string) --* 

        If the total number of results is greater than the ``maxResults`` value provided in the request, use this token when making another request in the ``nextToken`` field to return the next batch of results.

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

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

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

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

  