@aws-sdk/client-athena 3.927.0 → 3.929.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.
Files changed (89) hide show
  1. package/dist-cjs/index.js +1900 -2342
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/AthenaClient.js +2 -0
  4. package/dist-es/commands/BatchGetNamedQueryCommand.js +3 -9
  5. package/dist-es/commands/BatchGetPreparedStatementCommand.js +3 -9
  6. package/dist-es/commands/BatchGetQueryExecutionCommand.js +3 -9
  7. package/dist-es/commands/CancelCapacityReservationCommand.js +3 -9
  8. package/dist-es/commands/CreateCapacityReservationCommand.js +3 -9
  9. package/dist-es/commands/CreateDataCatalogCommand.js +3 -9
  10. package/dist-es/commands/CreateNamedQueryCommand.js +3 -9
  11. package/dist-es/commands/CreateNotebookCommand.js +3 -9
  12. package/dist-es/commands/CreatePreparedStatementCommand.js +3 -9
  13. package/dist-es/commands/CreatePresignedNotebookUrlCommand.js +3 -9
  14. package/dist-es/commands/CreateWorkGroupCommand.js +3 -9
  15. package/dist-es/commands/DeleteCapacityReservationCommand.js +3 -9
  16. package/dist-es/commands/DeleteDataCatalogCommand.js +3 -9
  17. package/dist-es/commands/DeleteNamedQueryCommand.js +3 -9
  18. package/dist-es/commands/DeleteNotebookCommand.js +3 -9
  19. package/dist-es/commands/DeletePreparedStatementCommand.js +3 -9
  20. package/dist-es/commands/DeleteWorkGroupCommand.js +3 -9
  21. package/dist-es/commands/ExportNotebookCommand.js +3 -9
  22. package/dist-es/commands/GetCalculationExecutionCodeCommand.js +3 -9
  23. package/dist-es/commands/GetCalculationExecutionCommand.js +3 -9
  24. package/dist-es/commands/GetCalculationExecutionStatusCommand.js +3 -9
  25. package/dist-es/commands/GetCapacityAssignmentConfigurationCommand.js +3 -9
  26. package/dist-es/commands/GetCapacityReservationCommand.js +3 -9
  27. package/dist-es/commands/GetDataCatalogCommand.js +3 -9
  28. package/dist-es/commands/GetDatabaseCommand.js +3 -9
  29. package/dist-es/commands/GetNamedQueryCommand.js +3 -9
  30. package/dist-es/commands/GetNotebookMetadataCommand.js +3 -9
  31. package/dist-es/commands/GetPreparedStatementCommand.js +3 -9
  32. package/dist-es/commands/GetQueryExecutionCommand.js +3 -9
  33. package/dist-es/commands/GetQueryResultsCommand.js +3 -9
  34. package/dist-es/commands/GetQueryRuntimeStatisticsCommand.js +3 -9
  35. package/dist-es/commands/GetSessionCommand.js +3 -9
  36. package/dist-es/commands/GetSessionStatusCommand.js +3 -9
  37. package/dist-es/commands/GetTableMetadataCommand.js +3 -9
  38. package/dist-es/commands/GetWorkGroupCommand.js +3 -9
  39. package/dist-es/commands/ImportNotebookCommand.js +3 -9
  40. package/dist-es/commands/ListApplicationDPUSizesCommand.js +3 -9
  41. package/dist-es/commands/ListCalculationExecutionsCommand.js +3 -9
  42. package/dist-es/commands/ListCapacityReservationsCommand.js +3 -9
  43. package/dist-es/commands/ListDataCatalogsCommand.js +3 -9
  44. package/dist-es/commands/ListDatabasesCommand.js +3 -9
  45. package/dist-es/commands/ListEngineVersionsCommand.js +3 -9
  46. package/dist-es/commands/ListExecutorsCommand.js +3 -9
  47. package/dist-es/commands/ListNamedQueriesCommand.js +3 -9
  48. package/dist-es/commands/ListNotebookMetadataCommand.js +3 -9
  49. package/dist-es/commands/ListNotebookSessionsCommand.js +3 -9
  50. package/dist-es/commands/ListPreparedStatementsCommand.js +3 -9
  51. package/dist-es/commands/ListQueryExecutionsCommand.js +3 -9
  52. package/dist-es/commands/ListSessionsCommand.js +3 -9
  53. package/dist-es/commands/ListTableMetadataCommand.js +3 -9
  54. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  55. package/dist-es/commands/ListWorkGroupsCommand.js +3 -9
  56. package/dist-es/commands/PutCapacityAssignmentConfigurationCommand.js +3 -9
  57. package/dist-es/commands/StartCalculationExecutionCommand.js +3 -9
  58. package/dist-es/commands/StartQueryExecutionCommand.js +3 -9
  59. package/dist-es/commands/StartSessionCommand.js +3 -9
  60. package/dist-es/commands/StopCalculationExecutionCommand.js +3 -9
  61. package/dist-es/commands/StopQueryExecutionCommand.js +3 -9
  62. package/dist-es/commands/TagResourceCommand.js +3 -9
  63. package/dist-es/commands/TerminateSessionCommand.js +3 -9
  64. package/dist-es/commands/UntagResourceCommand.js +3 -9
  65. package/dist-es/commands/UpdateCapacityReservationCommand.js +3 -9
  66. package/dist-es/commands/UpdateDataCatalogCommand.js +3 -9
  67. package/dist-es/commands/UpdateNamedQueryCommand.js +3 -9
  68. package/dist-es/commands/UpdateNotebookCommand.js +3 -9
  69. package/dist-es/commands/UpdateNotebookMetadataCommand.js +3 -9
  70. package/dist-es/commands/UpdatePreparedStatementCommand.js +3 -9
  71. package/dist-es/commands/UpdateWorkGroupCommand.js +3 -9
  72. package/dist-es/runtimeConfig.shared.js +7 -0
  73. package/dist-es/schemas/schemas_0.js +1754 -0
  74. package/dist-types/AthenaClient.d.ts +10 -1
  75. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  76. package/dist-types/runtimeConfig.d.ts +1 -0
  77. package/dist-types/runtimeConfig.native.d.ts +1 -0
  78. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  79. package/dist-types/schemas/schemas_0.d.ts +313 -0
  80. package/dist-types/ts3.4/AthenaClient.d.ts +4 -0
  81. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  82. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  83. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  84. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  85. package/dist-types/ts3.4/schemas/schemas_0.d.ts +318 -0
  86. package/package.json +5 -6
  87. package/dist-es/protocols/Aws_json1_1.js +0 -1852
  88. package/dist-types/protocols/Aws_json1_1.d.ts +0 -614
  89. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -821
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.athena",
32
+ serviceTarget: "AmazonAthena",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "Athena",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class AthenaClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetNamedQueryCommand, se_BatchGetNamedQueryCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchGetNamedQuery } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetNamedQueryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "BatchGetNamedQuery", {})
17
13
  .n("AthenaClient", "BatchGetNamedQueryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetNamedQueryCommand)
20
- .de(de_BatchGetNamedQueryCommand)
14
+ .sc(BatchGetNamedQuery)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetPreparedStatementCommand, se_BatchGetPreparedStatementCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchGetPreparedStatement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetPreparedStatementCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "BatchGetPreparedStatement", {})
17
13
  .n("AthenaClient", "BatchGetPreparedStatementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetPreparedStatementCommand)
20
- .de(de_BatchGetPreparedStatementCommand)
14
+ .sc(BatchGetPreparedStatement)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetQueryExecutionCommand, se_BatchGetQueryExecutionCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchGetQueryExecution } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetQueryExecutionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "BatchGetQueryExecution", {})
17
13
  .n("AthenaClient", "BatchGetQueryExecutionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetQueryExecutionCommand)
20
- .de(de_BatchGetQueryExecutionCommand)
14
+ .sc(BatchGetQueryExecution)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelCapacityReservationCommand, se_CancelCapacityReservationCommand } from "../protocols/Aws_json1_1";
4
+ import { CancelCapacityReservation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelCapacityReservationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "CancelCapacityReservation", {})
17
13
  .n("AthenaClient", "CancelCapacityReservationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelCapacityReservationCommand)
20
- .de(de_CancelCapacityReservationCommand)
14
+ .sc(CancelCapacityReservation)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateCapacityReservationCommand, se_CreateCapacityReservationCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateCapacityReservation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCapacityReservationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "CreateCapacityReservation", {})
17
13
  .n("AthenaClient", "CreateCapacityReservationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCapacityReservationCommand)
20
- .de(de_CreateCapacityReservationCommand)
14
+ .sc(CreateCapacityReservation)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateDataCatalogCommand, se_CreateDataCatalogCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateDataCatalog } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDataCatalogCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "CreateDataCatalog", {})
17
13
  .n("AthenaClient", "CreateDataCatalogCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDataCatalogCommand)
20
- .de(de_CreateDataCatalogCommand)
14
+ .sc(CreateDataCatalog)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateNamedQueryCommand, se_CreateNamedQueryCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateNamedQuery } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateNamedQueryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "CreateNamedQuery", {})
17
13
  .n("AthenaClient", "CreateNamedQueryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateNamedQueryCommand)
20
- .de(de_CreateNamedQueryCommand)
14
+ .sc(CreateNamedQuery)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateNotebookCommand, se_CreateNotebookCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateNotebook } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateNotebookCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "CreateNotebook", {})
17
13
  .n("AthenaClient", "CreateNotebookCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateNotebookCommand)
20
- .de(de_CreateNotebookCommand)
14
+ .sc(CreateNotebook)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreatePreparedStatementCommand, se_CreatePreparedStatementCommand } from "../protocols/Aws_json1_1";
4
+ import { CreatePreparedStatement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePreparedStatementCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "CreatePreparedStatement", {})
17
13
  .n("AthenaClient", "CreatePreparedStatementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePreparedStatementCommand)
20
- .de(de_CreatePreparedStatementCommand)
14
+ .sc(CreatePreparedStatement)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreatePresignedNotebookUrlCommand, se_CreatePresignedNotebookUrlCommand } from "../protocols/Aws_json1_1";
4
+ import { CreatePresignedNotebookUrl } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePresignedNotebookUrlCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "CreatePresignedNotebookUrl", {})
17
13
  .n("AthenaClient", "CreatePresignedNotebookUrlCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePresignedNotebookUrlCommand)
20
- .de(de_CreatePresignedNotebookUrlCommand)
14
+ .sc(CreatePresignedNotebookUrl)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateWorkGroupCommand, se_CreateWorkGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateWorkGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateWorkGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "CreateWorkGroup", {})
17
13
  .n("AthenaClient", "CreateWorkGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateWorkGroupCommand)
20
- .de(de_CreateWorkGroupCommand)
14
+ .sc(CreateWorkGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteCapacityReservationCommand, se_DeleteCapacityReservationCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteCapacityReservation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCapacityReservationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "DeleteCapacityReservation", {})
17
13
  .n("AthenaClient", "DeleteCapacityReservationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCapacityReservationCommand)
20
- .de(de_DeleteCapacityReservationCommand)
14
+ .sc(DeleteCapacityReservation)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDataCatalogCommand, se_DeleteDataCatalogCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteDataCatalog } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDataCatalogCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "DeleteDataCatalog", {})
17
13
  .n("AthenaClient", "DeleteDataCatalogCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDataCatalogCommand)
20
- .de(de_DeleteDataCatalogCommand)
14
+ .sc(DeleteDataCatalog)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteNamedQueryCommand, se_DeleteNamedQueryCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteNamedQuery } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteNamedQueryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "DeleteNamedQuery", {})
17
13
  .n("AthenaClient", "DeleteNamedQueryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteNamedQueryCommand)
20
- .de(de_DeleteNamedQueryCommand)
14
+ .sc(DeleteNamedQuery)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteNotebookCommand, se_DeleteNotebookCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteNotebook } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteNotebookCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "DeleteNotebook", {})
17
13
  .n("AthenaClient", "DeleteNotebookCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteNotebookCommand)
20
- .de(de_DeleteNotebookCommand)
14
+ .sc(DeleteNotebook)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeletePreparedStatementCommand, se_DeletePreparedStatementCommand } from "../protocols/Aws_json1_1";
4
+ import { DeletePreparedStatement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePreparedStatementCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "DeletePreparedStatement", {})
17
13
  .n("AthenaClient", "DeletePreparedStatementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePreparedStatementCommand)
20
- .de(de_DeletePreparedStatementCommand)
14
+ .sc(DeletePreparedStatement)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteWorkGroupCommand, se_DeleteWorkGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteWorkGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteWorkGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "DeleteWorkGroup", {})
17
13
  .n("AthenaClient", "DeleteWorkGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteWorkGroupCommand)
20
- .de(de_DeleteWorkGroupCommand)
14
+ .sc(DeleteWorkGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ExportNotebookCommand, se_ExportNotebookCommand } from "../protocols/Aws_json1_1";
4
+ import { ExportNotebook } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ExportNotebookCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "ExportNotebook", {})
17
13
  .n("AthenaClient", "ExportNotebookCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ExportNotebookCommand)
20
- .de(de_ExportNotebookCommand)
14
+ .sc(ExportNotebook)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCalculationExecutionCodeCommand, se_GetCalculationExecutionCodeCommand } from "../protocols/Aws_json1_1";
4
+ import { GetCalculationExecutionCode } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCalculationExecutionCodeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "GetCalculationExecutionCode", {})
17
13
  .n("AthenaClient", "GetCalculationExecutionCodeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCalculationExecutionCodeCommand)
20
- .de(de_GetCalculationExecutionCodeCommand)
14
+ .sc(GetCalculationExecutionCode)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCalculationExecutionCommand, se_GetCalculationExecutionCommand } from "../protocols/Aws_json1_1";
4
+ import { GetCalculationExecution } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCalculationExecutionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "GetCalculationExecution", {})
17
13
  .n("AthenaClient", "GetCalculationExecutionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCalculationExecutionCommand)
20
- .de(de_GetCalculationExecutionCommand)
14
+ .sc(GetCalculationExecution)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCalculationExecutionStatusCommand, se_GetCalculationExecutionStatusCommand, } from "../protocols/Aws_json1_1";
4
+ import { GetCalculationExecutionStatus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCalculationExecutionStatusCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "GetCalculationExecutionStatus", {})
17
13
  .n("AthenaClient", "GetCalculationExecutionStatusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCalculationExecutionStatusCommand)
20
- .de(de_GetCalculationExecutionStatusCommand)
14
+ .sc(GetCalculationExecutionStatus)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCapacityAssignmentConfigurationCommand, se_GetCapacityAssignmentConfigurationCommand, } from "../protocols/Aws_json1_1";
4
+ import { GetCapacityAssignmentConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCapacityAssignmentConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonAthena", "GetCapacityAssignmentConfiguration", {})
17
13
  .n("AthenaClient", "GetCapacityAssignmentConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCapacityAssignmentConfigurationCommand)
20
- .de(de_GetCapacityAssignmentConfigurationCommand)
14
+ .sc(GetCapacityAssignmentConfiguration)
21
15
  .build() {
22
16
  }