list_queues
¶
list_queues(
*,
config_overrides: Optional[KinesisClientConfig] = 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/kinesis.py
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 | |