@aws-sdk/client-mpa 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 (86) hide show
  1. package/dist-cjs/index.js +33 -225
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CancelSessionCommand.js +2 -14
  4. package/dist-es/commands/CreateApprovalTeamCommand.js +2 -14
  5. package/dist-es/commands/CreateIdentitySourceCommand.js +2 -14
  6. package/dist-es/commands/DeleteIdentitySourceCommand.js +2 -14
  7. package/dist-es/commands/DeleteInactiveApprovalTeamVersionCommand.js +2 -14
  8. package/dist-es/commands/GetApprovalTeamCommand.js +2 -14
  9. package/dist-es/commands/GetIdentitySourceCommand.js +2 -14
  10. package/dist-es/commands/GetPolicyVersionCommand.js +2 -14
  11. package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
  12. package/dist-es/commands/GetSessionCommand.js +2 -14
  13. package/dist-es/commands/ListApprovalTeamsCommand.js +2 -14
  14. package/dist-es/commands/ListIdentitySourcesCommand.js +2 -14
  15. package/dist-es/commands/ListPoliciesCommand.js +2 -14
  16. package/dist-es/commands/ListPolicyVersionsCommand.js +2 -14
  17. package/dist-es/commands/ListResourcePoliciesCommand.js +2 -14
  18. package/dist-es/commands/ListSessionsCommand.js +2 -14
  19. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  20. package/dist-es/commands/StartActiveApprovalTeamDeletionCommand.js +2 -14
  21. package/dist-es/commands/StartApprovalTeamBaselineCommand.js +2 -14
  22. package/dist-es/commands/TagResourceCommand.js +2 -14
  23. package/dist-es/commands/UntagResourceCommand.js +2 -14
  24. package/dist-es/commands/UpdateApprovalTeamCommand.js +2 -14
  25. package/dist-es/index.js +1 -0
  26. package/dist-es/runtimeConfig.browser.js +0 -2
  27. package/dist-es/runtimeConfig.js +1 -2
  28. package/dist-es/runtimeConfig.native.js +0 -2
  29. package/dist-es/runtimeConfig.shared.js +2 -0
  30. package/dist-types/commandBuilder.d.ts +18 -0
  31. package/dist-types/commands/CancelSessionCommand.d.ts +3 -8
  32. package/dist-types/commands/CreateApprovalTeamCommand.d.ts +3 -8
  33. package/dist-types/commands/CreateIdentitySourceCommand.d.ts +3 -8
  34. package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +3 -8
  35. package/dist-types/commands/DeleteInactiveApprovalTeamVersionCommand.d.ts +3 -8
  36. package/dist-types/commands/GetApprovalTeamCommand.d.ts +3 -8
  37. package/dist-types/commands/GetIdentitySourceCommand.d.ts +3 -8
  38. package/dist-types/commands/GetPolicyVersionCommand.d.ts +3 -8
  39. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  40. package/dist-types/commands/GetSessionCommand.d.ts +3 -8
  41. package/dist-types/commands/ListApprovalTeamsCommand.d.ts +3 -8
  42. package/dist-types/commands/ListIdentitySourcesCommand.d.ts +3 -8
  43. package/dist-types/commands/ListPoliciesCommand.d.ts +3 -8
  44. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +3 -8
  45. package/dist-types/commands/ListResourcePoliciesCommand.d.ts +3 -8
  46. package/dist-types/commands/ListSessionsCommand.d.ts +3 -8
  47. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  48. package/dist-types/commands/StartActiveApprovalTeamDeletionCommand.d.ts +3 -8
  49. package/dist-types/commands/StartApprovalTeamBaselineCommand.d.ts +3 -8
  50. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  51. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  52. package/dist-types/commands/UpdateApprovalTeamCommand.d.ts +3 -8
  53. package/dist-types/index.d.ts +1 -0
  54. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  55. package/dist-types/runtimeConfig.d.ts +1 -1
  56. package/dist-types/runtimeConfig.native.d.ts +1 -1
  57. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  58. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  59. package/dist-types/ts3.4/commands/CancelSessionCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/CreateApprovalTeamCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/CreateIdentitySourceCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/DeleteIdentitySourceCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/DeleteInactiveApprovalTeamVersionCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/GetApprovalTeamCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/GetIdentitySourceCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetPolicyVersionCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/ListApprovalTeamsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/ListIdentitySourcesCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/StartActiveApprovalTeamDeletionCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/StartApprovalTeamBaselineCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/UpdateApprovalTeamCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/index.d.ts +1 -0
  82. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  83. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  84. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  85. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  86. 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 defaultMPAHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -65,7 +67,7 @@ const commonParams = {
65
67
  Region: { type: "builtInParams", name: "region" },
66
68
  };
67
69
 
68
- var version = "3.1075.0";
70
+ var version = "3.1077.0";
69
71
  var packageInfo = {
70
72
  version: version};
71
73
 
@@ -995,6 +997,7 @@ const getRuntimeConfig$1 = (config) => {
995
997
  serviceTarget: "AWSFluffyCoreService",
996
998
  },
997
999
  serviceId: config?.serviceId ?? "MPA",
1000
+ sha256: config?.sha256 ?? Sha256,
998
1001
  urlParser: config?.urlParser ?? parseUrl,
999
1002
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1000
1003
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1028,7 +1031,6 @@ const getRuntimeConfig = (config) => {
1028
1031
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1029
1032
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1030
1033
  }, config),
1031
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1032
1034
  streamCollector: config?.streamCollector ?? streamCollector,
1033
1035
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1034
1036
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1116,268 +1118,74 @@ class MPAClient extends Client {
1116
1118
  }
1117
1119
  }
1118
1120
 
1119
- class CancelSessionCommand extends Command
1120
- .classBuilder()
1121
- .ep(commonParams)
1122
- .m(function (Command, cs, config, o) {
1123
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1124
- })
1125
- .s("AWSFluffyCoreService", "CancelSession", {})
1126
- .n("MPAClient", "CancelSessionCommand")
1127
- .sc(CancelSession$)
1128
- .build() {
1121
+ const command = makeBuilder(commonParams, "AWSFluffyCoreService", "MPAClient", getEndpointPlugin);
1122
+ const _ep0 = {};
1123
+ const _mw0 = (Command, cs, config, o) => [];
1124
+
1125
+ class CancelSessionCommand extends command(_ep0, _mw0, "CancelSession", CancelSession$) {
1129
1126
  }
1130
1127
 
1131
- class CreateApprovalTeamCommand extends Command
1132
- .classBuilder()
1133
- .ep(commonParams)
1134
- .m(function (Command, cs, config, o) {
1135
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1136
- })
1137
- .s("AWSFluffyCoreService", "CreateApprovalTeam", {})
1138
- .n("MPAClient", "CreateApprovalTeamCommand")
1139
- .sc(CreateApprovalTeam$)
1140
- .build() {
1128
+ class CreateApprovalTeamCommand extends command(_ep0, _mw0, "CreateApprovalTeam", CreateApprovalTeam$) {
1141
1129
  }
1142
1130
 
1143
- class CreateIdentitySourceCommand extends Command
1144
- .classBuilder()
1145
- .ep(commonParams)
1146
- .m(function (Command, cs, config, o) {
1147
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1148
- })
1149
- .s("AWSFluffyCoreService", "CreateIdentitySource", {})
1150
- .n("MPAClient", "CreateIdentitySourceCommand")
1151
- .sc(CreateIdentitySource$)
1152
- .build() {
1131
+ class CreateIdentitySourceCommand extends command(_ep0, _mw0, "CreateIdentitySource", CreateIdentitySource$) {
1153
1132
  }
1154
1133
 
1155
- class DeleteIdentitySourceCommand extends Command
1156
- .classBuilder()
1157
- .ep(commonParams)
1158
- .m(function (Command, cs, config, o) {
1159
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1160
- })
1161
- .s("AWSFluffyCoreService", "DeleteIdentitySource", {})
1162
- .n("MPAClient", "DeleteIdentitySourceCommand")
1163
- .sc(DeleteIdentitySource$)
1164
- .build() {
1134
+ class DeleteIdentitySourceCommand extends command(_ep0, _mw0, "DeleteIdentitySource", DeleteIdentitySource$) {
1165
1135
  }
1166
1136
 
1167
- class DeleteInactiveApprovalTeamVersionCommand extends Command
1168
- .classBuilder()
1169
- .ep(commonParams)
1170
- .m(function (Command, cs, config, o) {
1171
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1172
- })
1173
- .s("AWSFluffyCoreService", "DeleteInactiveApprovalTeamVersion", {})
1174
- .n("MPAClient", "DeleteInactiveApprovalTeamVersionCommand")
1175
- .sc(DeleteInactiveApprovalTeamVersion$)
1176
- .build() {
1137
+ class DeleteInactiveApprovalTeamVersionCommand extends command(_ep0, _mw0, "DeleteInactiveApprovalTeamVersion", DeleteInactiveApprovalTeamVersion$) {
1177
1138
  }
1178
1139
 
1179
- class GetApprovalTeamCommand extends Command
1180
- .classBuilder()
1181
- .ep(commonParams)
1182
- .m(function (Command, cs, config, o) {
1183
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1184
- })
1185
- .s("AWSFluffyCoreService", "GetApprovalTeam", {})
1186
- .n("MPAClient", "GetApprovalTeamCommand")
1187
- .sc(GetApprovalTeam$)
1188
- .build() {
1140
+ class GetApprovalTeamCommand extends command(_ep0, _mw0, "GetApprovalTeam", GetApprovalTeam$) {
1189
1141
  }
1190
1142
 
1191
- class GetIdentitySourceCommand extends Command
1192
- .classBuilder()
1193
- .ep(commonParams)
1194
- .m(function (Command, cs, config, o) {
1195
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1196
- })
1197
- .s("AWSFluffyCoreService", "GetIdentitySource", {})
1198
- .n("MPAClient", "GetIdentitySourceCommand")
1199
- .sc(GetIdentitySource$)
1200
- .build() {
1143
+ class GetIdentitySourceCommand extends command(_ep0, _mw0, "GetIdentitySource", GetIdentitySource$) {
1201
1144
  }
1202
1145
 
1203
- class GetPolicyVersionCommand extends Command
1204
- .classBuilder()
1205
- .ep(commonParams)
1206
- .m(function (Command, cs, config, o) {
1207
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1208
- })
1209
- .s("AWSFluffyCoreService", "GetPolicyVersion", {})
1210
- .n("MPAClient", "GetPolicyVersionCommand")
1211
- .sc(GetPolicyVersion$)
1212
- .build() {
1146
+ class GetPolicyVersionCommand extends command(_ep0, _mw0, "GetPolicyVersion", GetPolicyVersion$) {
1213
1147
  }
1214
1148
 
1215
- class GetResourcePolicyCommand extends Command
1216
- .classBuilder()
1217
- .ep(commonParams)
1218
- .m(function (Command, cs, config, o) {
1219
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1220
- })
1221
- .s("AWSFluffyCoreService", "GetResourcePolicy", {})
1222
- .n("MPAClient", "GetResourcePolicyCommand")
1223
- .sc(GetResourcePolicy$)
1224
- .build() {
1149
+ class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
1225
1150
  }
1226
1151
 
1227
- class GetSessionCommand extends Command
1228
- .classBuilder()
1229
- .ep(commonParams)
1230
- .m(function (Command, cs, config, o) {
1231
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1232
- })
1233
- .s("AWSFluffyCoreService", "GetSession", {})
1234
- .n("MPAClient", "GetSessionCommand")
1235
- .sc(GetSession$)
1236
- .build() {
1152
+ class GetSessionCommand extends command(_ep0, _mw0, "GetSession", GetSession$) {
1237
1153
  }
1238
1154
 
1239
- class ListApprovalTeamsCommand extends Command
1240
- .classBuilder()
1241
- .ep(commonParams)
1242
- .m(function (Command, cs, config, o) {
1243
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1244
- })
1245
- .s("AWSFluffyCoreService", "ListApprovalTeams", {})
1246
- .n("MPAClient", "ListApprovalTeamsCommand")
1247
- .sc(ListApprovalTeams$)
1248
- .build() {
1155
+ class ListApprovalTeamsCommand extends command(_ep0, _mw0, "ListApprovalTeams", ListApprovalTeams$) {
1249
1156
  }
1250
1157
 
1251
- class ListIdentitySourcesCommand extends Command
1252
- .classBuilder()
1253
- .ep(commonParams)
1254
- .m(function (Command, cs, config, o) {
1255
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1256
- })
1257
- .s("AWSFluffyCoreService", "ListIdentitySources", {})
1258
- .n("MPAClient", "ListIdentitySourcesCommand")
1259
- .sc(ListIdentitySources$)
1260
- .build() {
1158
+ class ListIdentitySourcesCommand extends command(_ep0, _mw0, "ListIdentitySources", ListIdentitySources$) {
1261
1159
  }
1262
1160
 
1263
- class ListPoliciesCommand extends Command
1264
- .classBuilder()
1265
- .ep(commonParams)
1266
- .m(function (Command, cs, config, o) {
1267
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1268
- })
1269
- .s("AWSFluffyCoreService", "ListPolicies", {})
1270
- .n("MPAClient", "ListPoliciesCommand")
1271
- .sc(ListPolicies$)
1272
- .build() {
1161
+ class ListPoliciesCommand extends command(_ep0, _mw0, "ListPolicies", ListPolicies$) {
1273
1162
  }
1274
1163
 
1275
- class ListPolicyVersionsCommand extends Command
1276
- .classBuilder()
1277
- .ep(commonParams)
1278
- .m(function (Command, cs, config, o) {
1279
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1280
- })
1281
- .s("AWSFluffyCoreService", "ListPolicyVersions", {})
1282
- .n("MPAClient", "ListPolicyVersionsCommand")
1283
- .sc(ListPolicyVersions$)
1284
- .build() {
1164
+ class ListPolicyVersionsCommand extends command(_ep0, _mw0, "ListPolicyVersions", ListPolicyVersions$) {
1285
1165
  }
1286
1166
 
1287
- class ListResourcePoliciesCommand extends Command
1288
- .classBuilder()
1289
- .ep(commonParams)
1290
- .m(function (Command, cs, config, o) {
1291
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1292
- })
1293
- .s("AWSFluffyCoreService", "ListResourcePolicies", {})
1294
- .n("MPAClient", "ListResourcePoliciesCommand")
1295
- .sc(ListResourcePolicies$)
1296
- .build() {
1167
+ class ListResourcePoliciesCommand extends command(_ep0, _mw0, "ListResourcePolicies", ListResourcePolicies$) {
1297
1168
  }
1298
1169
 
1299
- class ListSessionsCommand extends Command
1300
- .classBuilder()
1301
- .ep(commonParams)
1302
- .m(function (Command, cs, config, o) {
1303
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1304
- })
1305
- .s("AWSFluffyCoreService", "ListSessions", {})
1306
- .n("MPAClient", "ListSessionsCommand")
1307
- .sc(ListSessions$)
1308
- .build() {
1170
+ class ListSessionsCommand extends command(_ep0, _mw0, "ListSessions", ListSessions$) {
1309
1171
  }
1310
1172
 
1311
- class ListTagsForResourceCommand extends Command
1312
- .classBuilder()
1313
- .ep(commonParams)
1314
- .m(function (Command, cs, config, o) {
1315
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1316
- })
1317
- .s("AWSFluffyCoreService", "ListTagsForResource", {})
1318
- .n("MPAClient", "ListTagsForResourceCommand")
1319
- .sc(ListTagsForResource$)
1320
- .build() {
1173
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1321
1174
  }
1322
1175
 
1323
- class StartActiveApprovalTeamDeletionCommand extends Command
1324
- .classBuilder()
1325
- .ep(commonParams)
1326
- .m(function (Command, cs, config, o) {
1327
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1328
- })
1329
- .s("AWSFluffyCoreService", "StartActiveApprovalTeamDeletion", {})
1330
- .n("MPAClient", "StartActiveApprovalTeamDeletionCommand")
1331
- .sc(StartActiveApprovalTeamDeletion$)
1332
- .build() {
1176
+ class StartActiveApprovalTeamDeletionCommand extends command(_ep0, _mw0, "StartActiveApprovalTeamDeletion", StartActiveApprovalTeamDeletion$) {
1333
1177
  }
1334
1178
 
1335
- class StartApprovalTeamBaselineCommand extends Command
1336
- .classBuilder()
1337
- .ep(commonParams)
1338
- .m(function (Command, cs, config, o) {
1339
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1340
- })
1341
- .s("AWSFluffyCoreService", "StartApprovalTeamBaseline", {})
1342
- .n("MPAClient", "StartApprovalTeamBaselineCommand")
1343
- .sc(StartApprovalTeamBaseline$)
1344
- .build() {
1179
+ class StartApprovalTeamBaselineCommand extends command(_ep0, _mw0, "StartApprovalTeamBaseline", StartApprovalTeamBaseline$) {
1345
1180
  }
1346
1181
 
1347
- class TagResourceCommand extends Command
1348
- .classBuilder()
1349
- .ep(commonParams)
1350
- .m(function (Command, cs, config, o) {
1351
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1352
- })
1353
- .s("AWSFluffyCoreService", "TagResource", {})
1354
- .n("MPAClient", "TagResourceCommand")
1355
- .sc(TagResource$)
1356
- .build() {
1182
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1357
1183
  }
1358
1184
 
1359
- class UntagResourceCommand extends Command
1360
- .classBuilder()
1361
- .ep(commonParams)
1362
- .m(function (Command, cs, config, o) {
1363
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1364
- })
1365
- .s("AWSFluffyCoreService", "UntagResource", {})
1366
- .n("MPAClient", "UntagResourceCommand")
1367
- .sc(UntagResource$)
1368
- .build() {
1185
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1369
1186
  }
1370
1187
 
1371
- class UpdateApprovalTeamCommand extends Command
1372
- .classBuilder()
1373
- .ep(commonParams)
1374
- .m(function (Command, cs, config, o) {
1375
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1376
- })
1377
- .s("AWSFluffyCoreService", "UpdateApprovalTeam", {})
1378
- .n("MPAClient", "UpdateApprovalTeamCommand")
1379
- .sc(UpdateApprovalTeam$)
1380
- .build() {
1188
+ class UpdateApprovalTeamCommand extends command(_ep0, _mw0, "UpdateApprovalTeam", UpdateApprovalTeam$) {
1381
1189
  }
1382
1190
 
1383
1191
  const paginateListApprovalTeams = createPaginator(MPAClient, ListApprovalTeamsCommand, "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, "AWSFluffyCoreService", "MPAClient", 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 { CancelSession$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelSessionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "CancelSession", {})
13
- .n("MPAClient", "CancelSessionCommand")
14
- .sc(CancelSession$)
15
- .build() {
3
+ export class CancelSessionCommand extends command(_ep0, _mw0, "CancelSession", CancelSession$) {
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 { CreateApprovalTeam$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateApprovalTeamCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "CreateApprovalTeam", {})
13
- .n("MPAClient", "CreateApprovalTeamCommand")
14
- .sc(CreateApprovalTeam$)
15
- .build() {
3
+ export class CreateApprovalTeamCommand extends command(_ep0, _mw0, "CreateApprovalTeam", CreateApprovalTeam$) {
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 { CreateIdentitySource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateIdentitySourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "CreateIdentitySource", {})
13
- .n("MPAClient", "CreateIdentitySourceCommand")
14
- .sc(CreateIdentitySource$)
15
- .build() {
3
+ export class CreateIdentitySourceCommand extends command(_ep0, _mw0, "CreateIdentitySource", CreateIdentitySource$) {
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 { DeleteIdentitySource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteIdentitySourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "DeleteIdentitySource", {})
13
- .n("MPAClient", "DeleteIdentitySourceCommand")
14
- .sc(DeleteIdentitySource$)
15
- .build() {
3
+ export class DeleteIdentitySourceCommand extends command(_ep0, _mw0, "DeleteIdentitySource", DeleteIdentitySource$) {
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 { DeleteInactiveApprovalTeamVersion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteInactiveApprovalTeamVersionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "DeleteInactiveApprovalTeamVersion", {})
13
- .n("MPAClient", "DeleteInactiveApprovalTeamVersionCommand")
14
- .sc(DeleteInactiveApprovalTeamVersion$)
15
- .build() {
3
+ export class DeleteInactiveApprovalTeamVersionCommand extends command(_ep0, _mw0, "DeleteInactiveApprovalTeamVersion", DeleteInactiveApprovalTeamVersion$) {
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 { GetApprovalTeam$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetApprovalTeamCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "GetApprovalTeam", {})
13
- .n("MPAClient", "GetApprovalTeamCommand")
14
- .sc(GetApprovalTeam$)
15
- .build() {
3
+ export class GetApprovalTeamCommand extends command(_ep0, _mw0, "GetApprovalTeam", GetApprovalTeam$) {
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 { GetIdentitySource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetIdentitySourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "GetIdentitySource", {})
13
- .n("MPAClient", "GetIdentitySourceCommand")
14
- .sc(GetIdentitySource$)
15
- .build() {
3
+ export class GetIdentitySourceCommand extends command(_ep0, _mw0, "GetIdentitySource", GetIdentitySource$) {
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 { GetPolicyVersion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPolicyVersionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "GetPolicyVersion", {})
13
- .n("MPAClient", "GetPolicyVersionCommand")
14
- .sc(GetPolicyVersion$)
15
- .build() {
3
+ export class GetPolicyVersionCommand extends command(_ep0, _mw0, "GetPolicyVersion", GetPolicyVersion$) {
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 { GetResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "GetResourcePolicy", {})
13
- .n("MPAClient", "GetResourcePolicyCommand")
14
- .sc(GetResourcePolicy$)
15
- .build() {
3
+ export class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
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 { GetSession$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSessionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "GetSession", {})
13
- .n("MPAClient", "GetSessionCommand")
14
- .sc(GetSession$)
15
- .build() {
3
+ export class GetSessionCommand extends command(_ep0, _mw0, "GetSession", GetSession$) {
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 { ListApprovalTeams$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListApprovalTeamsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "ListApprovalTeams", {})
13
- .n("MPAClient", "ListApprovalTeamsCommand")
14
- .sc(ListApprovalTeams$)
15
- .build() {
3
+ export class ListApprovalTeamsCommand extends command(_ep0, _mw0, "ListApprovalTeams", ListApprovalTeams$) {
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 { ListIdentitySources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListIdentitySourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "ListIdentitySources", {})
13
- .n("MPAClient", "ListIdentitySourcesCommand")
14
- .sc(ListIdentitySources$)
15
- .build() {
3
+ export class ListIdentitySourcesCommand extends command(_ep0, _mw0, "ListIdentitySources", ListIdentitySources$) {
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 { ListPolicies$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPoliciesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "ListPolicies", {})
13
- .n("MPAClient", "ListPoliciesCommand")
14
- .sc(ListPolicies$)
15
- .build() {
3
+ export class ListPoliciesCommand extends command(_ep0, _mw0, "ListPolicies", ListPolicies$) {
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 { ListPolicyVersions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPolicyVersionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "ListPolicyVersions", {})
13
- .n("MPAClient", "ListPolicyVersionsCommand")
14
- .sc(ListPolicyVersions$)
15
- .build() {
3
+ export class ListPolicyVersionsCommand extends command(_ep0, _mw0, "ListPolicyVersions", ListPolicyVersions$) {
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 { ListResourcePolicies$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListResourcePoliciesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSFluffyCoreService", "ListResourcePolicies", {})
13
- .n("MPAClient", "ListResourcePoliciesCommand")
14
- .sc(ListResourcePolicies$)
15
- .build() {
3
+ export class ListResourcePoliciesCommand extends command(_ep0, _mw0, "ListResourcePolicies", ListResourcePolicies$) {
16
4
  }