delete_user_pool_client_secret
async
¶
delete_user_pool_client_secret(
user_pool_id: UserPoolIdType,
client_id: ClientIdType,
client_secret_id: ClientSecretIdType,
*,
config_overrides: Optional[AsyncCognitoIdentityProviderClientConfig] = None,
) -> DeleteUserPoolClientSecretResponse
Deletes a specific client secret from a user pool app client. You cannot delete the last remaining secret for an app client.
Parameters:
-
user_pool_id(UserPoolIdType) –The ID of the user pool that contains the app client.
-
client_id(ClientIdType) –The ID of the app client from which you want to delete the secret.
-
client_secret_id(ClientSecretIdType) –The unique identifier of the client secret you want to delete.
Raises:
-
InternalServerException–This exception is thrown when Amazon Cognito encounters an internal server error.
-
InvalidParameterException–This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
-
LimitExceededException–This exception is thrown when a user exceeds the limit for a requested Amazon Web Services resource.
-
ResourceNotFoundException–This exception is thrown when the Amazon Cognito service can't find the requested resource.
-
TooManyRequestsException–This exception is thrown when the user has made too many requests for a given operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cognito_identity_provider/_services/async_cognito_identity_provider.py
5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 | |