Put Stored Query
configservice_put_stored_query | R Documentation |
Saves a new query or updates an existing saved query¶
Description¶
Saves a new query or updates an existing saved query. The QueryName
must be unique for a single Amazon Web Services account and a single
Amazon Web Services Region. You can create upto 300 queries in a single
Amazon Web Services account and a single Amazon Web Services Region.
put_stored_query
is an idempotent API. Subsequent requests won’t
create a duplicate resource if one was already created. If a following
request has different tags
values, Config will ignore these
differences and treat it as an idempotent request of the previous. In
this case, tags
will not be updated, even if they are different.
Usage¶
Arguments¶
StoredQuery
[required] A list of
StoredQuery
objects. The mandatory fields areQueryName
andExpression
.When you are creating a query, you must provide a query name and an expression. When you are updating a query, you must provide a query name but updating the description is optional.
Tags
A list of
Tags
object.
Value¶
A list with the following syntax: