deleteAccessToken method
Deletes an access token. This operation cannot be undone.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter accessTokenId :
The unique identifier of the access token to delete.
Implementation
Future<DeleteAccessTokenOutput> deleteAccessToken({
required String accessTokenId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/tokens/${Uri.encodeComponent(accessTokenId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteAccessTokenOutput.fromJson(response);
}