@aws-sdk/client-athena 3.51.0 → 3.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-athena
@@ -2778,6 +2778,7 @@ const serializeAws_json1_1WorkGroupConfigurationUpdates = (input, context) => {
2778
2778
  const deserializeAws_json1_1AthenaError = (output, context) => {
2779
2779
  return {
2780
2780
  ErrorCategory: smithy_client_1.expectInt32(output.ErrorCategory),
2781
+ ErrorType: smithy_client_1.expectInt32(output.ErrorType),
2781
2782
  };
2782
2783
  };
2783
2784
  const deserializeAws_json1_1BatchGetNamedQueryOutput = (output, context) => {
@@ -2947,6 +2947,7 @@ var serializeAws_json1_1WorkGroupConfigurationUpdates = function (input, context
2947
2947
  var deserializeAws_json1_1AthenaError = function (output, context) {
2948
2948
  return {
2949
2949
  ErrorCategory: __expectInt32(output.ErrorCategory),
2950
+ ErrorType: __expectInt32(output.ErrorType),
2950
2951
  };
2951
2952
  };
2952
2953
  var deserializeAws_json1_1BatchGetNamedQueryOutput = function (output, context) {
@@ -174,12 +174,6 @@ export declare class Athena extends AthenaClient {
174
174
  * <code>QueryExecutionId</code> from the Athena query results location in
175
175
  * Amazon S3. For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/querying.html">Query Results</a> in the <i>Amazon Athena User Guide</i>. This request does not execute the query
176
176
  * but returns results. Use <a>StartQueryExecution</a> to run a query.</p>
177
- * <p>If the original query execution ran using an <a>ResultConfiguration$ExpectedBucketOwner</a> setting, the setting also
178
- * applies to Amazon S3 read operations when <code>GetQueryResults</code> is
179
- * called. If an expected bucket owner has been specified and the query results are in an
180
- * Amazon S3 bucket whose owner account ID is different from the expected
181
- * bucket owner, the <code>GetQueryResults</code> call fails with an Amazon S3
182
- * permissions error.</p>
183
177
  * <p>To stream query results successfully, the IAM principal with permission to call
184
178
  * <code>GetQueryResults</code> also must have permissions to the Amazon S3
185
179
  * <code>GetObject</code> action for the Athena query results location.</p>
@@ -11,12 +11,6 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsOutput, __M
11
11
  * <code>QueryExecutionId</code> from the Athena query results location in
12
12
  * Amazon S3. For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/querying.html">Query Results</a> in the <i>Amazon Athena User Guide</i>. This request does not execute the query
13
13
  * but returns results. Use <a>StartQueryExecution</a> to run a query.</p>
14
- * <p>If the original query execution ran using an <a>ResultConfiguration$ExpectedBucketOwner</a> setting, the setting also
15
- * applies to Amazon S3 read operations when <code>GetQueryResults</code> is
16
- * called. If an expected bucket owner has been specified and the query results are in an
17
- * Amazon S3 bucket whose owner account ID is different from the expected
18
- * bucket owner, the <code>GetQueryResults</code> call fails with an Amazon S3
19
- * permissions error.</p>
20
14
  * <p>To stream query results successfully, the IAM principal with permission to call
21
15
  * <code>GetQueryResults</code> also must have permissions to the Amazon S3
22
16
  * <code>GetObject</code> action for the Athena query results location.</p>
@@ -229,7 +229,7 @@ export interface ResultConfiguration {
229
229
  * <p>The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by <a>ResultConfiguration$OutputLocation</a>.
230
230
  * If set, Athena uses the value for <code>ExpectedBucketOwner</code> when it
231
231
  * makes Amazon S3 calls to your specified output location. If the
232
- * <code>ExpectedBucketOwner</code>
232
+ * <code>ExpectedBucketOwner</code>
233
233
  * Amazon Web Services account ID does not match the actual owner of the Amazon S3
234
234
  * bucket, the call fails with a permissions error.</p>
235
235
  * <p>This is a client-side setting. If workgroup settings override client-side settings,
@@ -323,6 +323,12 @@ export interface AthenaError {
323
323
  * <b>3</b> - Unknown</p>
324
324
  */
325
325
  ErrorCategory?: number;
326
+ /**
327
+ * <p>An integer value that provides specific information about an Athena query
328
+ * error. For the meaning of specific values, see the <a href="https://docs.aws.amazon.com/athena/latest/ug/error-reference.html#error-reference-error-type-reference">Error Type Reference</a> in the <i>Amazon Athena User
329
+ * Guide</i>.</p>
330
+ */
331
+ ErrorType?: number;
326
332
  }
327
333
  export declare namespace AthenaError {
328
334
  /**
@@ -2235,9 +2241,9 @@ export interface ResultConfigurationUpdates {
2235
2241
  * <p>If set to "true", indicates that the previously-specified query results location (also
2236
2242
  * known as a client-side setting) for queries in this workgroup should be ignored and set
2237
2243
  * to null. If set to "false" or not set, and a value is present in the
2238
- * <code>OutputLocation</code> in <code>ResultConfigurationUpdates</code> (the
2244
+ * <code>OutputLocation</code> in <code>ResultConfigurationUpdates</code> (the
2239
2245
  * client-side setting), the <code>OutputLocation</code> in the workgroup's
2240
- * <code>ResultConfiguration</code> is updated with the new value. For more
2246
+ * <code>ResultConfiguration</code> will be updated with the new value. For more
2241
2247
  * information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override
2242
2248
  * Client-Side Settings</a>.</p>
2243
2249
  */
@@ -2252,7 +2258,7 @@ export interface ResultConfigurationUpdates {
2252
2258
  * and set to null. If set to "false" or not set, and a value is present in the
2253
2259
  * <code>EncryptionConfiguration</code> in <code>ResultConfigurationUpdates</code> (the
2254
2260
  * client-side setting), the <code>EncryptionConfiguration</code> in the workgroup's
2255
- * <code>ResultConfiguration</code> is updated with the new value. For more
2261
+ * <code>ResultConfiguration</code> will be updated with the new value. For more
2256
2262
  * information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override
2257
2263
  * Client-Side Settings</a>.</p>
2258
2264
  */
@@ -2261,21 +2267,21 @@ export interface ResultConfigurationUpdates {
2261
2267
  * <p>The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by <a>ResultConfiguration$OutputLocation</a>.
2262
2268
  * If set, Athena uses the value for <code>ExpectedBucketOwner</code> when it
2263
2269
  * makes Amazon S3 calls to your specified output location. If the
2264
- * <code>ExpectedBucketOwner</code>
2270
+ * <code>ExpectedBucketOwner</code>
2265
2271
  * Amazon Web Services account ID does not match the actual owner of the Amazon S3
2266
2272
  * bucket, the call fails with a permissions error.</p>
2267
2273
  *
2268
2274
  * <p>If workgroup settings override client-side settings, then the query uses the
2269
- * <code>ExpectedBucketOwner</code> setting that is specified for the workgroup, and
2275
+ * <code>ExpectedBucketOwner</code> setting that is specified for the workgroup, and
2270
2276
  * also uses the location for storing query results specified in the workgroup. See <a>WorkGroupConfiguration$EnforceWorkGroupConfiguration</a> and <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override Client-Side Settings</a>.</p>
2271
2277
  */
2272
2278
  ExpectedBucketOwner?: string;
2273
2279
  /**
2274
2280
  * <p>If set to "true", removes the Amazon Web Services account ID previously specified for
2275
- * <a>ResultConfiguration$ExpectedBucketOwner</a>. If set to "false" or not
2281
+ * <a>ResultConfiguration$ExpectedBucketOwner</a>. If set to "false" or not
2276
2282
  * set, and a value is present in the <code>ExpectedBucketOwner</code> in
2277
- * <code>ResultConfigurationUpdates</code> (the client-side setting), the
2278
- * <code>ExpectedBucketOwner</code> in the workgroup's <code>ResultConfiguration</code>
2283
+ * <code>ResultConfigurationUpdates</code> (the client-side setting), the
2284
+ * <code>ExpectedBucketOwner</code> in the workgroup's <code>ResultConfiguration</code>
2279
2285
  * is updated with the new value. For more information, see <a href="https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html">Workgroup Settings Override
2280
2286
  * Client-Side Settings</a>.</p>
2281
2287
  */
@@ -152,6 +152,8 @@ export declare namespace QueryExecutionStatistics {
152
152
  export interface AthenaError {
153
153
 
154
154
  ErrorCategory?: number;
155
+
156
+ ErrorType?: number;
155
157
  }
156
158
  export declare namespace AthenaError {
157
159
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-athena",
3
3
  "description": "AWS SDK for JavaScript Athena Client for Node.js, Browser and React Native",
4
- "version": "3.51.0",
4
+ "version": "3.52.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,41 +18,41 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.51.0",
22
- "@aws-sdk/config-resolver": "3.51.0",
23
- "@aws-sdk/credential-provider-node": "3.51.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-host-header": "3.50.0",
29
- "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.51.0",
31
- "@aws-sdk/middleware-serde": "3.50.0",
32
- "@aws-sdk/middleware-signing": "3.50.0",
33
- "@aws-sdk/middleware-stack": "3.50.0",
34
- "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.51.0",
36
- "@aws-sdk/node-http-handler": "3.50.0",
37
- "@aws-sdk/protocol-http": "3.50.0",
38
- "@aws-sdk/smithy-client": "3.50.0",
39
- "@aws-sdk/types": "3.50.0",
40
- "@aws-sdk/url-parser": "3.50.0",
41
- "@aws-sdk/util-base64-browser": "3.49.0",
42
- "@aws-sdk/util-base64-node": "3.49.0",
43
- "@aws-sdk/util-body-length-browser": "3.49.0",
44
- "@aws-sdk/util-body-length-node": "3.49.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
- "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.51.0",
49
- "@aws-sdk/util-utf8-browser": "3.49.0",
50
- "@aws-sdk/util-utf8-node": "3.49.0",
21
+ "@aws-sdk/client-sts": "3.52.0",
22
+ "@aws-sdk/config-resolver": "3.52.0",
23
+ "@aws-sdk/credential-provider-node": "3.52.0",
24
+ "@aws-sdk/fetch-http-handler": "3.52.0",
25
+ "@aws-sdk/hash-node": "3.52.0",
26
+ "@aws-sdk/invalid-dependency": "3.52.0",
27
+ "@aws-sdk/middleware-content-length": "3.52.0",
28
+ "@aws-sdk/middleware-host-header": "3.52.0",
29
+ "@aws-sdk/middleware-logger": "3.52.0",
30
+ "@aws-sdk/middleware-retry": "3.52.0",
31
+ "@aws-sdk/middleware-serde": "3.52.0",
32
+ "@aws-sdk/middleware-signing": "3.52.0",
33
+ "@aws-sdk/middleware-stack": "3.52.0",
34
+ "@aws-sdk/middleware-user-agent": "3.52.0",
35
+ "@aws-sdk/node-config-provider": "3.52.0",
36
+ "@aws-sdk/node-http-handler": "3.52.0",
37
+ "@aws-sdk/protocol-http": "3.52.0",
38
+ "@aws-sdk/smithy-client": "3.52.0",
39
+ "@aws-sdk/types": "3.52.0",
40
+ "@aws-sdk/url-parser": "3.52.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.52.0",
44
+ "@aws-sdk/util-body-length-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.52.0",
48
+ "@aws-sdk/util-user-agent-node": "3.52.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0",
52
52
  "uuid": "^8.3.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
56
56
  "@tsconfig/recommended": "1.0.1",
57
57
  "@types/node": "^12.7.5",
58
58
  "@types/uuid": "^8.3.0",