@aws-sdk/client-kinesis-analytics-v2 3.1076.0 → 3.1078.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 (119) hide show
  1. package/dist-cjs/index.js +44 -335
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AddApplicationCloudWatchLoggingOptionCommand.js +2 -14
  4. package/dist-es/commands/AddApplicationInputCommand.js +2 -14
  5. package/dist-es/commands/AddApplicationInputProcessingConfigurationCommand.js +2 -14
  6. package/dist-es/commands/AddApplicationOutputCommand.js +2 -14
  7. package/dist-es/commands/AddApplicationReferenceDataSourceCommand.js +2 -14
  8. package/dist-es/commands/AddApplicationVpcConfigurationCommand.js +2 -14
  9. package/dist-es/commands/CreateApplicationCommand.js +2 -14
  10. package/dist-es/commands/CreateApplicationPresignedUrlCommand.js +2 -14
  11. package/dist-es/commands/CreateApplicationSnapshotCommand.js +2 -14
  12. package/dist-es/commands/DeleteApplicationCloudWatchLoggingOptionCommand.js +2 -14
  13. package/dist-es/commands/DeleteApplicationCommand.js +2 -14
  14. package/dist-es/commands/DeleteApplicationInputProcessingConfigurationCommand.js +2 -14
  15. package/dist-es/commands/DeleteApplicationOutputCommand.js +2 -14
  16. package/dist-es/commands/DeleteApplicationReferenceDataSourceCommand.js +2 -14
  17. package/dist-es/commands/DeleteApplicationSnapshotCommand.js +2 -14
  18. package/dist-es/commands/DeleteApplicationVpcConfigurationCommand.js +2 -14
  19. package/dist-es/commands/DescribeApplicationCommand.js +2 -14
  20. package/dist-es/commands/DescribeApplicationOperationCommand.js +2 -14
  21. package/dist-es/commands/DescribeApplicationSnapshotCommand.js +2 -14
  22. package/dist-es/commands/DescribeApplicationVersionCommand.js +2 -14
  23. package/dist-es/commands/DiscoverInputSchemaCommand.js +2 -14
  24. package/dist-es/commands/ListApplicationOperationsCommand.js +2 -14
  25. package/dist-es/commands/ListApplicationSnapshotsCommand.js +2 -14
  26. package/dist-es/commands/ListApplicationVersionsCommand.js +2 -14
  27. package/dist-es/commands/ListApplicationsCommand.js +2 -14
  28. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  29. package/dist-es/commands/RollbackApplicationCommand.js +2 -14
  30. package/dist-es/commands/StartApplicationCommand.js +2 -14
  31. package/dist-es/commands/StopApplicationCommand.js +2 -14
  32. package/dist-es/commands/TagResourceCommand.js +2 -14
  33. package/dist-es/commands/UntagResourceCommand.js +2 -14
  34. package/dist-es/commands/UpdateApplicationCommand.js +2 -14
  35. package/dist-es/commands/UpdateApplicationMaintenanceConfigurationCommand.js +2 -14
  36. package/dist-es/index.js +1 -0
  37. package/dist-es/runtimeConfig.browser.js +0 -2
  38. package/dist-es/runtimeConfig.js +1 -2
  39. package/dist-es/runtimeConfig.native.js +0 -2
  40. package/dist-es/runtimeConfig.shared.js +2 -0
  41. package/dist-types/commandBuilder.d.ts +18 -0
  42. package/dist-types/commands/AddApplicationCloudWatchLoggingOptionCommand.d.ts +3 -8
  43. package/dist-types/commands/AddApplicationInputCommand.d.ts +3 -8
  44. package/dist-types/commands/AddApplicationInputProcessingConfigurationCommand.d.ts +3 -8
  45. package/dist-types/commands/AddApplicationOutputCommand.d.ts +3 -8
  46. package/dist-types/commands/AddApplicationReferenceDataSourceCommand.d.ts +3 -8
  47. package/dist-types/commands/AddApplicationVpcConfigurationCommand.d.ts +3 -8
  48. package/dist-types/commands/CreateApplicationCommand.d.ts +3 -8
  49. package/dist-types/commands/CreateApplicationPresignedUrlCommand.d.ts +3 -8
  50. package/dist-types/commands/CreateApplicationSnapshotCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteApplicationCloudWatchLoggingOptionCommand.d.ts +3 -8
  52. package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -8
  53. package/dist-types/commands/DeleteApplicationInputProcessingConfigurationCommand.d.ts +3 -8
  54. package/dist-types/commands/DeleteApplicationOutputCommand.d.ts +3 -8
  55. package/dist-types/commands/DeleteApplicationReferenceDataSourceCommand.d.ts +3 -8
  56. package/dist-types/commands/DeleteApplicationSnapshotCommand.d.ts +3 -8
  57. package/dist-types/commands/DeleteApplicationVpcConfigurationCommand.d.ts +3 -8
  58. package/dist-types/commands/DescribeApplicationCommand.d.ts +3 -8
  59. package/dist-types/commands/DescribeApplicationOperationCommand.d.ts +3 -8
  60. package/dist-types/commands/DescribeApplicationSnapshotCommand.d.ts +3 -8
  61. package/dist-types/commands/DescribeApplicationVersionCommand.d.ts +3 -8
  62. package/dist-types/commands/DiscoverInputSchemaCommand.d.ts +3 -8
  63. package/dist-types/commands/ListApplicationOperationsCommand.d.ts +3 -8
  64. package/dist-types/commands/ListApplicationSnapshotsCommand.d.ts +3 -8
  65. package/dist-types/commands/ListApplicationVersionsCommand.d.ts +3 -8
  66. package/dist-types/commands/ListApplicationsCommand.d.ts +3 -8
  67. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  68. package/dist-types/commands/RollbackApplicationCommand.d.ts +3 -8
  69. package/dist-types/commands/StartApplicationCommand.d.ts +3 -8
  70. package/dist-types/commands/StopApplicationCommand.d.ts +3 -8
  71. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  72. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  73. package/dist-types/commands/UpdateApplicationCommand.d.ts +3 -8
  74. package/dist-types/commands/UpdateApplicationMaintenanceConfigurationCommand.d.ts +3 -8
  75. package/dist-types/index.d.ts +1 -0
  76. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  77. package/dist-types/runtimeConfig.d.ts +1 -1
  78. package/dist-types/runtimeConfig.native.d.ts +1 -1
  79. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  80. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  81. package/dist-types/ts3.4/commands/AddApplicationCloudWatchLoggingOptionCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/AddApplicationInputCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/AddApplicationInputProcessingConfigurationCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/AddApplicationOutputCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/AddApplicationReferenceDataSourceCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/AddApplicationVpcConfigurationCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/CreateApplicationPresignedUrlCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/CreateApplicationSnapshotCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DeleteApplicationCloudWatchLoggingOptionCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DeleteApplicationInputProcessingConfigurationCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/DeleteApplicationOutputCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/DeleteApplicationReferenceDataSourceCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DeleteApplicationSnapshotCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DeleteApplicationVpcConfigurationCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/DescribeApplicationCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/DescribeApplicationOperationCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/DescribeApplicationSnapshotCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/DescribeApplicationVersionCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/DiscoverInputSchemaCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListApplicationOperationsCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/ListApplicationSnapshotsCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListApplicationVersionsCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/RollbackApplicationCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/UpdateApplicationMaintenanceConfigurationCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/index.d.ts +1 -0
  115. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  116. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  117. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  118. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  119. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateApplicationSnapshot$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateApplicationSnapshotCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "CreateApplicationSnapshot", {})
13
- .n("KinesisAnalyticsV2Client", "CreateApplicationSnapshotCommand")
14
- .sc(CreateApplicationSnapshot$)
15
- .build() {
3
+ export class CreateApplicationSnapshotCommand extends command(_ep0, _mw0, "CreateApplicationSnapshot", CreateApplicationSnapshot$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteApplicationCloudWatchLoggingOption$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteApplicationCloudWatchLoggingOptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "DeleteApplicationCloudWatchLoggingOption", {})
13
- .n("KinesisAnalyticsV2Client", "DeleteApplicationCloudWatchLoggingOptionCommand")
14
- .sc(DeleteApplicationCloudWatchLoggingOption$)
15
- .build() {
3
+ export class DeleteApplicationCloudWatchLoggingOptionCommand extends command(_ep0, _mw0, "DeleteApplicationCloudWatchLoggingOption", DeleteApplicationCloudWatchLoggingOption$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "DeleteApplication", {})
13
- .n("KinesisAnalyticsV2Client", "DeleteApplicationCommand")
14
- .sc(DeleteApplication$)
15
- .build() {
3
+ export class DeleteApplicationCommand extends command(_ep0, _mw0, "DeleteApplication", DeleteApplication$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteApplicationInputProcessingConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteApplicationInputProcessingConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "DeleteApplicationInputProcessingConfiguration", {})
13
- .n("KinesisAnalyticsV2Client", "DeleteApplicationInputProcessingConfigurationCommand")
14
- .sc(DeleteApplicationInputProcessingConfiguration$)
15
- .build() {
3
+ export class DeleteApplicationInputProcessingConfigurationCommand extends command(_ep0, _mw0, "DeleteApplicationInputProcessingConfiguration", DeleteApplicationInputProcessingConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteApplicationOutput$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteApplicationOutputCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "DeleteApplicationOutput", {})
13
- .n("KinesisAnalyticsV2Client", "DeleteApplicationOutputCommand")
14
- .sc(DeleteApplicationOutput$)
15
- .build() {
3
+ export class DeleteApplicationOutputCommand extends command(_ep0, _mw0, "DeleteApplicationOutput", DeleteApplicationOutput$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteApplicationReferenceDataSource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteApplicationReferenceDataSourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "DeleteApplicationReferenceDataSource", {})
13
- .n("KinesisAnalyticsV2Client", "DeleteApplicationReferenceDataSourceCommand")
14
- .sc(DeleteApplicationReferenceDataSource$)
15
- .build() {
3
+ export class DeleteApplicationReferenceDataSourceCommand extends command(_ep0, _mw0, "DeleteApplicationReferenceDataSource", DeleteApplicationReferenceDataSource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteApplicationSnapshot$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteApplicationSnapshotCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "DeleteApplicationSnapshot", {})
13
- .n("KinesisAnalyticsV2Client", "DeleteApplicationSnapshotCommand")
14
- .sc(DeleteApplicationSnapshot$)
15
- .build() {
3
+ export class DeleteApplicationSnapshotCommand extends command(_ep0, _mw0, "DeleteApplicationSnapshot", DeleteApplicationSnapshot$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteApplicationVpcConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteApplicationVpcConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "DeleteApplicationVpcConfiguration", {})
13
- .n("KinesisAnalyticsV2Client", "DeleteApplicationVpcConfigurationCommand")
14
- .sc(DeleteApplicationVpcConfiguration$)
15
- .build() {
3
+ export class DeleteApplicationVpcConfigurationCommand extends command(_ep0, _mw0, "DeleteApplicationVpcConfiguration", DeleteApplicationVpcConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "DescribeApplication", {})
13
- .n("KinesisAnalyticsV2Client", "DescribeApplicationCommand")
14
- .sc(DescribeApplication$)
15
- .build() {
3
+ export class DescribeApplicationCommand extends command(_ep0, _mw0, "DescribeApplication", DescribeApplication$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeApplicationOperation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeApplicationOperationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "DescribeApplicationOperation", {})
13
- .n("KinesisAnalyticsV2Client", "DescribeApplicationOperationCommand")
14
- .sc(DescribeApplicationOperation$)
15
- .build() {
3
+ export class DescribeApplicationOperationCommand extends command(_ep0, _mw0, "DescribeApplicationOperation", DescribeApplicationOperation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeApplicationSnapshot$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeApplicationSnapshotCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "DescribeApplicationSnapshot", {})
13
- .n("KinesisAnalyticsV2Client", "DescribeApplicationSnapshotCommand")
14
- .sc(DescribeApplicationSnapshot$)
15
- .build() {
3
+ export class DescribeApplicationSnapshotCommand extends command(_ep0, _mw0, "DescribeApplicationSnapshot", DescribeApplicationSnapshot$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeApplicationVersion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeApplicationVersionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "DescribeApplicationVersion", {})
13
- .n("KinesisAnalyticsV2Client", "DescribeApplicationVersionCommand")
14
- .sc(DescribeApplicationVersion$)
15
- .build() {
3
+ export class DescribeApplicationVersionCommand extends command(_ep0, _mw0, "DescribeApplicationVersion", DescribeApplicationVersion$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DiscoverInputSchema$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DiscoverInputSchemaCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "DiscoverInputSchema", {})
13
- .n("KinesisAnalyticsV2Client", "DiscoverInputSchemaCommand")
14
- .sc(DiscoverInputSchema$)
15
- .build() {
3
+ export class DiscoverInputSchemaCommand extends command(_ep0, _mw0, "DiscoverInputSchema", DiscoverInputSchema$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListApplicationOperations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListApplicationOperationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "ListApplicationOperations", {})
13
- .n("KinesisAnalyticsV2Client", "ListApplicationOperationsCommand")
14
- .sc(ListApplicationOperations$)
15
- .build() {
3
+ export class ListApplicationOperationsCommand extends command(_ep0, _mw0, "ListApplicationOperations", ListApplicationOperations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListApplicationSnapshots$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListApplicationSnapshotsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "ListApplicationSnapshots", {})
13
- .n("KinesisAnalyticsV2Client", "ListApplicationSnapshotsCommand")
14
- .sc(ListApplicationSnapshots$)
15
- .build() {
3
+ export class ListApplicationSnapshotsCommand extends command(_ep0, _mw0, "ListApplicationSnapshots", ListApplicationSnapshots$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListApplicationVersions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListApplicationVersionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "ListApplicationVersions", {})
13
- .n("KinesisAnalyticsV2Client", "ListApplicationVersionsCommand")
14
- .sc(ListApplicationVersions$)
15
- .build() {
3
+ export class ListApplicationVersionsCommand extends command(_ep0, _mw0, "ListApplicationVersions", ListApplicationVersions$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListApplications$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListApplicationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "ListApplications", {})
13
- .n("KinesisAnalyticsV2Client", "ListApplicationsCommand")
14
- .sc(ListApplications$)
15
- .build() {
3
+ export class ListApplicationsCommand extends command(_ep0, _mw0, "ListApplications", ListApplications$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "ListTagsForResource", {})
13
- .n("KinesisAnalyticsV2Client", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RollbackApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RollbackApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "RollbackApplication", {})
13
- .n("KinesisAnalyticsV2Client", "RollbackApplicationCommand")
14
- .sc(RollbackApplication$)
15
- .build() {
3
+ export class RollbackApplicationCommand extends command(_ep0, _mw0, "RollbackApplication", RollbackApplication$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "StartApplication", {})
13
- .n("KinesisAnalyticsV2Client", "StartApplicationCommand")
14
- .sc(StartApplication$)
15
- .build() {
3
+ export class StartApplicationCommand extends command(_ep0, _mw0, "StartApplication", StartApplication$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StopApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "StopApplication", {})
13
- .n("KinesisAnalyticsV2Client", "StopApplicationCommand")
14
- .sc(StopApplication$)
15
- .build() {
3
+ export class StopApplicationCommand extends command(_ep0, _mw0, "StopApplication", StopApplication$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "TagResource", {})
13
- .n("KinesisAnalyticsV2Client", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "UntagResource", {})
13
- .n("KinesisAnalyticsV2Client", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "UpdateApplication", {})
13
- .n("KinesisAnalyticsV2Client", "UpdateApplicationCommand")
14
- .sc(UpdateApplication$)
15
- .build() {
3
+ export class UpdateApplicationCommand extends command(_ep0, _mw0, "UpdateApplication", UpdateApplication$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateApplicationMaintenanceConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateApplicationMaintenanceConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KinesisAnalytics_20180523", "UpdateApplicationMaintenanceConfiguration", {})
13
- .n("KinesisAnalyticsV2Client", "UpdateApplicationMaintenanceConfigurationCommand")
14
- .sc(UpdateApplicationMaintenanceConfiguration$)
15
- .build() {
3
+ export class UpdateApplicationMaintenanceConfigurationCommand extends command(_ep0, _mw0, "UpdateApplicationMaintenanceConfiguration", UpdateApplicationMaintenanceConfiguration$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./KinesisAnalyticsV2Client";
2
2
  export * from "./KinesisAnalyticsV2";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -32,6 +33,7 @@ export const getRuntimeConfig = (config) => {
32
33
  serviceTarget: "KinesisAnalytics_20180523",
33
34
  },
34
35
  serviceId: config?.serviceId ?? "Kinesis Analytics V2",
36
+ sha256: config?.sha256 ?? Sha256,
35
37
  urlParser: config?.urlParser ?? parseUrl,
36
38
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
37
39
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { KinesisAnalyticsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./KinesisAnalyticsV2Client";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, KinesisAnalyticsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, KinesisAnalyticsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { KinesisAnalyticsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisAnalyticsV2Client";
4
2
  import type { AddApplicationCloudWatchLoggingOptionRequest, AddApplicationCloudWatchLoggingOptionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AddApplicationCloudWatchLoggingOptionCommandInput extends AddAp
22
19
  export interface AddApplicationCloudWatchLoggingOptionCommandOutput extends AddApplicationCloudWatchLoggingOptionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const AddApplicationCloudWatchLoggingOptionCommand_base: {
25
- new (input: AddApplicationCloudWatchLoggingOptionCommandInput): import("@smithy/core/client").CommandImpl<AddApplicationCloudWatchLoggingOptionCommandInput, AddApplicationCloudWatchLoggingOptionCommandOutput, KinesisAnalyticsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AddApplicationCloudWatchLoggingOptionCommandInput): import("@smithy/core/client").CommandImpl<AddApplicationCloudWatchLoggingOptionCommandInput, AddApplicationCloudWatchLoggingOptionCommandOutput, KinesisAnalyticsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AddApplicationCloudWatchLoggingOptionCommandInput): import("@smithy/core/client").CommandImpl<AddApplicationCloudWatchLoggingOptionCommandInput, AddApplicationCloudWatchLoggingOptionCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AddApplicationCloudWatchLoggingOptionCommandInput): import("@smithy/core/client").CommandImpl<AddApplicationCloudWatchLoggingOptionCommandInput, AddApplicationCloudWatchLoggingOptionCommandOutput, import("..").KinesisAnalyticsV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Adds an Amazon CloudWatch log stream to monitor application configuration errors.</p>