list_stored_queries
(**kwargs)¶Lists the stored queries for a single Amazon Web Services account and a single Amazon Web Services Region. The default is 100.
See also: AWS API Documentation
Request Syntax
response = client.list_stored_queries(
NextToken='string',
MaxResults=123
)
dict
Response Syntax
{
'StoredQueryMetadata': [
{
'QueryId': 'string',
'QueryArn': 'string',
'QueryName': 'string',
'Description': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
StoredQueryMetadata (list) --
A list of StoredQueryMetadata
objects.
(dict) --
Returns details of a specific query.
QueryId (string) --
The ID of the query.
QueryArn (string) --
Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
QueryName (string) --
The name of the query.
Description (string) --
A unique description for the query.
NextToken (string) --
If the previous paginated request didn't return all of the remaining results, the response object's NextToken
parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken
parameter. If there are no remaining results, the previous response object's NextToken
parameter is set to null
.
Exceptions
ConfigService.Client.exceptions.ValidationException
ConfigService.Client.exceptions.InvalidNextTokenException