get_oauth2_credential_provider
¶
get_oauth2_credential_provider(
name: CredentialProviderName,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = None,
) -> GetOauth2CredentialProviderResponse
Retrieves information about an OAuth2 credential provider.
Parameters:
-
name(CredentialProviderName) –The name of the OAuth2 credential provider to retrieve.
Raises:
-
AccessDeniedException–This exception is thrown when a request is denied per access permissions
-
DecryptionFailure–Exception thrown when decryption of a secret fails.
-
InternalServerException–This exception is thrown if there was an unexpected error during processing of request
-
ResourceNotFoundException–This exception is thrown when a resource referenced by the operation does not exist
-
ThrottlingException–This exception is thrown when the number of requests exceeds the limit
-
UnauthorizedException–This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agentcore_control/_services/bedrock_agent_core_control.py
9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 | |