@aws-sdk/client-timestream-influxdb 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 (77) hide show
  1. package/dist-cjs/index.js +30 -195
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateDbClusterCommand.js +2 -14
  4. package/dist-es/commands/CreateDbInstanceCommand.js +2 -14
  5. package/dist-es/commands/CreateDbParameterGroupCommand.js +2 -14
  6. package/dist-es/commands/DeleteDbClusterCommand.js +2 -14
  7. package/dist-es/commands/DeleteDbInstanceCommand.js +2 -14
  8. package/dist-es/commands/GetDbClusterCommand.js +2 -14
  9. package/dist-es/commands/GetDbInstanceCommand.js +2 -14
  10. package/dist-es/commands/GetDbParameterGroupCommand.js +2 -14
  11. package/dist-es/commands/ListDbClustersCommand.js +2 -14
  12. package/dist-es/commands/ListDbInstancesCommand.js +2 -14
  13. package/dist-es/commands/ListDbInstancesForClusterCommand.js +2 -14
  14. package/dist-es/commands/ListDbParameterGroupsCommand.js +2 -14
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  16. package/dist-es/commands/RebootDbClusterCommand.js +2 -14
  17. package/dist-es/commands/RebootDbInstanceCommand.js +2 -14
  18. package/dist-es/commands/TagResourceCommand.js +2 -14
  19. package/dist-es/commands/UntagResourceCommand.js +2 -14
  20. package/dist-es/commands/UpdateDbClusterCommand.js +2 -14
  21. package/dist-es/commands/UpdateDbInstanceCommand.js +2 -14
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/runtimeConfig.browser.js +0 -2
  24. package/dist-es/runtimeConfig.js +1 -2
  25. package/dist-es/runtimeConfig.native.js +0 -2
  26. package/dist-es/runtimeConfig.shared.js +2 -0
  27. package/dist-types/commandBuilder.d.ts +18 -0
  28. package/dist-types/commands/CreateDbClusterCommand.d.ts +3 -8
  29. package/dist-types/commands/CreateDbInstanceCommand.d.ts +3 -8
  30. package/dist-types/commands/CreateDbParameterGroupCommand.d.ts +3 -8
  31. package/dist-types/commands/DeleteDbClusterCommand.d.ts +3 -8
  32. package/dist-types/commands/DeleteDbInstanceCommand.d.ts +3 -8
  33. package/dist-types/commands/GetDbClusterCommand.d.ts +3 -8
  34. package/dist-types/commands/GetDbInstanceCommand.d.ts +3 -8
  35. package/dist-types/commands/GetDbParameterGroupCommand.d.ts +3 -8
  36. package/dist-types/commands/ListDbClustersCommand.d.ts +3 -8
  37. package/dist-types/commands/ListDbInstancesCommand.d.ts +3 -8
  38. package/dist-types/commands/ListDbInstancesForClusterCommand.d.ts +3 -8
  39. package/dist-types/commands/ListDbParameterGroupsCommand.d.ts +3 -8
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  41. package/dist-types/commands/RebootDbClusterCommand.d.ts +3 -8
  42. package/dist-types/commands/RebootDbInstanceCommand.d.ts +3 -8
  43. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  44. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  45. package/dist-types/commands/UpdateDbClusterCommand.d.ts +3 -8
  46. package/dist-types/commands/UpdateDbInstanceCommand.d.ts +3 -8
  47. package/dist-types/index.d.ts +1 -0
  48. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  49. package/dist-types/runtimeConfig.d.ts +1 -1
  50. package/dist-types/runtimeConfig.native.d.ts +1 -1
  51. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  52. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  53. package/dist-types/ts3.4/commands/CreateDbClusterCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/CreateDbInstanceCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/CreateDbParameterGroupCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/DeleteDbClusterCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/DeleteDbInstanceCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/GetDbClusterCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/GetDbInstanceCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/GetDbParameterGroupCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/ListDbClustersCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/ListDbInstancesCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ListDbInstancesForClusterCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/ListDbParameterGroupsCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/RebootDbClusterCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/RebootDbInstanceCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/UpdateDbClusterCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/UpdateDbInstanceCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/index.d.ts +1 -0
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  77. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultTimestreamInfluxDBHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -870,6 +872,7 @@ const getRuntimeConfig$1 = (config) => {
870
872
  serviceTarget: "AmazonTimestreamInfluxDB",
871
873
  },
872
874
  serviceId: config?.serviceId ?? "Timestream InfluxDB",
875
+ sha256: config?.sha256 ?? Sha256,
873
876
  urlParser: config?.urlParser ?? parseUrl,
874
877
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
875
878
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -903,7 +906,6 @@ const getRuntimeConfig = (config) => {
903
906
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
904
907
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
905
908
  }, config),
906
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
907
909
  streamCollector: config?.streamCollector ?? streamCollector,
908
910
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
909
911
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -991,232 +993,65 @@ class TimestreamInfluxDBClient extends Client {
991
993
  }
992
994
  }
993
995
 
994
- class CreateDbClusterCommand extends Command
995
- .classBuilder()
996
- .ep(commonParams)
997
- .m(function (Command, cs, config, o) {
998
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
999
- })
1000
- .s("AmazonTimestreamInfluxDB", "CreateDbCluster", {})
1001
- .n("TimestreamInfluxDBClient", "CreateDbClusterCommand")
1002
- .sc(CreateDbCluster$)
1003
- .build() {
996
+ const command = makeBuilder(commonParams, "AmazonTimestreamInfluxDB", "TimestreamInfluxDBClient", getEndpointPlugin);
997
+ const _ep0 = {};
998
+ const _mw0 = (Command, cs, config, o) => [];
999
+
1000
+ class CreateDbClusterCommand extends command(_ep0, _mw0, "CreateDbCluster", CreateDbCluster$) {
1004
1001
  }
1005
1002
 
1006
- class CreateDbInstanceCommand extends Command
1007
- .classBuilder()
1008
- .ep(commonParams)
1009
- .m(function (Command, cs, config, o) {
1010
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1011
- })
1012
- .s("AmazonTimestreamInfluxDB", "CreateDbInstance", {})
1013
- .n("TimestreamInfluxDBClient", "CreateDbInstanceCommand")
1014
- .sc(CreateDbInstance$)
1015
- .build() {
1003
+ class CreateDbInstanceCommand extends command(_ep0, _mw0, "CreateDbInstance", CreateDbInstance$) {
1016
1004
  }
1017
1005
 
1018
- class CreateDbParameterGroupCommand extends Command
1019
- .classBuilder()
1020
- .ep(commonParams)
1021
- .m(function (Command, cs, config, o) {
1022
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1023
- })
1024
- .s("AmazonTimestreamInfluxDB", "CreateDbParameterGroup", {})
1025
- .n("TimestreamInfluxDBClient", "CreateDbParameterGroupCommand")
1026
- .sc(CreateDbParameterGroup$)
1027
- .build() {
1006
+ class CreateDbParameterGroupCommand extends command(_ep0, _mw0, "CreateDbParameterGroup", CreateDbParameterGroup$) {
1028
1007
  }
1029
1008
 
1030
- class DeleteDbClusterCommand extends Command
1031
- .classBuilder()
1032
- .ep(commonParams)
1033
- .m(function (Command, cs, config, o) {
1034
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1035
- })
1036
- .s("AmazonTimestreamInfluxDB", "DeleteDbCluster", {})
1037
- .n("TimestreamInfluxDBClient", "DeleteDbClusterCommand")
1038
- .sc(DeleteDbCluster$)
1039
- .build() {
1009
+ class DeleteDbClusterCommand extends command(_ep0, _mw0, "DeleteDbCluster", DeleteDbCluster$) {
1040
1010
  }
1041
1011
 
1042
- class DeleteDbInstanceCommand extends Command
1043
- .classBuilder()
1044
- .ep(commonParams)
1045
- .m(function (Command, cs, config, o) {
1046
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1047
- })
1048
- .s("AmazonTimestreamInfluxDB", "DeleteDbInstance", {})
1049
- .n("TimestreamInfluxDBClient", "DeleteDbInstanceCommand")
1050
- .sc(DeleteDbInstance$)
1051
- .build() {
1012
+ class DeleteDbInstanceCommand extends command(_ep0, _mw0, "DeleteDbInstance", DeleteDbInstance$) {
1052
1013
  }
1053
1014
 
1054
- class GetDbClusterCommand extends Command
1055
- .classBuilder()
1056
- .ep(commonParams)
1057
- .m(function (Command, cs, config, o) {
1058
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1059
- })
1060
- .s("AmazonTimestreamInfluxDB", "GetDbCluster", {})
1061
- .n("TimestreamInfluxDBClient", "GetDbClusterCommand")
1062
- .sc(GetDbCluster$)
1063
- .build() {
1015
+ class GetDbClusterCommand extends command(_ep0, _mw0, "GetDbCluster", GetDbCluster$) {
1064
1016
  }
1065
1017
 
1066
- class GetDbInstanceCommand extends Command
1067
- .classBuilder()
1068
- .ep(commonParams)
1069
- .m(function (Command, cs, config, o) {
1070
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1071
- })
1072
- .s("AmazonTimestreamInfluxDB", "GetDbInstance", {})
1073
- .n("TimestreamInfluxDBClient", "GetDbInstanceCommand")
1074
- .sc(GetDbInstance$)
1075
- .build() {
1018
+ class GetDbInstanceCommand extends command(_ep0, _mw0, "GetDbInstance", GetDbInstance$) {
1076
1019
  }
1077
1020
 
1078
- class GetDbParameterGroupCommand extends Command
1079
- .classBuilder()
1080
- .ep(commonParams)
1081
- .m(function (Command, cs, config, o) {
1082
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1083
- })
1084
- .s("AmazonTimestreamInfluxDB", "GetDbParameterGroup", {})
1085
- .n("TimestreamInfluxDBClient", "GetDbParameterGroupCommand")
1086
- .sc(GetDbParameterGroup$)
1087
- .build() {
1021
+ class GetDbParameterGroupCommand extends command(_ep0, _mw0, "GetDbParameterGroup", GetDbParameterGroup$) {
1088
1022
  }
1089
1023
 
1090
- class ListDbClustersCommand extends Command
1091
- .classBuilder()
1092
- .ep(commonParams)
1093
- .m(function (Command, cs, config, o) {
1094
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1095
- })
1096
- .s("AmazonTimestreamInfluxDB", "ListDbClusters", {})
1097
- .n("TimestreamInfluxDBClient", "ListDbClustersCommand")
1098
- .sc(ListDbClusters$)
1099
- .build() {
1024
+ class ListDbClustersCommand extends command(_ep0, _mw0, "ListDbClusters", ListDbClusters$) {
1100
1025
  }
1101
1026
 
1102
- class ListDbInstancesCommand extends Command
1103
- .classBuilder()
1104
- .ep(commonParams)
1105
- .m(function (Command, cs, config, o) {
1106
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1107
- })
1108
- .s("AmazonTimestreamInfluxDB", "ListDbInstances", {})
1109
- .n("TimestreamInfluxDBClient", "ListDbInstancesCommand")
1110
- .sc(ListDbInstances$)
1111
- .build() {
1027
+ class ListDbInstancesCommand extends command(_ep0, _mw0, "ListDbInstances", ListDbInstances$) {
1112
1028
  }
1113
1029
 
1114
- class ListDbInstancesForClusterCommand extends Command
1115
- .classBuilder()
1116
- .ep(commonParams)
1117
- .m(function (Command, cs, config, o) {
1118
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1119
- })
1120
- .s("AmazonTimestreamInfluxDB", "ListDbInstancesForCluster", {})
1121
- .n("TimestreamInfluxDBClient", "ListDbInstancesForClusterCommand")
1122
- .sc(ListDbInstancesForCluster$)
1123
- .build() {
1030
+ class ListDbInstancesForClusterCommand extends command(_ep0, _mw0, "ListDbInstancesForCluster", ListDbInstancesForCluster$) {
1124
1031
  }
1125
1032
 
1126
- class ListDbParameterGroupsCommand extends Command
1127
- .classBuilder()
1128
- .ep(commonParams)
1129
- .m(function (Command, cs, config, o) {
1130
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1131
- })
1132
- .s("AmazonTimestreamInfluxDB", "ListDbParameterGroups", {})
1133
- .n("TimestreamInfluxDBClient", "ListDbParameterGroupsCommand")
1134
- .sc(ListDbParameterGroups$)
1135
- .build() {
1033
+ class ListDbParameterGroupsCommand extends command(_ep0, _mw0, "ListDbParameterGroups", ListDbParameterGroups$) {
1136
1034
  }
1137
1035
 
1138
- class ListTagsForResourceCommand extends Command
1139
- .classBuilder()
1140
- .ep(commonParams)
1141
- .m(function (Command, cs, config, o) {
1142
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1143
- })
1144
- .s("AmazonTimestreamInfluxDB", "ListTagsForResource", {})
1145
- .n("TimestreamInfluxDBClient", "ListTagsForResourceCommand")
1146
- .sc(ListTagsForResource$)
1147
- .build() {
1036
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1148
1037
  }
1149
1038
 
1150
- class RebootDbClusterCommand extends Command
1151
- .classBuilder()
1152
- .ep(commonParams)
1153
- .m(function (Command, cs, config, o) {
1154
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1155
- })
1156
- .s("AmazonTimestreamInfluxDB", "RebootDbCluster", {})
1157
- .n("TimestreamInfluxDBClient", "RebootDbClusterCommand")
1158
- .sc(RebootDbCluster$)
1159
- .build() {
1039
+ class RebootDbClusterCommand extends command(_ep0, _mw0, "RebootDbCluster", RebootDbCluster$) {
1160
1040
  }
1161
1041
 
1162
- class RebootDbInstanceCommand extends Command
1163
- .classBuilder()
1164
- .ep(commonParams)
1165
- .m(function (Command, cs, config, o) {
1166
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1167
- })
1168
- .s("AmazonTimestreamInfluxDB", "RebootDbInstance", {})
1169
- .n("TimestreamInfluxDBClient", "RebootDbInstanceCommand")
1170
- .sc(RebootDbInstance$)
1171
- .build() {
1042
+ class RebootDbInstanceCommand extends command(_ep0, _mw0, "RebootDbInstance", RebootDbInstance$) {
1172
1043
  }
1173
1044
 
1174
- class TagResourceCommand extends Command
1175
- .classBuilder()
1176
- .ep(commonParams)
1177
- .m(function (Command, cs, config, o) {
1178
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1179
- })
1180
- .s("AmazonTimestreamInfluxDB", "TagResource", {})
1181
- .n("TimestreamInfluxDBClient", "TagResourceCommand")
1182
- .sc(TagResource$)
1183
- .build() {
1045
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1184
1046
  }
1185
1047
 
1186
- class UntagResourceCommand extends Command
1187
- .classBuilder()
1188
- .ep(commonParams)
1189
- .m(function (Command, cs, config, o) {
1190
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1191
- })
1192
- .s("AmazonTimestreamInfluxDB", "UntagResource", {})
1193
- .n("TimestreamInfluxDBClient", "UntagResourceCommand")
1194
- .sc(UntagResource$)
1195
- .build() {
1048
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1196
1049
  }
1197
1050
 
1198
- class UpdateDbClusterCommand extends Command
1199
- .classBuilder()
1200
- .ep(commonParams)
1201
- .m(function (Command, cs, config, o) {
1202
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1203
- })
1204
- .s("AmazonTimestreamInfluxDB", "UpdateDbCluster", {})
1205
- .n("TimestreamInfluxDBClient", "UpdateDbClusterCommand")
1206
- .sc(UpdateDbCluster$)
1207
- .build() {
1051
+ class UpdateDbClusterCommand extends command(_ep0, _mw0, "UpdateDbCluster", UpdateDbCluster$) {
1208
1052
  }
1209
1053
 
1210
- class UpdateDbInstanceCommand extends Command
1211
- .classBuilder()
1212
- .ep(commonParams)
1213
- .m(function (Command, cs, config, o) {
1214
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1215
- })
1216
- .s("AmazonTimestreamInfluxDB", "UpdateDbInstance", {})
1217
- .n("TimestreamInfluxDBClient", "UpdateDbInstanceCommand")
1218
- .sc(UpdateDbInstance$)
1219
- .build() {
1054
+ class UpdateDbInstanceCommand extends command(_ep0, _mw0, "UpdateDbInstance", UpdateDbInstance$) {
1220
1055
  }
1221
1056
 
1222
1057
  const paginateListDbClusters = createPaginator(TimestreamInfluxDBClient, ListDbClustersCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AmazonTimestreamInfluxDB", "TimestreamInfluxDBClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -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 { CreateDbCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDbClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonTimestreamInfluxDB", "CreateDbCluster", {})
13
- .n("TimestreamInfluxDBClient", "CreateDbClusterCommand")
14
- .sc(CreateDbCluster$)
15
- .build() {
3
+ export class CreateDbClusterCommand extends command(_ep0, _mw0, "CreateDbCluster", CreateDbCluster$) {
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 { CreateDbInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDbInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonTimestreamInfluxDB", "CreateDbInstance", {})
13
- .n("TimestreamInfluxDBClient", "CreateDbInstanceCommand")
14
- .sc(CreateDbInstance$)
15
- .build() {
3
+ export class CreateDbInstanceCommand extends command(_ep0, _mw0, "CreateDbInstance", CreateDbInstance$) {
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 { CreateDbParameterGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDbParameterGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonTimestreamInfluxDB", "CreateDbParameterGroup", {})
13
- .n("TimestreamInfluxDBClient", "CreateDbParameterGroupCommand")
14
- .sc(CreateDbParameterGroup$)
15
- .build() {
3
+ export class CreateDbParameterGroupCommand extends command(_ep0, _mw0, "CreateDbParameterGroup", CreateDbParameterGroup$) {
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 { DeleteDbCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteDbClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonTimestreamInfluxDB", "DeleteDbCluster", {})
13
- .n("TimestreamInfluxDBClient", "DeleteDbClusterCommand")
14
- .sc(DeleteDbCluster$)
15
- .build() {
3
+ export class DeleteDbClusterCommand extends command(_ep0, _mw0, "DeleteDbCluster", DeleteDbCluster$) {
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 { DeleteDbInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteDbInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonTimestreamInfluxDB", "DeleteDbInstance", {})
13
- .n("TimestreamInfluxDBClient", "DeleteDbInstanceCommand")
14
- .sc(DeleteDbInstance$)
15
- .build() {
3
+ export class DeleteDbInstanceCommand extends command(_ep0, _mw0, "DeleteDbInstance", DeleteDbInstance$) {
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 { GetDbCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDbClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonTimestreamInfluxDB", "GetDbCluster", {})
13
- .n("TimestreamInfluxDBClient", "GetDbClusterCommand")
14
- .sc(GetDbCluster$)
15
- .build() {
3
+ export class GetDbClusterCommand extends command(_ep0, _mw0, "GetDbCluster", GetDbCluster$) {
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 { GetDbInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDbInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonTimestreamInfluxDB", "GetDbInstance", {})
13
- .n("TimestreamInfluxDBClient", "GetDbInstanceCommand")
14
- .sc(GetDbInstance$)
15
- .build() {
3
+ export class GetDbInstanceCommand extends command(_ep0, _mw0, "GetDbInstance", GetDbInstance$) {
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 { GetDbParameterGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDbParameterGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonTimestreamInfluxDB", "GetDbParameterGroup", {})
13
- .n("TimestreamInfluxDBClient", "GetDbParameterGroupCommand")
14
- .sc(GetDbParameterGroup$)
15
- .build() {
3
+ export class GetDbParameterGroupCommand extends command(_ep0, _mw0, "GetDbParameterGroup", GetDbParameterGroup$) {
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 { ListDbClusters$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDbClustersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonTimestreamInfluxDB", "ListDbClusters", {})
13
- .n("TimestreamInfluxDBClient", "ListDbClustersCommand")
14
- .sc(ListDbClusters$)
15
- .build() {
3
+ export class ListDbClustersCommand extends command(_ep0, _mw0, "ListDbClusters", ListDbClusters$) {
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 { ListDbInstances$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDbInstancesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonTimestreamInfluxDB", "ListDbInstances", {})
13
- .n("TimestreamInfluxDBClient", "ListDbInstancesCommand")
14
- .sc(ListDbInstances$)
15
- .build() {
3
+ export class ListDbInstancesCommand extends command(_ep0, _mw0, "ListDbInstances", ListDbInstances$) {
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 { ListDbInstancesForCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDbInstancesForClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonTimestreamInfluxDB", "ListDbInstancesForCluster", {})
13
- .n("TimestreamInfluxDBClient", "ListDbInstancesForClusterCommand")
14
- .sc(ListDbInstancesForCluster$)
15
- .build() {
3
+ export class ListDbInstancesForClusterCommand extends command(_ep0, _mw0, "ListDbInstancesForCluster", ListDbInstancesForCluster$) {
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 { ListDbParameterGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDbParameterGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonTimestreamInfluxDB", "ListDbParameterGroups", {})
13
- .n("TimestreamInfluxDBClient", "ListDbParameterGroupsCommand")
14
- .sc(ListDbParameterGroups$)
15
- .build() {
3
+ export class ListDbParameterGroupsCommand extends command(_ep0, _mw0, "ListDbParameterGroups", ListDbParameterGroups$) {
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("AmazonTimestreamInfluxDB", "ListTagsForResource", {})
13
- .n("TimestreamInfluxDBClient", "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 { RebootDbCluster$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RebootDbClusterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonTimestreamInfluxDB", "RebootDbCluster", {})
13
- .n("TimestreamInfluxDBClient", "RebootDbClusterCommand")
14
- .sc(RebootDbCluster$)
15
- .build() {
3
+ export class RebootDbClusterCommand extends command(_ep0, _mw0, "RebootDbCluster", RebootDbCluster$) {
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 { RebootDbInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RebootDbInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonTimestreamInfluxDB", "RebootDbInstance", {})
13
- .n("TimestreamInfluxDBClient", "RebootDbInstanceCommand")
14
- .sc(RebootDbInstance$)
15
- .build() {
3
+ export class RebootDbInstanceCommand extends command(_ep0, _mw0, "RebootDbInstance", RebootDbInstance$) {
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("AmazonTimestreamInfluxDB", "TagResource", {})
13
- .n("TimestreamInfluxDBClient", "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("AmazonTimestreamInfluxDB", "UntagResource", {})
13
- .n("TimestreamInfluxDBClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }