update_watchlist
async
¶
update_watchlist(
domain_id: DomainId,
watchlist_id: WatchlistId,
*,
config_overrides: Optional[AsyncVoiceIDClientConfig] = None,
name: Optional[WatchlistName] = None,
description: Optional[WatchlistDescription] = None,
) -> UpdateWatchlistResponse
Updates the specified watchlist. Every domain has a default watchlist which cannot be updated.
Parameters:
-
domain_id(DomainId) –The identifier of the domain that contains the watchlist.
-
watchlist_id(WatchlistId) –The identifier of the watchlist to be updated.
-
name(Optional[WatchlistName], default:None) –The name of the watchlist.
-
description(Optional[WatchlistDescription], default:None) –A brief description about this watchlist.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action. Check the error message and try again.
-
ConflictException–The request failed due to a conflict. Check the
ConflictTypeand error message for more details. -
InternalServerException–The request failed due to an unknown error on the server side.
-
ResourceNotFoundException–The specified resource cannot be found. Check the
ResourceTypeand error message for more details. -
ThrottlingException–The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
-
ValidationException–The request failed one or more validations; check the error message for more details.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_voice_id/_services/async_voice_id.py
1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 | |