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
4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 | |