list_queues
async
¶
list_queues(
*,
config_overrides: Optional[AsyncKinesisClientConfig] = None,
max_results: Optional[ListQueuesInputLimit] = None,
next_token: Optional[NextToken] = None,
stream_filter: Optional[QueueStreamFilterList] = None,
) -> ListQueuesOutput
Returns a summary of each queue in the Amazon Web Services account and Region used by the request. Use StreamFilter to list only the queues on a particular data stream.
If the response contains a NextToken, more queues are available. Call ListQueues again with that value to retrieve the next page.
Parameters:
-
max_results(Optional[ListQueuesInputLimit], default:None) –The maximum number of queue summaries to return in one response. The response might contain fewer summaries than this value, and might contain a
NextTokeneven when it contains fewer. -
next_token(Optional[NextToken], default:None) –The
NextTokenreturned by a previousListQueuesrequest. Use it to retrieve the next page of queue summaries. -
stream_filter(Optional[QueueStreamFilterList], default:None) –Lists only the queues created on the specified data stream.
Raises:
-
AccessDeniedException–Specifies that you do not have the permissions required to perform this operation.
-
ExpiredNextTokenException–The pagination token passed to the operation is expired.
-
InternalFailureException–The processing of the request failed because of an unknown error, exception, or failure.
-
InvalidArgumentException–A specified parameter exceeds its restrictions, is not supported, or can't be used. For more information, see the returned message.
-
LimitExceededException–The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
-
ValidationException–The request failed validation. For example, a parameter value is not valid, a combination of parameters is not supported, or the operation is not supported for the stream's capacity mode. The error message describes the specific reason.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_kinesis/_services/async_kinesis.py
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 | |