|
2516 | 2516 | "MaxResults":{
|
2517 | 2517 | "shape":"MaxQueryResults",
|
2518 | 2518 | "documentation":"<p>The maximum number of results (rows) to return in this request.</p>"
|
| 2519 | + }, |
| 2520 | + "QueryResultType":{ |
| 2521 | + "shape":"QueryResultType", |
| 2522 | + "documentation":"<p> When you set this to <code>DATA_ROWS</code> or empty, <code>GetQueryResults</code> returns the query results in rows. If set to <code>DATA_MANIFEST</code>, it returns the manifest file in rows. Only the query types <code>CREATE TABLE AS SELECT</code>, <code>UNLOAD</code>, and <code>INSERT</code> can generate a manifest file. If you use <code>DATA_MANIFEST</code> for other query types, the query will fail. </p>" |
2519 | 2523 | }
|
2520 | 2524 | }
|
2521 | 2525 | },
|
|
3304 | 3308 | }
|
3305 | 3309 | },
|
3306 | 3310 | "Long":{"type":"long"},
|
| 3311 | + "ManagedQueryResultsConfiguration":{ |
| 3312 | + "type":"structure", |
| 3313 | + "required":["Enabled"], |
| 3314 | + "members":{ |
| 3315 | + "Enabled":{ |
| 3316 | + "shape":"Boolean", |
| 3317 | + "documentation":"<p>If set to true, allows you to store query results in Athena owned storage. If set to false, workgroup member stores query results in location specified under <code>ResultConfiguration$OutputLocation</code>. The default is false. A workgroup cannot have the <code>ResultConfiguration$OutputLocation</code> parameter when you set this field to true. </p>" |
| 3318 | + }, |
| 3319 | + "EncryptionConfiguration":{ |
| 3320 | + "shape":"ManagedQueryResultsEncryptionConfiguration", |
| 3321 | + "documentation":"<p>If you encrypt query and calculation results in Athena owned storage, this field indicates the encryption option (for example, SSE_KMS or CSE_KMS) and key information.</p>" |
| 3322 | + } |
| 3323 | + }, |
| 3324 | + "documentation":"<p> The configuration for storing results in Athena owned storage, which includes whether this feature is enabled; whether encryption configuration, if any, is used for encrypting query results. </p>" |
| 3325 | + }, |
| 3326 | + "ManagedQueryResultsConfigurationUpdates":{ |
| 3327 | + "type":"structure", |
| 3328 | + "members":{ |
| 3329 | + "Enabled":{ |
| 3330 | + "shape":"BoxedBoolean", |
| 3331 | + "documentation":"<p>If set to true, specifies that Athena manages query results in Athena owned storage.</p>" |
| 3332 | + }, |
| 3333 | + "EncryptionConfiguration":{ |
| 3334 | + "shape":"ManagedQueryResultsEncryptionConfiguration", |
| 3335 | + "documentation":"<p>If you encrypt query and calculation results in Athena owned storage, this field indicates the encryption option (for example, SSE_KMS or CSE_KMS) and key information.</p>" |
| 3336 | + }, |
| 3337 | + "RemoveEncryptionConfiguration":{ |
| 3338 | + "shape":"BoxedBoolean", |
| 3339 | + "documentation":"<p>If set to true, it removes workgroup from Athena owned storage. The existing query results are cleaned up after 24hrs. You must provide query results in location specified under <code>ResultConfiguration$OutputLocation</code>.</p>" |
| 3340 | + } |
| 3341 | + }, |
| 3342 | + "documentation":"<p>Updates the configuration for managed query results.</p>" |
| 3343 | + }, |
| 3344 | + "ManagedQueryResultsEncryptionConfiguration":{ |
| 3345 | + "type":"structure", |
| 3346 | + "required":["KmsKey"], |
| 3347 | + "members":{ |
| 3348 | + "KmsKey":{ |
| 3349 | + "shape":"KmsKey", |
| 3350 | + "documentation":"<p>The ARN of an KMS key for encrypting managed query results.</p>" |
| 3351 | + } |
| 3352 | + }, |
| 3353 | + "documentation":"<p>If you encrypt query and calculation results in Athena owned storage, this field indicates the encryption option (for example, SSE_KMS or CSE_KMS) and key information.</p>" |
| 3354 | + }, |
3307 | 3355 | "MaxApplicationDPUSizesCount":{
|
3308 | 3356 | "type":"integer",
|
3309 | 3357 | "max":100,
|
|
3645 | 3693 | },
|
3646 | 3694 | "StatementType":{
|
3647 | 3695 | "shape":"StatementType",
|
3648 |
| - "documentation":"<p>The type of query statement that was run. <code>DDL</code> indicates DDL query statements. <code>DML</code> indicates DML (Data Manipulation Language) query statements, such as <code>CREATE TABLE AS SELECT</code>. <code>UTILITY</code> indicates query statements other than DDL and DML, such as <code>SHOW CREATE TABLE</code>, <code>EXPLAIN</code>, <code>DESCRIBE</code>, or <code>SHOW TABLES</code>.</p>" |
| 3696 | + "documentation":"<p>The type of query statement that was run. <code>DDL</code> indicates DDL query statements. <code>DML</code> indicates DML (Data Manipulation Language) query statements, such as <code>CREATE TABLE AS SELECT</code>. <code>UTILITY</code> indicates query statements other than DDL and DML, such as <code>SHOW CREATE TABLE</code>, or <code>DESCRIBE TABLE</code>.</p>" |
| 3697 | + }, |
| 3698 | + "ManagedQueryResultsConfiguration":{ |
| 3699 | + "shape":"ManagedQueryResultsConfiguration", |
| 3700 | + "documentation":"<p> The configuration for storing results in Athena owned storage, which includes whether this feature is enabled; whether encryption configuration, if any, is used for encrypting query results. </p>" |
3649 | 3701 | },
|
3650 | 3702 | "ResultConfiguration":{
|
3651 | 3703 | "shape":"ResultConfiguration",
|
|
3798 | 3850 | },
|
3799 | 3851 | "documentation":"<p>The completion date, current state, submission time, and state change reason (if applicable) for the query execution.</p>"
|
3800 | 3852 | },
|
| 3853 | + "QueryResultType":{ |
| 3854 | + "type":"string", |
| 3855 | + "enum":[ |
| 3856 | + "DATA_MANIFEST", |
| 3857 | + "DATA_ROWS" |
| 3858 | + ] |
| 3859 | + }, |
3801 | 3860 | "QueryResultsS3AccessGrantsConfiguration":{
|
3802 | 3861 | "type":"structure",
|
3803 | 3862 | "required":[
|
|
4904 | 4963 | "shape":"ResultConfiguration",
|
4905 | 4964 | "documentation":"<p>The configuration for the workgroup, which includes the location in Amazon S3 where query and calculation results are stored and the encryption option, if any, used for query and calculation results. To run the query, you must specify the query results location using one of the ways: either in the workgroup using this setting, or for individual queries (client-side), using <a>ResultConfiguration$OutputLocation</a>. If none of them is set, Athena issues an error that no output location is provided.</p>"
|
4906 | 4965 | },
|
| 4966 | + "ManagedQueryResultsConfiguration":{ |
| 4967 | + "shape":"ManagedQueryResultsConfiguration", |
| 4968 | + "documentation":"<p> The configuration for storing results in Athena owned storage, which includes whether this feature is enabled; whether encryption configuration, if any, is used for encrypting query results. </p>" |
| 4969 | + }, |
4907 | 4970 | "EnforceWorkGroupConfiguration":{
|
4908 | 4971 | "shape":"BoxedBoolean",
|
4909 | 4972 | "documentation":"<p>If set to \"true\", the settings for the workgroup override client-side settings. If set to \"false\", client-side settings are used. For more information, see <a href=\"https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html\">Workgroup Settings Override Client-Side Settings</a>.</p>"
|
|
4962 | 5025 | "shape":"ResultConfigurationUpdates",
|
4963 | 5026 | "documentation":"<p>The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.</p>"
|
4964 | 5027 | },
|
| 5028 | + "ManagedQueryResultsConfigurationUpdates":{ |
| 5029 | + "shape":"ManagedQueryResultsConfigurationUpdates", |
| 5030 | + "documentation":"<p>Updates configuration information for managed query results in the workgroup.</p>" |
| 5031 | + }, |
4965 | 5032 | "PublishCloudWatchMetricsEnabled":{
|
4966 | 5033 | "shape":"BoxedBoolean",
|
4967 | 5034 | "documentation":"<p>Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.</p>"
|
|
0 commit comments