You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Athena::Types::CreateNamedQueryInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Athena::Types::CreateNamedQueryInput
- Defined in:
- (unknown)
Overview
When passing CreateNamedQueryInput as input to an Aws::Client method, you can use a vanilla Hash:
{
name: "NameString", # required
description: "DescriptionString",
database: "DatabaseString", # required
query_string: "QueryString", # required
client_request_token: "IdempotencyToken",
work_group: "WorkGroupName",
}
Instance Attribute Summary collapse
-
#client_request_token ⇒ String
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).
-
#database ⇒ String
The database to which the query belongs.
-
#description ⇒ String
The query description.
-
#name ⇒ String
The query name.
-
#query_string ⇒ String
The contents of the query with all query statements.
-
#work_group ⇒ String
The name of the workgroup in which the named query is being created.
Instance Attribute Details
#client_request_token ⇒ String
A unique case-sensitive string used to ensure the request to create the
query is idempotent (executes only once). If another CreateNamedQuery
request is received, the same response is returned and another query is
not created. If a parameter has changed, for example, the QueryString
,
an error is returned.
#database ⇒ String
The database to which the query belongs.
#description ⇒ String
The query description.
#name ⇒ String
The query name.
#query_string ⇒ String
The contents of the query with all query statements.
#work_group ⇒ String
The name of the workgroup in which the named query is being created.