@aws-sdk/client-application-insights 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/AddWorkloadCommand.js +2 -14
  4. package/dist-es/commands/CreateApplicationCommand.js +2 -14
  5. package/dist-es/commands/CreateComponentCommand.js +2 -14
  6. package/dist-es/commands/CreateLogPatternCommand.js +2 -14
  7. package/dist-es/commands/DeleteApplicationCommand.js +2 -14
  8. package/dist-es/commands/DeleteComponentCommand.js +2 -14
  9. package/dist-es/commands/DeleteLogPatternCommand.js +2 -14
  10. package/dist-es/commands/DescribeApplicationCommand.js +2 -14
  11. package/dist-es/commands/DescribeComponentCommand.js +2 -14
  12. package/dist-es/commands/DescribeComponentConfigurationCommand.js +2 -14
  13. package/dist-es/commands/DescribeComponentConfigurationRecommendationCommand.js +2 -14
  14. package/dist-es/commands/DescribeLogPatternCommand.js +2 -14
  15. package/dist-es/commands/DescribeObservationCommand.js +2 -14
  16. package/dist-es/commands/DescribeProblemCommand.js +2 -14
  17. package/dist-es/commands/DescribeProblemObservationsCommand.js +2 -14
  18. package/dist-es/commands/DescribeWorkloadCommand.js +2 -14
  19. package/dist-es/commands/ListApplicationsCommand.js +2 -14
  20. package/dist-es/commands/ListComponentsCommand.js +2 -14
  21. package/dist-es/commands/ListConfigurationHistoryCommand.js +2 -14
  22. package/dist-es/commands/ListLogPatternSetsCommand.js +2 -14
  23. package/dist-es/commands/ListLogPatternsCommand.js +2 -14
  24. package/dist-es/commands/ListProblemsCommand.js +2 -14
  25. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  26. package/dist-es/commands/ListWorkloadsCommand.js +2 -14
  27. package/dist-es/commands/RemoveWorkloadCommand.js +2 -14
  28. package/dist-es/commands/TagResourceCommand.js +2 -14
  29. package/dist-es/commands/UntagResourceCommand.js +2 -14
  30. package/dist-es/commands/UpdateApplicationCommand.js +2 -14
  31. package/dist-es/commands/UpdateComponentCommand.js +2 -14
  32. package/dist-es/commands/UpdateComponentConfigurationCommand.js +2 -14
  33. package/dist-es/commands/UpdateLogPatternCommand.js +2 -14
  34. package/dist-es/commands/UpdateProblemCommand.js +2 -14
  35. package/dist-es/commands/UpdateWorkloadCommand.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/AddWorkloadCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateApplicationCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateComponentCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateLogPatternCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteComponentCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteLogPatternCommand.d.ts +3 -8
  49. package/dist-types/commands/DescribeApplicationCommand.d.ts +3 -8
  50. package/dist-types/commands/DescribeComponentCommand.d.ts +3 -8
  51. package/dist-types/commands/DescribeComponentConfigurationCommand.d.ts +3 -8
  52. package/dist-types/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +3 -8
  53. package/dist-types/commands/DescribeLogPatternCommand.d.ts +3 -8
  54. package/dist-types/commands/DescribeObservationCommand.d.ts +3 -8
  55. package/dist-types/commands/DescribeProblemCommand.d.ts +3 -8
  56. package/dist-types/commands/DescribeProblemObservationsCommand.d.ts +3 -8
  57. package/dist-types/commands/DescribeWorkloadCommand.d.ts +3 -8
  58. package/dist-types/commands/ListApplicationsCommand.d.ts +3 -8
  59. package/dist-types/commands/ListComponentsCommand.d.ts +3 -8
  60. package/dist-types/commands/ListConfigurationHistoryCommand.d.ts +3 -8
  61. package/dist-types/commands/ListLogPatternSetsCommand.d.ts +3 -8
  62. package/dist-types/commands/ListLogPatternsCommand.d.ts +3 -8
  63. package/dist-types/commands/ListProblemsCommand.d.ts +3 -8
  64. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  65. package/dist-types/commands/ListWorkloadsCommand.d.ts +3 -8
  66. package/dist-types/commands/RemoveWorkloadCommand.d.ts +3 -8
  67. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  68. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  69. package/dist-types/commands/UpdateApplicationCommand.d.ts +3 -8
  70. package/dist-types/commands/UpdateComponentCommand.d.ts +3 -8
  71. package/dist-types/commands/UpdateComponentConfigurationCommand.d.ts +3 -8
  72. package/dist-types/commands/UpdateLogPatternCommand.d.ts +3 -8
  73. package/dist-types/commands/UpdateProblemCommand.d.ts +3 -8
  74. package/dist-types/commands/UpdateWorkloadCommand.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/AddWorkloadCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/CreateLogPatternCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DeleteLogPatternCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DescribeApplicationCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DescribeComponentCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DescribeComponentConfigurationCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DescribeLogPatternCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/DescribeObservationCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/DescribeProblemCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DescribeProblemObservationsCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DescribeWorkloadCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ListConfigurationHistoryCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/ListLogPatternSetsCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/ListLogPatternsCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListProblemsCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListWorkloadsCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/RemoveWorkloadCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/UpdateComponentConfigurationCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/UpdateLogPatternCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/UpdateProblemCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/UpdateWorkloadCommand.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
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_1Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultApplicationInsightsHttpAuthSchemeParametersProvider = 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
 
@@ -1078,6 +1080,7 @@ const getRuntimeConfig$1 = (config) => {
1078
1080
  serviceTarget: "EC2WindowsBarleyService",
1079
1081
  },
1080
1082
  serviceId: config?.serviceId ?? "Application Insights",
1083
+ sha256: config?.sha256 ?? Sha256,
1081
1084
  urlParser: config?.urlParser ?? parseUrl,
1082
1085
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1083
1086
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1111,7 +1114,6 @@ const getRuntimeConfig = (config) => {
1111
1114
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1112
1115
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1113
1116
  }, config),
1114
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1115
1117
  streamCollector: config?.streamCollector ?? streamCollector,
1116
1118
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1117
1119
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1199,400 +1201,107 @@ class ApplicationInsightsClient extends Client {
1199
1201
  }
1200
1202
  }
1201
1203
 
1202
- class AddWorkloadCommand extends Command
1203
- .classBuilder()
1204
- .ep(commonParams)
1205
- .m(function (Command, cs, config, o) {
1206
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1207
- })
1208
- .s("EC2WindowsBarleyService", "AddWorkload", {})
1209
- .n("ApplicationInsightsClient", "AddWorkloadCommand")
1210
- .sc(AddWorkload$)
1211
- .build() {
1204
+ const command = makeBuilder(commonParams, "EC2WindowsBarleyService", "ApplicationInsightsClient", getEndpointPlugin);
1205
+ const _ep0 = {};
1206
+ const _mw0 = (Command, cs, config, o) => [];
1207
+
1208
+ class AddWorkloadCommand extends command(_ep0, _mw0, "AddWorkload", AddWorkload$) {
1212
1209
  }
1213
1210
 
1214
- class CreateApplicationCommand extends Command
1215
- .classBuilder()
1216
- .ep(commonParams)
1217
- .m(function (Command, cs, config, o) {
1218
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1219
- })
1220
- .s("EC2WindowsBarleyService", "CreateApplication", {})
1221
- .n("ApplicationInsightsClient", "CreateApplicationCommand")
1222
- .sc(CreateApplication$)
1223
- .build() {
1211
+ class CreateApplicationCommand extends command(_ep0, _mw0, "CreateApplication", CreateApplication$) {
1224
1212
  }
1225
1213
 
1226
- class CreateComponentCommand extends Command
1227
- .classBuilder()
1228
- .ep(commonParams)
1229
- .m(function (Command, cs, config, o) {
1230
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1231
- })
1232
- .s("EC2WindowsBarleyService", "CreateComponent", {})
1233
- .n("ApplicationInsightsClient", "CreateComponentCommand")
1234
- .sc(CreateComponent$)
1235
- .build() {
1214
+ class CreateComponentCommand extends command(_ep0, _mw0, "CreateComponent", CreateComponent$) {
1236
1215
  }
1237
1216
 
1238
- class CreateLogPatternCommand extends Command
1239
- .classBuilder()
1240
- .ep(commonParams)
1241
- .m(function (Command, cs, config, o) {
1242
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1243
- })
1244
- .s("EC2WindowsBarleyService", "CreateLogPattern", {})
1245
- .n("ApplicationInsightsClient", "CreateLogPatternCommand")
1246
- .sc(CreateLogPattern$)
1247
- .build() {
1217
+ class CreateLogPatternCommand extends command(_ep0, _mw0, "CreateLogPattern", CreateLogPattern$) {
1248
1218
  }
1249
1219
 
1250
- class DeleteApplicationCommand extends Command
1251
- .classBuilder()
1252
- .ep(commonParams)
1253
- .m(function (Command, cs, config, o) {
1254
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1255
- })
1256
- .s("EC2WindowsBarleyService", "DeleteApplication", {})
1257
- .n("ApplicationInsightsClient", "DeleteApplicationCommand")
1258
- .sc(DeleteApplication$)
1259
- .build() {
1220
+ class DeleteApplicationCommand extends command(_ep0, _mw0, "DeleteApplication", DeleteApplication$) {
1260
1221
  }
1261
1222
 
1262
- class DeleteComponentCommand extends Command
1263
- .classBuilder()
1264
- .ep(commonParams)
1265
- .m(function (Command, cs, config, o) {
1266
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1267
- })
1268
- .s("EC2WindowsBarleyService", "DeleteComponent", {})
1269
- .n("ApplicationInsightsClient", "DeleteComponentCommand")
1270
- .sc(DeleteComponent$)
1271
- .build() {
1223
+ class DeleteComponentCommand extends command(_ep0, _mw0, "DeleteComponent", DeleteComponent$) {
1272
1224
  }
1273
1225
 
1274
- class DeleteLogPatternCommand extends Command
1275
- .classBuilder()
1276
- .ep(commonParams)
1277
- .m(function (Command, cs, config, o) {
1278
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1279
- })
1280
- .s("EC2WindowsBarleyService", "DeleteLogPattern", {})
1281
- .n("ApplicationInsightsClient", "DeleteLogPatternCommand")
1282
- .sc(DeleteLogPattern$)
1283
- .build() {
1226
+ class DeleteLogPatternCommand extends command(_ep0, _mw0, "DeleteLogPattern", DeleteLogPattern$) {
1284
1227
  }
1285
1228
 
1286
- class DescribeApplicationCommand extends Command
1287
- .classBuilder()
1288
- .ep(commonParams)
1289
- .m(function (Command, cs, config, o) {
1290
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1291
- })
1292
- .s("EC2WindowsBarleyService", "DescribeApplication", {})
1293
- .n("ApplicationInsightsClient", "DescribeApplicationCommand")
1294
- .sc(DescribeApplication$)
1295
- .build() {
1229
+ class DescribeApplicationCommand extends command(_ep0, _mw0, "DescribeApplication", DescribeApplication$) {
1296
1230
  }
1297
1231
 
1298
- class DescribeComponentCommand extends Command
1299
- .classBuilder()
1300
- .ep(commonParams)
1301
- .m(function (Command, cs, config, o) {
1302
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1303
- })
1304
- .s("EC2WindowsBarleyService", "DescribeComponent", {})
1305
- .n("ApplicationInsightsClient", "DescribeComponentCommand")
1306
- .sc(DescribeComponent$)
1307
- .build() {
1232
+ class DescribeComponentCommand extends command(_ep0, _mw0, "DescribeComponent", DescribeComponent$) {
1308
1233
  }
1309
1234
 
1310
- class DescribeComponentConfigurationCommand extends Command
1311
- .classBuilder()
1312
- .ep(commonParams)
1313
- .m(function (Command, cs, config, o) {
1314
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1315
- })
1316
- .s("EC2WindowsBarleyService", "DescribeComponentConfiguration", {})
1317
- .n("ApplicationInsightsClient", "DescribeComponentConfigurationCommand")
1318
- .sc(DescribeComponentConfiguration$)
1319
- .build() {
1235
+ class DescribeComponentConfigurationCommand extends command(_ep0, _mw0, "DescribeComponentConfiguration", DescribeComponentConfiguration$) {
1320
1236
  }
1321
1237
 
1322
- class DescribeComponentConfigurationRecommendationCommand extends Command
1323
- .classBuilder()
1324
- .ep(commonParams)
1325
- .m(function (Command, cs, config, o) {
1326
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1327
- })
1328
- .s("EC2WindowsBarleyService", "DescribeComponentConfigurationRecommendation", {})
1329
- .n("ApplicationInsightsClient", "DescribeComponentConfigurationRecommendationCommand")
1330
- .sc(DescribeComponentConfigurationRecommendation$)
1331
- .build() {
1238
+ class DescribeComponentConfigurationRecommendationCommand extends command(_ep0, _mw0, "DescribeComponentConfigurationRecommendation", DescribeComponentConfigurationRecommendation$) {
1332
1239
  }
1333
1240
 
1334
- class DescribeLogPatternCommand extends Command
1335
- .classBuilder()
1336
- .ep(commonParams)
1337
- .m(function (Command, cs, config, o) {
1338
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1339
- })
1340
- .s("EC2WindowsBarleyService", "DescribeLogPattern", {})
1341
- .n("ApplicationInsightsClient", "DescribeLogPatternCommand")
1342
- .sc(DescribeLogPattern$)
1343
- .build() {
1241
+ class DescribeLogPatternCommand extends command(_ep0, _mw0, "DescribeLogPattern", DescribeLogPattern$) {
1344
1242
  }
1345
1243
 
1346
- class DescribeObservationCommand extends Command
1347
- .classBuilder()
1348
- .ep(commonParams)
1349
- .m(function (Command, cs, config, o) {
1350
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1351
- })
1352
- .s("EC2WindowsBarleyService", "DescribeObservation", {})
1353
- .n("ApplicationInsightsClient", "DescribeObservationCommand")
1354
- .sc(DescribeObservation$)
1355
- .build() {
1244
+ class DescribeObservationCommand extends command(_ep0, _mw0, "DescribeObservation", DescribeObservation$) {
1356
1245
  }
1357
1246
 
1358
- class DescribeProblemCommand extends Command
1359
- .classBuilder()
1360
- .ep(commonParams)
1361
- .m(function (Command, cs, config, o) {
1362
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1363
- })
1364
- .s("EC2WindowsBarleyService", "DescribeProblem", {})
1365
- .n("ApplicationInsightsClient", "DescribeProblemCommand")
1366
- .sc(DescribeProblem$)
1367
- .build() {
1247
+ class DescribeProblemCommand extends command(_ep0, _mw0, "DescribeProblem", DescribeProblem$) {
1368
1248
  }
1369
1249
 
1370
- class DescribeProblemObservationsCommand extends Command
1371
- .classBuilder()
1372
- .ep(commonParams)
1373
- .m(function (Command, cs, config, o) {
1374
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1375
- })
1376
- .s("EC2WindowsBarleyService", "DescribeProblemObservations", {})
1377
- .n("ApplicationInsightsClient", "DescribeProblemObservationsCommand")
1378
- .sc(DescribeProblemObservations$)
1379
- .build() {
1250
+ class DescribeProblemObservationsCommand extends command(_ep0, _mw0, "DescribeProblemObservations", DescribeProblemObservations$) {
1380
1251
  }
1381
1252
 
1382
- class DescribeWorkloadCommand extends Command
1383
- .classBuilder()
1384
- .ep(commonParams)
1385
- .m(function (Command, cs, config, o) {
1386
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1387
- })
1388
- .s("EC2WindowsBarleyService", "DescribeWorkload", {})
1389
- .n("ApplicationInsightsClient", "DescribeWorkloadCommand")
1390
- .sc(DescribeWorkload$)
1391
- .build() {
1253
+ class DescribeWorkloadCommand extends command(_ep0, _mw0, "DescribeWorkload", DescribeWorkload$) {
1392
1254
  }
1393
1255
 
1394
- class ListApplicationsCommand extends Command
1395
- .classBuilder()
1396
- .ep(commonParams)
1397
- .m(function (Command, cs, config, o) {
1398
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1399
- })
1400
- .s("EC2WindowsBarleyService", "ListApplications", {})
1401
- .n("ApplicationInsightsClient", "ListApplicationsCommand")
1402
- .sc(ListApplications$)
1403
- .build() {
1256
+ class ListApplicationsCommand extends command(_ep0, _mw0, "ListApplications", ListApplications$) {
1404
1257
  }
1405
1258
 
1406
- class ListComponentsCommand extends Command
1407
- .classBuilder()
1408
- .ep(commonParams)
1409
- .m(function (Command, cs, config, o) {
1410
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1411
- })
1412
- .s("EC2WindowsBarleyService", "ListComponents", {})
1413
- .n("ApplicationInsightsClient", "ListComponentsCommand")
1414
- .sc(ListComponents$)
1415
- .build() {
1259
+ class ListComponentsCommand extends command(_ep0, _mw0, "ListComponents", ListComponents$) {
1416
1260
  }
1417
1261
 
1418
- class ListConfigurationHistoryCommand extends Command
1419
- .classBuilder()
1420
- .ep(commonParams)
1421
- .m(function (Command, cs, config, o) {
1422
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1423
- })
1424
- .s("EC2WindowsBarleyService", "ListConfigurationHistory", {})
1425
- .n("ApplicationInsightsClient", "ListConfigurationHistoryCommand")
1426
- .sc(ListConfigurationHistory$)
1427
- .build() {
1262
+ class ListConfigurationHistoryCommand extends command(_ep0, _mw0, "ListConfigurationHistory", ListConfigurationHistory$) {
1428
1263
  }
1429
1264
 
1430
- class ListLogPatternsCommand extends Command
1431
- .classBuilder()
1432
- .ep(commonParams)
1433
- .m(function (Command, cs, config, o) {
1434
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1435
- })
1436
- .s("EC2WindowsBarleyService", "ListLogPatterns", {})
1437
- .n("ApplicationInsightsClient", "ListLogPatternsCommand")
1438
- .sc(ListLogPatterns$)
1439
- .build() {
1265
+ class ListLogPatternsCommand extends command(_ep0, _mw0, "ListLogPatterns", ListLogPatterns$) {
1440
1266
  }
1441
1267
 
1442
- class ListLogPatternSetsCommand extends Command
1443
- .classBuilder()
1444
- .ep(commonParams)
1445
- .m(function (Command, cs, config, o) {
1446
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1447
- })
1448
- .s("EC2WindowsBarleyService", "ListLogPatternSets", {})
1449
- .n("ApplicationInsightsClient", "ListLogPatternSetsCommand")
1450
- .sc(ListLogPatternSets$)
1451
- .build() {
1268
+ class ListLogPatternSetsCommand extends command(_ep0, _mw0, "ListLogPatternSets", ListLogPatternSets$) {
1452
1269
  }
1453
1270
 
1454
- class ListProblemsCommand extends Command
1455
- .classBuilder()
1456
- .ep(commonParams)
1457
- .m(function (Command, cs, config, o) {
1458
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1459
- })
1460
- .s("EC2WindowsBarleyService", "ListProblems", {})
1461
- .n("ApplicationInsightsClient", "ListProblemsCommand")
1462
- .sc(ListProblems$)
1463
- .build() {
1271
+ class ListProblemsCommand extends command(_ep0, _mw0, "ListProblems", ListProblems$) {
1464
1272
  }
1465
1273
 
1466
- class ListTagsForResourceCommand extends Command
1467
- .classBuilder()
1468
- .ep(commonParams)
1469
- .m(function (Command, cs, config, o) {
1470
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1471
- })
1472
- .s("EC2WindowsBarleyService", "ListTagsForResource", {})
1473
- .n("ApplicationInsightsClient", "ListTagsForResourceCommand")
1474
- .sc(ListTagsForResource$)
1475
- .build() {
1274
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1476
1275
  }
1477
1276
 
1478
- class ListWorkloadsCommand extends Command
1479
- .classBuilder()
1480
- .ep(commonParams)
1481
- .m(function (Command, cs, config, o) {
1482
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1483
- })
1484
- .s("EC2WindowsBarleyService", "ListWorkloads", {})
1485
- .n("ApplicationInsightsClient", "ListWorkloadsCommand")
1486
- .sc(ListWorkloads$)
1487
- .build() {
1277
+ class ListWorkloadsCommand extends command(_ep0, _mw0, "ListWorkloads", ListWorkloads$) {
1488
1278
  }
1489
1279
 
1490
- class RemoveWorkloadCommand extends Command
1491
- .classBuilder()
1492
- .ep(commonParams)
1493
- .m(function (Command, cs, config, o) {
1494
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1495
- })
1496
- .s("EC2WindowsBarleyService", "RemoveWorkload", {})
1497
- .n("ApplicationInsightsClient", "RemoveWorkloadCommand")
1498
- .sc(RemoveWorkload$)
1499
- .build() {
1280
+ class RemoveWorkloadCommand extends command(_ep0, _mw0, "RemoveWorkload", RemoveWorkload$) {
1500
1281
  }
1501
1282
 
1502
- class TagResourceCommand extends Command
1503
- .classBuilder()
1504
- .ep(commonParams)
1505
- .m(function (Command, cs, config, o) {
1506
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1507
- })
1508
- .s("EC2WindowsBarleyService", "TagResource", {})
1509
- .n("ApplicationInsightsClient", "TagResourceCommand")
1510
- .sc(TagResource$)
1511
- .build() {
1283
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1512
1284
  }
1513
1285
 
1514
- class UntagResourceCommand extends Command
1515
- .classBuilder()
1516
- .ep(commonParams)
1517
- .m(function (Command, cs, config, o) {
1518
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1519
- })
1520
- .s("EC2WindowsBarleyService", "UntagResource", {})
1521
- .n("ApplicationInsightsClient", "UntagResourceCommand")
1522
- .sc(UntagResource$)
1523
- .build() {
1286
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1524
1287
  }
1525
1288
 
1526
- class UpdateApplicationCommand extends Command
1527
- .classBuilder()
1528
- .ep(commonParams)
1529
- .m(function (Command, cs, config, o) {
1530
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1531
- })
1532
- .s("EC2WindowsBarleyService", "UpdateApplication", {})
1533
- .n("ApplicationInsightsClient", "UpdateApplicationCommand")
1534
- .sc(UpdateApplication$)
1535
- .build() {
1289
+ class UpdateApplicationCommand extends command(_ep0, _mw0, "UpdateApplication", UpdateApplication$) {
1536
1290
  }
1537
1291
 
1538
- class UpdateComponentCommand extends Command
1539
- .classBuilder()
1540
- .ep(commonParams)
1541
- .m(function (Command, cs, config, o) {
1542
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1543
- })
1544
- .s("EC2WindowsBarleyService", "UpdateComponent", {})
1545
- .n("ApplicationInsightsClient", "UpdateComponentCommand")
1546
- .sc(UpdateComponent$)
1547
- .build() {
1292
+ class UpdateComponentCommand extends command(_ep0, _mw0, "UpdateComponent", UpdateComponent$) {
1548
1293
  }
1549
1294
 
1550
- class UpdateComponentConfigurationCommand extends Command
1551
- .classBuilder()
1552
- .ep(commonParams)
1553
- .m(function (Command, cs, config, o) {
1554
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1555
- })
1556
- .s("EC2WindowsBarleyService", "UpdateComponentConfiguration", {})
1557
- .n("ApplicationInsightsClient", "UpdateComponentConfigurationCommand")
1558
- .sc(UpdateComponentConfiguration$)
1559
- .build() {
1295
+ class UpdateComponentConfigurationCommand extends command(_ep0, _mw0, "UpdateComponentConfiguration", UpdateComponentConfiguration$) {
1560
1296
  }
1561
1297
 
1562
- class UpdateLogPatternCommand extends Command
1563
- .classBuilder()
1564
- .ep(commonParams)
1565
- .m(function (Command, cs, config, o) {
1566
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1567
- })
1568
- .s("EC2WindowsBarleyService", "UpdateLogPattern", {})
1569
- .n("ApplicationInsightsClient", "UpdateLogPatternCommand")
1570
- .sc(UpdateLogPattern$)
1571
- .build() {
1298
+ class UpdateLogPatternCommand extends command(_ep0, _mw0, "UpdateLogPattern", UpdateLogPattern$) {
1572
1299
  }
1573
1300
 
1574
- class UpdateProblemCommand extends Command
1575
- .classBuilder()
1576
- .ep(commonParams)
1577
- .m(function (Command, cs, config, o) {
1578
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1579
- })
1580
- .s("EC2WindowsBarleyService", "UpdateProblem", {})
1581
- .n("ApplicationInsightsClient", "UpdateProblemCommand")
1582
- .sc(UpdateProblem$)
1583
- .build() {
1301
+ class UpdateProblemCommand extends command(_ep0, _mw0, "UpdateProblem", UpdateProblem$) {
1584
1302
  }
1585
1303
 
1586
- class UpdateWorkloadCommand extends Command
1587
- .classBuilder()
1588
- .ep(commonParams)
1589
- .m(function (Command, cs, config, o) {
1590
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1591
- })
1592
- .s("EC2WindowsBarleyService", "UpdateWorkload", {})
1593
- .n("ApplicationInsightsClient", "UpdateWorkloadCommand")
1594
- .sc(UpdateWorkload$)
1595
- .build() {
1304
+ class UpdateWorkloadCommand extends command(_ep0, _mw0, "UpdateWorkload", UpdateWorkload$) {
1596
1305
  }
1597
1306
 
1598
1307
  const paginateListApplications = createPaginator(ApplicationInsightsClient, ListApplicationsCommand, "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, "EC2WindowsBarleyService", "ApplicationInsightsClient", 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 { AddWorkload$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AddWorkloadCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "AddWorkload", {})
13
- .n("ApplicationInsightsClient", "AddWorkloadCommand")
14
- .sc(AddWorkload$)
15
- .build() {
3
+ export class AddWorkloadCommand extends command(_ep0, _mw0, "AddWorkload", AddWorkload$) {
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 { CreateApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "CreateApplication", {})
13
- .n("ApplicationInsightsClient", "CreateApplicationCommand")
14
- .sc(CreateApplication$)
15
- .build() {
3
+ export class CreateApplicationCommand extends command(_ep0, _mw0, "CreateApplication", CreateApplication$) {
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 { CreateComponent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateComponentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "CreateComponent", {})
13
- .n("ApplicationInsightsClient", "CreateComponentCommand")
14
- .sc(CreateComponent$)
15
- .build() {
3
+ export class CreateComponentCommand extends command(_ep0, _mw0, "CreateComponent", CreateComponent$) {
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 { CreateLogPattern$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateLogPatternCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "CreateLogPattern", {})
13
- .n("ApplicationInsightsClient", "CreateLogPatternCommand")
14
- .sc(CreateLogPattern$)
15
- .build() {
3
+ export class CreateLogPatternCommand extends command(_ep0, _mw0, "CreateLogPattern", CreateLogPattern$) {
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("EC2WindowsBarleyService", "DeleteApplication", {})
13
- .n("ApplicationInsightsClient", "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 { DeleteComponent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteComponentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "DeleteComponent", {})
13
- .n("ApplicationInsightsClient", "DeleteComponentCommand")
14
- .sc(DeleteComponent$)
15
- .build() {
3
+ export class DeleteComponentCommand extends command(_ep0, _mw0, "DeleteComponent", DeleteComponent$) {
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 { DeleteLogPattern$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteLogPatternCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "DeleteLogPattern", {})
13
- .n("ApplicationInsightsClient", "DeleteLogPatternCommand")
14
- .sc(DeleteLogPattern$)
15
- .build() {
3
+ export class DeleteLogPatternCommand extends command(_ep0, _mw0, "DeleteLogPattern", DeleteLogPattern$) {
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("EC2WindowsBarleyService", "DescribeApplication", {})
13
- .n("ApplicationInsightsClient", "DescribeApplicationCommand")
14
- .sc(DescribeApplication$)
15
- .build() {
3
+ export class DescribeApplicationCommand extends command(_ep0, _mw0, "DescribeApplication", DescribeApplication$) {
16
4
  }