Skip to content

Commit 1d3bfdb

Browse files
feat: update AWS API models
1 parent 91af090 commit 1d3bfdb

File tree

10 files changed

+1025
-304
lines changed

10 files changed

+1025
-304
lines changed

codegen/sdk/aws-models/athena.json

Lines changed: 105 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4380,6 +4380,12 @@
43804380
"traits": {
43814381
"smithy.api#documentation": "<p>The maximum number of results (rows) to return in this request.</p>"
43824382
}
4383+
},
4384+
"QueryResultType": {
4385+
"target": "com.amazonaws.athena#QueryResultType",
4386+
"traits": {
4387+
"smithy.api#documentation": "<p> When you set this to <code>DATA_ROWS</code> or empty, <code>GetQueryResults</code>\n returns the query results in rows. If set to <code>DATA_MANIFEST</code>, it returns the\n manifest file in rows. Only the query types <code>CREATE TABLE AS SELECT</code>,\n <code>UNLOAD</code>, and <code>INSERT</code> can generate a manifest file. If you\n use <code>DATA_MANIFEST</code> for other query types, the query will fail. </p>"
4388+
}
43834389
}
43844390
},
43854391
"traits": {
@@ -6142,6 +6148,69 @@
61426148
"com.amazonaws.athena#Long": {
61436149
"type": "long"
61446150
},
6151+
"com.amazonaws.athena#ManagedQueryResultsConfiguration": {
6152+
"type": "structure",
6153+
"members": {
6154+
"Enabled": {
6155+
"target": "com.amazonaws.athena#Boolean",
6156+
"traits": {
6157+
"smithy.api#default": false,
6158+
"smithy.api#documentation": "<p>If set to true, allows you to store query results in Athena owned storage. If set to\n false, workgroup member stores query results in location specified under\n <code>ResultConfiguration$OutputLocation</code>. The default is false. A workgroup\n cannot have the <code>ResultConfiguration$OutputLocation</code> parameter when you set\n this field to true. </p>",
6159+
"smithy.api#required": {}
6160+
}
6161+
},
6162+
"EncryptionConfiguration": {
6163+
"target": "com.amazonaws.athena#ManagedQueryResultsEncryptionConfiguration",
6164+
"traits": {
6165+
"smithy.api#documentation": "<p>If you encrypt query and calculation results in Athena owned storage, this field\n indicates the encryption option (for example, SSE_KMS or CSE_KMS) and key\n information.</p>"
6166+
}
6167+
}
6168+
},
6169+
"traits": {
6170+
"smithy.api#documentation": "<p>\n 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. \n </p>"
6171+
}
6172+
},
6173+
"com.amazonaws.athena#ManagedQueryResultsConfigurationUpdates": {
6174+
"type": "structure",
6175+
"members": {
6176+
"Enabled": {
6177+
"target": "com.amazonaws.athena#BoxedBoolean",
6178+
"traits": {
6179+
"smithy.api#documentation": "<p>If set to true, specifies that Athena manages query results in Athena owned\n storage.</p>"
6180+
}
6181+
},
6182+
"EncryptionConfiguration": {
6183+
"target": "com.amazonaws.athena#ManagedQueryResultsEncryptionConfiguration",
6184+
"traits": {
6185+
"smithy.api#documentation": "<p>If you encrypt query and calculation results in Athena owned storage, this field\n indicates the encryption option (for example, SSE_KMS or CSE_KMS) and key\n information.</p>"
6186+
}
6187+
},
6188+
"RemoveEncryptionConfiguration": {
6189+
"target": "com.amazonaws.athena#BoxedBoolean",
6190+
"traits": {
6191+
"smithy.api#documentation": "<p>If set to true, it removes workgroup from Athena owned storage. The existing query\n results are cleaned up after 24hrs. You must provide query results in location specified\n under <code>ResultConfiguration$OutputLocation</code>.</p>"
6192+
}
6193+
}
6194+
},
6195+
"traits": {
6196+
"smithy.api#documentation": "<p>Updates the configuration for managed query results.</p>"
6197+
}
6198+
},
6199+
"com.amazonaws.athena#ManagedQueryResultsEncryptionConfiguration": {
6200+
"type": "structure",
6201+
"members": {
6202+
"KmsKey": {
6203+
"target": "com.amazonaws.athena#KmsKey",
6204+
"traits": {
6205+
"smithy.api#documentation": "<p>The ARN of an KMS key for encrypting managed query results.</p>",
6206+
"smithy.api#required": {}
6207+
}
6208+
}
6209+
},
6210+
"traits": {
6211+
"smithy.api#documentation": "<p>If you encrypt query and calculation results in Athena owned storage, this field\n indicates the encryption option (for example, SSE_KMS or CSE_KMS) and key\n information.</p>"
6212+
}
6213+
},
61456214
"com.amazonaws.athena#MaxApplicationDPUSizesCount": {
61466215
"type": "integer",
61476216
"traits": {
@@ -6690,7 +6759,13 @@
66906759
"StatementType": {
66916760
"target": "com.amazonaws.athena#StatementType",
66926761
"traits": {
6693-
"smithy.api#documentation": "<p>The type of query statement that was run. <code>DDL</code> indicates DDL query\n statements. <code>DML</code> indicates DML (Data Manipulation Language) query\n statements, such as <code>CREATE TABLE AS SELECT</code>. <code>UTILITY</code> indicates\n query statements other than DDL and DML, such as <code>SHOW CREATE TABLE</code>,\n <code>EXPLAIN</code>, <code>DESCRIBE</code>, or <code>SHOW TABLES</code>.</p>"
6762+
"smithy.api#documentation": "<p>The type of query statement that was run. <code>DDL</code> indicates DDL query\n statements. <code>DML</code> indicates DML (Data Manipulation Language) query\n statements, such as <code>CREATE TABLE AS SELECT</code>. <code>UTILITY</code> indicates\n query statements other than DDL and DML, such as <code>SHOW CREATE TABLE</code>, or\n <code>DESCRIBE TABLE</code>.</p>"
6763+
}
6764+
},
6765+
"ManagedQueryResultsConfiguration": {
6766+
"target": "com.amazonaws.athena#ManagedQueryResultsConfiguration",
6767+
"traits": {
6768+
"smithy.api#documentation": "<p> The configuration for storing results in Athena owned storage, which includes whether\n this feature is enabled; whether encryption configuration, if any, is used for\n encrypting query results. </p>"
66946769
}
66956770
},
66966771
"ResultConfiguration": {
@@ -6941,6 +7016,23 @@
69417016
"smithy.api#documentation": "<p>The completion date, current state, submission time, and state change reason (if\n applicable) for the query execution.</p>"
69427017
}
69437018
},
7019+
"com.amazonaws.athena#QueryResultType": {
7020+
"type": "enum",
7021+
"members": {
7022+
"DATA_MANIFEST": {
7023+
"target": "smithy.api#Unit",
7024+
"traits": {
7025+
"smithy.api#enumValue": "DATA_MANIFEST"
7026+
}
7027+
},
7028+
"DATA_ROWS": {
7029+
"target": "smithy.api#Unit",
7030+
"traits": {
7031+
"smithy.api#enumValue": "DATA_ROWS"
7032+
}
7033+
}
7034+
}
7035+
},
69447036
"com.amazonaws.athena#QueryResultsS3AccessGrantsConfiguration": {
69457037
"type": "structure",
69467038
"members": {
@@ -8977,6 +9069,12 @@
89779069
"smithy.api#documentation": "<p>The configuration for the workgroup, which includes the location in Amazon S3\n where query and calculation results are stored and the encryption option, if any, used\n for query and calculation results. To run the query, you must specify the query results\n location using one of the ways: either in the workgroup using this setting, or for\n 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>"
89789070
}
89799071
},
9072+
"ManagedQueryResultsConfiguration": {
9073+
"target": "com.amazonaws.athena#ManagedQueryResultsConfiguration",
9074+
"traits": {
9075+
"smithy.api#documentation": "<p> The configuration for storing results in Athena owned storage, which includes whether\n this feature is enabled; whether encryption configuration, if any, is used for\n encrypting query results. </p>"
9076+
}
9077+
},
89809078
"EnforceWorkGroupConfiguration": {
89819079
"target": "com.amazonaws.athena#BoxedBoolean",
89829080
"traits": {
@@ -9063,6 +9161,12 @@
90639161
"smithy.api#documentation": "<p>The result configuration information about the queries in this workgroup that will be\n updated. Includes the updated results location and an updated option for encrypting\n query results.</p>"
90649162
}
90659163
},
9164+
"ManagedQueryResultsConfigurationUpdates": {
9165+
"target": "com.amazonaws.athena#ManagedQueryResultsConfigurationUpdates",
9166+
"traits": {
9167+
"smithy.api#documentation": "<p>Updates configuration information for managed query results in the workgroup.</p>"
9168+
}
9169+
},
90669170
"PublishCloudWatchMetricsEnabled": {
90679171
"target": "com.amazonaws.athena#BoxedBoolean",
90689172
"traits": {

0 commit comments

Comments
 (0)