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
5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 | |