@aws-sdk/client-ssm-sap 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 (101) hide show
  1. package/dist-cjs/index.js +38 -275
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/DeleteResourcePermissionCommand.js +2 -14
  4. package/dist-es/commands/DeregisterApplicationCommand.js +2 -14
  5. package/dist-es/commands/GetApplicationCommand.js +2 -14
  6. package/dist-es/commands/GetComponentCommand.js +2 -14
  7. package/dist-es/commands/GetConfigurationCheckOperationCommand.js +2 -14
  8. package/dist-es/commands/GetDatabaseCommand.js +2 -14
  9. package/dist-es/commands/GetOperationCommand.js +2 -14
  10. package/dist-es/commands/GetResourcePermissionCommand.js +2 -14
  11. package/dist-es/commands/ListApplicationsCommand.js +2 -14
  12. package/dist-es/commands/ListComponentsCommand.js +2 -14
  13. package/dist-es/commands/ListConfigurationCheckDefinitionsCommand.js +2 -14
  14. package/dist-es/commands/ListConfigurationCheckOperationsCommand.js +2 -14
  15. package/dist-es/commands/ListDatabasesCommand.js +2 -14
  16. package/dist-es/commands/ListOperationEventsCommand.js +2 -14
  17. package/dist-es/commands/ListOperationsCommand.js +2 -14
  18. package/dist-es/commands/ListSubCheckResultsCommand.js +2 -14
  19. package/dist-es/commands/ListSubCheckRuleResultsCommand.js +2 -14
  20. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  21. package/dist-es/commands/PutResourcePermissionCommand.js +2 -14
  22. package/dist-es/commands/RegisterApplicationCommand.js +2 -14
  23. package/dist-es/commands/StartApplicationCommand.js +2 -14
  24. package/dist-es/commands/StartApplicationRefreshCommand.js +2 -14
  25. package/dist-es/commands/StartConfigurationChecksCommand.js +2 -14
  26. package/dist-es/commands/StopApplicationCommand.js +2 -14
  27. package/dist-es/commands/TagResourceCommand.js +2 -14
  28. package/dist-es/commands/UntagResourceCommand.js +2 -14
  29. package/dist-es/commands/UpdateApplicationSettingsCommand.js +2 -14
  30. package/dist-es/index.js +1 -0
  31. package/dist-es/runtimeConfig.browser.js +0 -2
  32. package/dist-es/runtimeConfig.js +1 -2
  33. package/dist-es/runtimeConfig.native.js +0 -2
  34. package/dist-es/runtimeConfig.shared.js +2 -0
  35. package/dist-types/commandBuilder.d.ts +18 -0
  36. package/dist-types/commands/DeleteResourcePermissionCommand.d.ts +3 -8
  37. package/dist-types/commands/DeregisterApplicationCommand.d.ts +3 -8
  38. package/dist-types/commands/GetApplicationCommand.d.ts +3 -8
  39. package/dist-types/commands/GetComponentCommand.d.ts +3 -8
  40. package/dist-types/commands/GetConfigurationCheckOperationCommand.d.ts +3 -8
  41. package/dist-types/commands/GetDatabaseCommand.d.ts +3 -8
  42. package/dist-types/commands/GetOperationCommand.d.ts +3 -8
  43. package/dist-types/commands/GetResourcePermissionCommand.d.ts +3 -8
  44. package/dist-types/commands/ListApplicationsCommand.d.ts +3 -8
  45. package/dist-types/commands/ListComponentsCommand.d.ts +3 -8
  46. package/dist-types/commands/ListConfigurationCheckDefinitionsCommand.d.ts +3 -8
  47. package/dist-types/commands/ListConfigurationCheckOperationsCommand.d.ts +3 -8
  48. package/dist-types/commands/ListDatabasesCommand.d.ts +3 -8
  49. package/dist-types/commands/ListOperationEventsCommand.d.ts +3 -8
  50. package/dist-types/commands/ListOperationsCommand.d.ts +3 -8
  51. package/dist-types/commands/ListSubCheckResultsCommand.d.ts +3 -8
  52. package/dist-types/commands/ListSubCheckRuleResultsCommand.d.ts +3 -8
  53. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  54. package/dist-types/commands/PutResourcePermissionCommand.d.ts +3 -8
  55. package/dist-types/commands/RegisterApplicationCommand.d.ts +3 -8
  56. package/dist-types/commands/StartApplicationCommand.d.ts +3 -8
  57. package/dist-types/commands/StartApplicationRefreshCommand.d.ts +3 -8
  58. package/dist-types/commands/StartConfigurationChecksCommand.d.ts +3 -8
  59. package/dist-types/commands/StopApplicationCommand.d.ts +3 -8
  60. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  61. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  62. package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +3 -8
  63. package/dist-types/index.d.ts +1 -0
  64. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  65. package/dist-types/runtimeConfig.d.ts +1 -1
  66. package/dist-types/runtimeConfig.native.d.ts +1 -1
  67. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  68. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  69. package/dist-types/ts3.4/commands/DeleteResourcePermissionCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/DeregisterApplicationCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/GetConfigurationCheckOperationCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/GetOperationCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/GetResourcePermissionCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/ListConfigurationCheckDefinitionsCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/ListConfigurationCheckOperationsCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/ListOperationEventsCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ListOperationsCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/ListSubCheckResultsCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListSubCheckRuleResultsCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/PutResourcePermissionCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/RegisterApplicationCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/StartApplicationRefreshCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/StartConfigurationChecksCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/index.d.ts +1 -0
  97. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  98. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  99. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  100. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  101. 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 { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultSsmSapHttpAuthSchemeParametersProvider = 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
 
@@ -1028,6 +1030,7 @@ const getRuntimeConfig$1 = (config) => {
1028
1030
  serviceTarget: "SsmSap",
1029
1031
  },
1030
1032
  serviceId: config?.serviceId ?? "Ssm Sap",
1033
+ sha256: config?.sha256 ?? Sha256,
1031
1034
  urlParser: config?.urlParser ?? parseUrl,
1032
1035
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1033
1036
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1061,7 +1064,6 @@ const getRuntimeConfig = (config) => {
1061
1064
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1062
1065
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1063
1066
  }, config),
1064
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1065
1067
  streamCollector: config?.streamCollector ?? streamCollector,
1066
1068
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1067
1069
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1149,328 +1151,89 @@ class SsmSapClient extends Client {
1149
1151
  }
1150
1152
  }
1151
1153
 
1152
- class DeleteResourcePermissionCommand extends Command
1153
- .classBuilder()
1154
- .ep(commonParams)
1155
- .m(function (Command, cs, config, o) {
1156
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1157
- })
1158
- .s("SsmSap", "DeleteResourcePermission", {})
1159
- .n("SsmSapClient", "DeleteResourcePermissionCommand")
1160
- .sc(DeleteResourcePermission$)
1161
- .build() {
1154
+ const command = makeBuilder(commonParams, "SsmSap", "SsmSapClient", getEndpointPlugin);
1155
+ const _ep0 = {};
1156
+ const _mw0 = (Command, cs, config, o) => [];
1157
+
1158
+ class DeleteResourcePermissionCommand extends command(_ep0, _mw0, "DeleteResourcePermission", DeleteResourcePermission$) {
1162
1159
  }
1163
1160
 
1164
- class DeregisterApplicationCommand extends Command
1165
- .classBuilder()
1166
- .ep(commonParams)
1167
- .m(function (Command, cs, config, o) {
1168
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1169
- })
1170
- .s("SsmSap", "DeregisterApplication", {})
1171
- .n("SsmSapClient", "DeregisterApplicationCommand")
1172
- .sc(DeregisterApplication$)
1173
- .build() {
1161
+ class DeregisterApplicationCommand extends command(_ep0, _mw0, "DeregisterApplication", DeregisterApplication$) {
1174
1162
  }
1175
1163
 
1176
- class GetApplicationCommand extends Command
1177
- .classBuilder()
1178
- .ep(commonParams)
1179
- .m(function (Command, cs, config, o) {
1180
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1181
- })
1182
- .s("SsmSap", "GetApplication", {})
1183
- .n("SsmSapClient", "GetApplicationCommand")
1184
- .sc(GetApplication$)
1185
- .build() {
1164
+ class GetApplicationCommand extends command(_ep0, _mw0, "GetApplication", GetApplication$) {
1186
1165
  }
1187
1166
 
1188
- class GetComponentCommand extends Command
1189
- .classBuilder()
1190
- .ep(commonParams)
1191
- .m(function (Command, cs, config, o) {
1192
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1193
- })
1194
- .s("SsmSap", "GetComponent", {})
1195
- .n("SsmSapClient", "GetComponentCommand")
1196
- .sc(GetComponent$)
1197
- .build() {
1167
+ class GetComponentCommand extends command(_ep0, _mw0, "GetComponent", GetComponent$) {
1198
1168
  }
1199
1169
 
1200
- class GetConfigurationCheckOperationCommand extends Command
1201
- .classBuilder()
1202
- .ep(commonParams)
1203
- .m(function (Command, cs, config, o) {
1204
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1205
- })
1206
- .s("SsmSap", "GetConfigurationCheckOperation", {})
1207
- .n("SsmSapClient", "GetConfigurationCheckOperationCommand")
1208
- .sc(GetConfigurationCheckOperation$)
1209
- .build() {
1170
+ class GetConfigurationCheckOperationCommand extends command(_ep0, _mw0, "GetConfigurationCheckOperation", GetConfigurationCheckOperation$) {
1210
1171
  }
1211
1172
 
1212
- class GetDatabaseCommand extends Command
1213
- .classBuilder()
1214
- .ep(commonParams)
1215
- .m(function (Command, cs, config, o) {
1216
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1217
- })
1218
- .s("SsmSap", "GetDatabase", {})
1219
- .n("SsmSapClient", "GetDatabaseCommand")
1220
- .sc(GetDatabase$)
1221
- .build() {
1173
+ class GetDatabaseCommand extends command(_ep0, _mw0, "GetDatabase", GetDatabase$) {
1222
1174
  }
1223
1175
 
1224
- class GetOperationCommand extends Command
1225
- .classBuilder()
1226
- .ep(commonParams)
1227
- .m(function (Command, cs, config, o) {
1228
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1229
- })
1230
- .s("SsmSap", "GetOperation", {})
1231
- .n("SsmSapClient", "GetOperationCommand")
1232
- .sc(GetOperation$)
1233
- .build() {
1176
+ class GetOperationCommand extends command(_ep0, _mw0, "GetOperation", GetOperation$) {
1234
1177
  }
1235
1178
 
1236
- class GetResourcePermissionCommand extends Command
1237
- .classBuilder()
1238
- .ep(commonParams)
1239
- .m(function (Command, cs, config, o) {
1240
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1241
- })
1242
- .s("SsmSap", "GetResourcePermission", {})
1243
- .n("SsmSapClient", "GetResourcePermissionCommand")
1244
- .sc(GetResourcePermission$)
1245
- .build() {
1179
+ class GetResourcePermissionCommand extends command(_ep0, _mw0, "GetResourcePermission", GetResourcePermission$) {
1246
1180
  }
1247
1181
 
1248
- class ListApplicationsCommand extends Command
1249
- .classBuilder()
1250
- .ep(commonParams)
1251
- .m(function (Command, cs, config, o) {
1252
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1253
- })
1254
- .s("SsmSap", "ListApplications", {})
1255
- .n("SsmSapClient", "ListApplicationsCommand")
1256
- .sc(ListApplications$)
1257
- .build() {
1182
+ class ListApplicationsCommand extends command(_ep0, _mw0, "ListApplications", ListApplications$) {
1258
1183
  }
1259
1184
 
1260
- class ListComponentsCommand extends Command
1261
- .classBuilder()
1262
- .ep(commonParams)
1263
- .m(function (Command, cs, config, o) {
1264
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1265
- })
1266
- .s("SsmSap", "ListComponents", {})
1267
- .n("SsmSapClient", "ListComponentsCommand")
1268
- .sc(ListComponents$)
1269
- .build() {
1185
+ class ListComponentsCommand extends command(_ep0, _mw0, "ListComponents", ListComponents$) {
1270
1186
  }
1271
1187
 
1272
- class ListConfigurationCheckDefinitionsCommand extends Command
1273
- .classBuilder()
1274
- .ep(commonParams)
1275
- .m(function (Command, cs, config, o) {
1276
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1277
- })
1278
- .s("SsmSap", "ListConfigurationCheckDefinitions", {})
1279
- .n("SsmSapClient", "ListConfigurationCheckDefinitionsCommand")
1280
- .sc(ListConfigurationCheckDefinitions$)
1281
- .build() {
1188
+ class ListConfigurationCheckDefinitionsCommand extends command(_ep0, _mw0, "ListConfigurationCheckDefinitions", ListConfigurationCheckDefinitions$) {
1282
1189
  }
1283
1190
 
1284
- class ListConfigurationCheckOperationsCommand extends Command
1285
- .classBuilder()
1286
- .ep(commonParams)
1287
- .m(function (Command, cs, config, o) {
1288
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1289
- })
1290
- .s("SsmSap", "ListConfigurationCheckOperations", {})
1291
- .n("SsmSapClient", "ListConfigurationCheckOperationsCommand")
1292
- .sc(ListConfigurationCheckOperations$)
1293
- .build() {
1191
+ class ListConfigurationCheckOperationsCommand extends command(_ep0, _mw0, "ListConfigurationCheckOperations", ListConfigurationCheckOperations$) {
1294
1192
  }
1295
1193
 
1296
- class ListDatabasesCommand extends Command
1297
- .classBuilder()
1298
- .ep(commonParams)
1299
- .m(function (Command, cs, config, o) {
1300
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1301
- })
1302
- .s("SsmSap", "ListDatabases", {})
1303
- .n("SsmSapClient", "ListDatabasesCommand")
1304
- .sc(ListDatabases$)
1305
- .build() {
1194
+ class ListDatabasesCommand extends command(_ep0, _mw0, "ListDatabases", ListDatabases$) {
1306
1195
  }
1307
1196
 
1308
- class ListOperationEventsCommand extends Command
1309
- .classBuilder()
1310
- .ep(commonParams)
1311
- .m(function (Command, cs, config, o) {
1312
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1313
- })
1314
- .s("SsmSap", "ListOperationEvents", {})
1315
- .n("SsmSapClient", "ListOperationEventsCommand")
1316
- .sc(ListOperationEvents$)
1317
- .build() {
1197
+ class ListOperationEventsCommand extends command(_ep0, _mw0, "ListOperationEvents", ListOperationEvents$) {
1318
1198
  }
1319
1199
 
1320
- class ListOperationsCommand extends Command
1321
- .classBuilder()
1322
- .ep(commonParams)
1323
- .m(function (Command, cs, config, o) {
1324
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1325
- })
1326
- .s("SsmSap", "ListOperations", {})
1327
- .n("SsmSapClient", "ListOperationsCommand")
1328
- .sc(ListOperations$)
1329
- .build() {
1200
+ class ListOperationsCommand extends command(_ep0, _mw0, "ListOperations", ListOperations$) {
1330
1201
  }
1331
1202
 
1332
- class ListSubCheckResultsCommand extends Command
1333
- .classBuilder()
1334
- .ep(commonParams)
1335
- .m(function (Command, cs, config, o) {
1336
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1337
- })
1338
- .s("SsmSap", "ListSubCheckResults", {})
1339
- .n("SsmSapClient", "ListSubCheckResultsCommand")
1340
- .sc(ListSubCheckResults$)
1341
- .build() {
1203
+ class ListSubCheckResultsCommand extends command(_ep0, _mw0, "ListSubCheckResults", ListSubCheckResults$) {
1342
1204
  }
1343
1205
 
1344
- class ListSubCheckRuleResultsCommand extends Command
1345
- .classBuilder()
1346
- .ep(commonParams)
1347
- .m(function (Command, cs, config, o) {
1348
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1349
- })
1350
- .s("SsmSap", "ListSubCheckRuleResults", {})
1351
- .n("SsmSapClient", "ListSubCheckRuleResultsCommand")
1352
- .sc(ListSubCheckRuleResults$)
1353
- .build() {
1206
+ class ListSubCheckRuleResultsCommand extends command(_ep0, _mw0, "ListSubCheckRuleResults", ListSubCheckRuleResults$) {
1354
1207
  }
1355
1208
 
1356
- class ListTagsForResourceCommand extends Command
1357
- .classBuilder()
1358
- .ep(commonParams)
1359
- .m(function (Command, cs, config, o) {
1360
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1361
- })
1362
- .s("SsmSap", "ListTagsForResource", {})
1363
- .n("SsmSapClient", "ListTagsForResourceCommand")
1364
- .sc(ListTagsForResource$)
1365
- .build() {
1209
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1366
1210
  }
1367
1211
 
1368
- class PutResourcePermissionCommand extends Command
1369
- .classBuilder()
1370
- .ep(commonParams)
1371
- .m(function (Command, cs, config, o) {
1372
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1373
- })
1374
- .s("SsmSap", "PutResourcePermission", {})
1375
- .n("SsmSapClient", "PutResourcePermissionCommand")
1376
- .sc(PutResourcePermission$)
1377
- .build() {
1212
+ class PutResourcePermissionCommand extends command(_ep0, _mw0, "PutResourcePermission", PutResourcePermission$) {
1378
1213
  }
1379
1214
 
1380
- class RegisterApplicationCommand extends Command
1381
- .classBuilder()
1382
- .ep(commonParams)
1383
- .m(function (Command, cs, config, o) {
1384
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1385
- })
1386
- .s("SsmSap", "RegisterApplication", {})
1387
- .n("SsmSapClient", "RegisterApplicationCommand")
1388
- .sc(RegisterApplication$)
1389
- .build() {
1215
+ class RegisterApplicationCommand extends command(_ep0, _mw0, "RegisterApplication", RegisterApplication$) {
1390
1216
  }
1391
1217
 
1392
- class StartApplicationCommand extends Command
1393
- .classBuilder()
1394
- .ep(commonParams)
1395
- .m(function (Command, cs, config, o) {
1396
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1397
- })
1398
- .s("SsmSap", "StartApplication", {})
1399
- .n("SsmSapClient", "StartApplicationCommand")
1400
- .sc(StartApplication$)
1401
- .build() {
1218
+ class StartApplicationCommand extends command(_ep0, _mw0, "StartApplication", StartApplication$) {
1402
1219
  }
1403
1220
 
1404
- class StartApplicationRefreshCommand extends Command
1405
- .classBuilder()
1406
- .ep(commonParams)
1407
- .m(function (Command, cs, config, o) {
1408
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1409
- })
1410
- .s("SsmSap", "StartApplicationRefresh", {})
1411
- .n("SsmSapClient", "StartApplicationRefreshCommand")
1412
- .sc(StartApplicationRefresh$)
1413
- .build() {
1221
+ class StartApplicationRefreshCommand extends command(_ep0, _mw0, "StartApplicationRefresh", StartApplicationRefresh$) {
1414
1222
  }
1415
1223
 
1416
- class StartConfigurationChecksCommand extends Command
1417
- .classBuilder()
1418
- .ep(commonParams)
1419
- .m(function (Command, cs, config, o) {
1420
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1421
- })
1422
- .s("SsmSap", "StartConfigurationChecks", {})
1423
- .n("SsmSapClient", "StartConfigurationChecksCommand")
1424
- .sc(StartConfigurationChecks$)
1425
- .build() {
1224
+ class StartConfigurationChecksCommand extends command(_ep0, _mw0, "StartConfigurationChecks", StartConfigurationChecks$) {
1426
1225
  }
1427
1226
 
1428
- class StopApplicationCommand extends Command
1429
- .classBuilder()
1430
- .ep(commonParams)
1431
- .m(function (Command, cs, config, o) {
1432
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1433
- })
1434
- .s("SsmSap", "StopApplication", {})
1435
- .n("SsmSapClient", "StopApplicationCommand")
1436
- .sc(StopApplication$)
1437
- .build() {
1227
+ class StopApplicationCommand extends command(_ep0, _mw0, "StopApplication", StopApplication$) {
1438
1228
  }
1439
1229
 
1440
- class TagResourceCommand extends Command
1441
- .classBuilder()
1442
- .ep(commonParams)
1443
- .m(function (Command, cs, config, o) {
1444
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1445
- })
1446
- .s("SsmSap", "TagResource", {})
1447
- .n("SsmSapClient", "TagResourceCommand")
1448
- .sc(TagResource$)
1449
- .build() {
1230
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1450
1231
  }
1451
1232
 
1452
- class UntagResourceCommand extends Command
1453
- .classBuilder()
1454
- .ep(commonParams)
1455
- .m(function (Command, cs, config, o) {
1456
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1457
- })
1458
- .s("SsmSap", "UntagResource", {})
1459
- .n("SsmSapClient", "UntagResourceCommand")
1460
- .sc(UntagResource$)
1461
- .build() {
1233
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1462
1234
  }
1463
1235
 
1464
- class UpdateApplicationSettingsCommand extends Command
1465
- .classBuilder()
1466
- .ep(commonParams)
1467
- .m(function (Command, cs, config, o) {
1468
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1469
- })
1470
- .s("SsmSap", "UpdateApplicationSettings", {})
1471
- .n("SsmSapClient", "UpdateApplicationSettingsCommand")
1472
- .sc(UpdateApplicationSettings$)
1473
- .build() {
1236
+ class UpdateApplicationSettingsCommand extends command(_ep0, _mw0, "UpdateApplicationSettings", UpdateApplicationSettings$) {
1474
1237
  }
1475
1238
 
1476
1239
  const paginateListApplications = createPaginator(SsmSapClient, 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, "SsmSap", "SsmSapClient", 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 { DeleteResourcePermission$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteResourcePermissionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SsmSap", "DeleteResourcePermission", {})
13
- .n("SsmSapClient", "DeleteResourcePermissionCommand")
14
- .sc(DeleteResourcePermission$)
15
- .build() {
3
+ export class DeleteResourcePermissionCommand extends command(_ep0, _mw0, "DeleteResourcePermission", DeleteResourcePermission$) {
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 { DeregisterApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeregisterApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SsmSap", "DeregisterApplication", {})
13
- .n("SsmSapClient", "DeregisterApplicationCommand")
14
- .sc(DeregisterApplication$)
15
- .build() {
3
+ export class DeregisterApplicationCommand extends command(_ep0, _mw0, "DeregisterApplication", DeregisterApplication$) {
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 { GetApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SsmSap", "GetApplication", {})
13
- .n("SsmSapClient", "GetApplicationCommand")
14
- .sc(GetApplication$)
15
- .build() {
3
+ export class GetApplicationCommand extends command(_ep0, _mw0, "GetApplication", GetApplication$) {
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 { GetComponent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetComponentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SsmSap", "GetComponent", {})
13
- .n("SsmSapClient", "GetComponentCommand")
14
- .sc(GetComponent$)
15
- .build() {
3
+ export class GetComponentCommand extends command(_ep0, _mw0, "GetComponent", GetComponent$) {
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 { GetConfigurationCheckOperation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetConfigurationCheckOperationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SsmSap", "GetConfigurationCheckOperation", {})
13
- .n("SsmSapClient", "GetConfigurationCheckOperationCommand")
14
- .sc(GetConfigurationCheckOperation$)
15
- .build() {
3
+ export class GetConfigurationCheckOperationCommand extends command(_ep0, _mw0, "GetConfigurationCheckOperation", GetConfigurationCheckOperation$) {
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 { GetDatabase$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDatabaseCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SsmSap", "GetDatabase", {})
13
- .n("SsmSapClient", "GetDatabaseCommand")
14
- .sc(GetDatabase$)
15
- .build() {
3
+ export class GetDatabaseCommand extends command(_ep0, _mw0, "GetDatabase", GetDatabase$) {
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 { GetOperation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetOperationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SsmSap", "GetOperation", {})
13
- .n("SsmSapClient", "GetOperationCommand")
14
- .sc(GetOperation$)
15
- .build() {
3
+ export class GetOperationCommand extends command(_ep0, _mw0, "GetOperation", GetOperation$) {
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 { GetResourcePermission$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResourcePermissionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SsmSap", "GetResourcePermission", {})
13
- .n("SsmSapClient", "GetResourcePermissionCommand")
14
- .sc(GetResourcePermission$)
15
- .build() {
3
+ export class GetResourcePermissionCommand extends command(_ep0, _mw0, "GetResourcePermission", GetResourcePermission$) {
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("SsmSap", "ListApplications", {})
13
- .n("SsmSapClient", "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 { ListComponents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListComponentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SsmSap", "ListComponents", {})
13
- .n("SsmSapClient", "ListComponentsCommand")
14
- .sc(ListComponents$)
15
- .build() {
3
+ export class ListComponentsCommand extends command(_ep0, _mw0, "ListComponents", ListComponents$) {
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 { ListConfigurationCheckDefinitions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListConfigurationCheckDefinitionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SsmSap", "ListConfigurationCheckDefinitions", {})
13
- .n("SsmSapClient", "ListConfigurationCheckDefinitionsCommand")
14
- .sc(ListConfigurationCheckDefinitions$)
15
- .build() {
3
+ export class ListConfigurationCheckDefinitionsCommand extends command(_ep0, _mw0, "ListConfigurationCheckDefinitions", ListConfigurationCheckDefinitions$) {
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 { ListConfigurationCheckOperations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListConfigurationCheckOperationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SsmSap", "ListConfigurationCheckOperations", {})
13
- .n("SsmSapClient", "ListConfigurationCheckOperationsCommand")
14
- .sc(ListConfigurationCheckOperations$)
15
- .build() {
3
+ export class ListConfigurationCheckOperationsCommand extends command(_ep0, _mw0, "ListConfigurationCheckOperations", ListConfigurationCheckOperations$) {
16
4
  }