BedrockAgentCoreControl / Client / list_oauth2_credential_providers

list_oauth2_credential_providers

BedrockAgentCoreControl.Client.list_oauth2_credential_providers(**kwargs)

Lists all OAuth2 credential providers in your account.

See also: AWS API Documentation

Request Syntax

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

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

Return type:

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

  • BedrockAgentCoreControl.Client.exceptions.UnauthorizedException

  • BedrockAgentCoreControl.Client.exceptions.ValidationException

  • BedrockAgentCoreControl.Client.exceptions.AccessDeniedException

  • BedrockAgentCoreControl.Client.exceptions.ResourceNotFoundException

  • BedrockAgentCoreControl.Client.exceptions.ThrottlingException

  • BedrockAgentCoreControl.Client.exceptions.InternalServerException