delete_user_pool_client_secret
¶
delete_user_pool_client_secret(
user_pool_id: UserPoolIdType,
client_id: ClientIdType,
client_secret_id: ClientSecretIdType,
*,
config_overrides: Optional[CognitoIdentityProviderClientConfig] = 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/cognito_identity_provider.py
5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 | |