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

********************************
list_oauth2_credential_providers
********************************



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

  

  Lists all OAuth2 credential providers in your account.

  

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


  **Request Syntax**
  ::

    response = client.list_oauth2_credential_providers(
        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**

    
    ::

      {
          'credentialProviders': [
              {
                  'name': 'string',
                  'credentialProviderVendor': 'GoogleOauth2'|'GithubOauth2'|'SlackOauth2'|'SalesforceOauth2'|'MicrosoftOauth2'|'CustomOauth2'|'AtlassianOauth2'|'LinkedinOauth2'|'XOauth2'|'OktaOauth2'|'OneLoginOauth2'|'PingOneOauth2'|'FacebookOauth2'|'YandexOauth2'|'RedditOauth2'|'ZoomOauth2'|'TwitchOauth2'|'SpotifyOauth2'|'DropboxOauth2'|'NotionOauth2'|'HubspotOauth2'|'CyberArkOauth2'|'FusionAuthOauth2'|'Auth0Oauth2'|'CognitoOauth2',
                  'credentialProviderArn': 'string',
                  'createdTime': datetime(2015, 1, 1),
                  'lastUpdatedTime': datetime(2015, 1, 1)
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **credentialProviders** *(list) --* 

        The list of OAuth2 credential providers.

        
        

        - *(dict) --* 

          Contains information about an OAuth2 credential provider.

          
          

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

            The name of the OAuth2 credential provider.

            
          

          - **credentialProviderVendor** *(string) --* 

            The vendor of the OAuth2 credential provider.

            
          

          - **credentialProviderArn** *(string) --* 

            The Amazon Resource Name (ARN) of the OAuth2 credential provider.

            
          

          - **createdTime** *(datetime) --* 

            The timestamp when the OAuth2 credential provider was created.

            
          

          - **lastUpdatedTime** *(datetime) --* 

            The timestamp when the OAuth2 credential provider was last updated.

            
      
    
      

      - **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`

  