NamedQuery - Athena
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

NamedQuery

A query, where QueryString contains the SQL statements that make up the query.

Contents

Database

The database to which the query belongs.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: Yes

Description

The query description.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

Name

The query name.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: Yes

NamedQueryId

The unique identifier of the query.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: \S+

Required: No

QueryString

The SQL statements that make up the query.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 262144.

Required: Yes

WorkGroup

The name of the workgroup that contains the named query.

Type: String

Pattern: [a-zA-Z0-9._-]{1,128}

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: