search_quick_responses
async
¶
search_quick_responses(
knowledge_base_id: UuidOrArn,
search_expression: QuickResponseSearchExpression,
*,
config_overrides: Optional[AsyncWisdomClientConfig] = None,
next_token: Optional[NonEmptyString] = None,
max_results: Optional[MaxResults] = None,
attributes: Optional[ContactAttributes] = None,
) -> SearchQuickResponsesResponse
Searches existing Wisdom quick responses in a Wisdom knowledge base.
Parameters:
-
knowledge_base_id(UuidOrArn) –The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
search_expression(QuickResponseSearchExpression) –The search expression for querying the quick response.
-
next_token(Optional[NonEmptyString], default:None) –The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return per page.
-
attributes(Optional[ContactAttributes], default:None) –The user-defined Amazon Connect contact attributes to be resolved when search results are returned.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
RequestTimeoutException–The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.
-
ResourceNotFoundException–The specified resource does not exist.
-
ValidationException–The input fails to satisfy the constraints specified by a service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_wisdom/_services/async_wisdom.py
1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 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 | |