update_oauth2_credential_provider
¶
update_oauth2_credential_provider(
name: CredentialProviderName,
credential_provider_vendor: CredentialProviderVendorType,
oauth2_provider_config_input: Oauth2ProviderConfigInput,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = None,
) -> UpdateOauth2CredentialProviderResponse
Updates an existing OAuth2 credential provider.
Parameters:
-
name(CredentialProviderName) –The name of the OAuth2 credential provider to update.
-
credential_provider_vendor(CredentialProviderVendorType) –The vendor of the OAuth2 credential provider.
-
oauth2_provider_config_input(Oauth2ProviderConfigInput) –The configuration input for the OAuth2 provider.
Raises:
-
AccessDeniedException–This exception is thrown when a request is denied per access permissions
-
ConflictException–This exception is thrown when there is a conflict performing an operation
-
DecryptionFailure–Exception thrown when decryption of a secret fails.
-
EncryptionFailure–Exception thrown when encryption 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
-
ServiceQuotaExceededException–This exception is thrown when a request is made beyond the service quota
-
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
9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 | |