AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::ConfigService::Types::PutStoredQueryRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb

Overview

Note:

When making an API call, you may pass PutStoredQueryRequest data as a hash:

{
  stored_query: { # required
    query_id: "QueryId",
    query_arn: "QueryArn",
    query_name: "QueryName", # required
    description: "QueryDescription",
    expression: "QueryExpression",
  },
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#stored_queryTypes::StoredQuery

A list of StoredQuery objects. The mandatory fields are QueryName and Expression.

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.

Returns:



7163
7164
7165
7166
7167
7168
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 7163

class PutStoredQueryRequest < Struct.new(
  :stored_query,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of Tags object.

Returns:



7163
7164
7165
7166
7167
7168
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 7163

class PutStoredQueryRequest < Struct.new(
  :stored_query,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end