@aws-sdk/client-appflow 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 (95) hide show
  1. package/dist-cjs/index.js +36 -255
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CancelFlowExecutionsCommand.js +2 -14
  4. package/dist-es/commands/CreateConnectorProfileCommand.js +2 -14
  5. package/dist-es/commands/CreateFlowCommand.js +2 -14
  6. package/dist-es/commands/DeleteConnectorProfileCommand.js +2 -14
  7. package/dist-es/commands/DeleteFlowCommand.js +2 -14
  8. package/dist-es/commands/DescribeConnectorCommand.js +2 -14
  9. package/dist-es/commands/DescribeConnectorEntityCommand.js +2 -14
  10. package/dist-es/commands/DescribeConnectorProfilesCommand.js +2 -14
  11. package/dist-es/commands/DescribeConnectorsCommand.js +2 -14
  12. package/dist-es/commands/DescribeFlowCommand.js +2 -14
  13. package/dist-es/commands/DescribeFlowExecutionRecordsCommand.js +2 -14
  14. package/dist-es/commands/ListConnectorEntitiesCommand.js +2 -14
  15. package/dist-es/commands/ListConnectorsCommand.js +2 -14
  16. package/dist-es/commands/ListFlowsCommand.js +2 -14
  17. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  18. package/dist-es/commands/RegisterConnectorCommand.js +2 -14
  19. package/dist-es/commands/ResetConnectorMetadataCacheCommand.js +2 -14
  20. package/dist-es/commands/StartFlowCommand.js +2 -14
  21. package/dist-es/commands/StopFlowCommand.js +2 -14
  22. package/dist-es/commands/TagResourceCommand.js +2 -14
  23. package/dist-es/commands/UnregisterConnectorCommand.js +2 -14
  24. package/dist-es/commands/UntagResourceCommand.js +2 -14
  25. package/dist-es/commands/UpdateConnectorProfileCommand.js +2 -14
  26. package/dist-es/commands/UpdateConnectorRegistrationCommand.js +2 -14
  27. package/dist-es/commands/UpdateFlowCommand.js +2 -14
  28. package/dist-es/index.js +1 -0
  29. package/dist-es/runtimeConfig.browser.js +0 -2
  30. package/dist-es/runtimeConfig.js +1 -2
  31. package/dist-es/runtimeConfig.native.js +0 -2
  32. package/dist-es/runtimeConfig.shared.js +2 -0
  33. package/dist-types/commandBuilder.d.ts +18 -0
  34. package/dist-types/commands/CancelFlowExecutionsCommand.d.ts +3 -8
  35. package/dist-types/commands/CreateConnectorProfileCommand.d.ts +3 -8
  36. package/dist-types/commands/CreateFlowCommand.d.ts +3 -8
  37. package/dist-types/commands/DeleteConnectorProfileCommand.d.ts +3 -8
  38. package/dist-types/commands/DeleteFlowCommand.d.ts +3 -8
  39. package/dist-types/commands/DescribeConnectorCommand.d.ts +3 -8
  40. package/dist-types/commands/DescribeConnectorEntityCommand.d.ts +3 -8
  41. package/dist-types/commands/DescribeConnectorProfilesCommand.d.ts +3 -8
  42. package/dist-types/commands/DescribeConnectorsCommand.d.ts +3 -8
  43. package/dist-types/commands/DescribeFlowCommand.d.ts +3 -8
  44. package/dist-types/commands/DescribeFlowExecutionRecordsCommand.d.ts +3 -8
  45. package/dist-types/commands/ListConnectorEntitiesCommand.d.ts +3 -8
  46. package/dist-types/commands/ListConnectorsCommand.d.ts +3 -8
  47. package/dist-types/commands/ListFlowsCommand.d.ts +3 -8
  48. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  49. package/dist-types/commands/RegisterConnectorCommand.d.ts +3 -8
  50. package/dist-types/commands/ResetConnectorMetadataCacheCommand.d.ts +3 -8
  51. package/dist-types/commands/StartFlowCommand.d.ts +3 -8
  52. package/dist-types/commands/StopFlowCommand.d.ts +3 -8
  53. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  54. package/dist-types/commands/UnregisterConnectorCommand.d.ts +3 -8
  55. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  56. package/dist-types/commands/UpdateConnectorProfileCommand.d.ts +3 -8
  57. package/dist-types/commands/UpdateConnectorRegistrationCommand.d.ts +3 -8
  58. package/dist-types/commands/UpdateFlowCommand.d.ts +3 -8
  59. package/dist-types/index.d.ts +1 -0
  60. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  61. package/dist-types/runtimeConfig.d.ts +1 -1
  62. package/dist-types/runtimeConfig.native.d.ts +1 -1
  63. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  64. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  65. package/dist-types/ts3.4/commands/CancelFlowExecutionsCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/CreateConnectorProfileCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/DeleteConnectorProfileCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/DescribeConnectorCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/DescribeConnectorEntityCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DescribeConnectorProfilesCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DescribeConnectorsCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DescribeFlowCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DescribeFlowExecutionRecordsCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/ListConnectorEntitiesCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/ListFlowsCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/RegisterConnectorCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/ResetConnectorMetadataCacheCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/StartFlowCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/StopFlowCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/UnregisterConnectorCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/UpdateConnectorProfileCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/UpdateConnectorRegistrationCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/index.d.ts +1 -0
  91. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  92. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  93. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  94. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  95. 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 defaultAppflowHttpAuthSchemeParametersProvider = 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
 
@@ -2066,6 +2068,7 @@ const getRuntimeConfig$1 = (config) => {
2066
2068
  serviceTarget: "SandstoneConfigurationServiceLambda",
2067
2069
  },
2068
2070
  serviceId: config?.serviceId ?? "Appflow",
2071
+ sha256: config?.sha256 ?? Sha256,
2069
2072
  urlParser: config?.urlParser ?? parseUrl,
2070
2073
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
2071
2074
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -2099,7 +2102,6 @@ const getRuntimeConfig = (config) => {
2099
2102
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
2100
2103
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
2101
2104
  }, config),
2102
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
2103
2105
  streamCollector: config?.streamCollector ?? streamCollector,
2104
2106
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
2105
2107
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -2187,304 +2189,83 @@ class AppflowClient extends Client {
2187
2189
  }
2188
2190
  }
2189
2191
 
2190
- class CancelFlowExecutionsCommand extends Command
2191
- .classBuilder()
2192
- .ep(commonParams)
2193
- .m(function (Command, cs, config, o) {
2194
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2195
- })
2196
- .s("SandstoneConfigurationServiceLambda", "CancelFlowExecutions", {})
2197
- .n("AppflowClient", "CancelFlowExecutionsCommand")
2198
- .sc(CancelFlowExecutions$)
2199
- .build() {
2192
+ const command = makeBuilder(commonParams, "SandstoneConfigurationServiceLambda", "AppflowClient", getEndpointPlugin);
2193
+ const _ep0 = {};
2194
+ const _mw0 = (Command, cs, config, o) => [];
2195
+
2196
+ class CancelFlowExecutionsCommand extends command(_ep0, _mw0, "CancelFlowExecutions", CancelFlowExecutions$) {
2200
2197
  }
2201
2198
 
2202
- class CreateConnectorProfileCommand extends Command
2203
- .classBuilder()
2204
- .ep(commonParams)
2205
- .m(function (Command, cs, config, o) {
2206
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2207
- })
2208
- .s("SandstoneConfigurationServiceLambda", "CreateConnectorProfile", {})
2209
- .n("AppflowClient", "CreateConnectorProfileCommand")
2210
- .sc(CreateConnectorProfile$)
2211
- .build() {
2199
+ class CreateConnectorProfileCommand extends command(_ep0, _mw0, "CreateConnectorProfile", CreateConnectorProfile$) {
2212
2200
  }
2213
2201
 
2214
- class CreateFlowCommand extends Command
2215
- .classBuilder()
2216
- .ep(commonParams)
2217
- .m(function (Command, cs, config, o) {
2218
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2219
- })
2220
- .s("SandstoneConfigurationServiceLambda", "CreateFlow", {})
2221
- .n("AppflowClient", "CreateFlowCommand")
2222
- .sc(CreateFlow$)
2223
- .build() {
2202
+ class CreateFlowCommand extends command(_ep0, _mw0, "CreateFlow", CreateFlow$) {
2224
2203
  }
2225
2204
 
2226
- class DeleteConnectorProfileCommand extends Command
2227
- .classBuilder()
2228
- .ep(commonParams)
2229
- .m(function (Command, cs, config, o) {
2230
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2231
- })
2232
- .s("SandstoneConfigurationServiceLambda", "DeleteConnectorProfile", {})
2233
- .n("AppflowClient", "DeleteConnectorProfileCommand")
2234
- .sc(DeleteConnectorProfile$)
2235
- .build() {
2205
+ class DeleteConnectorProfileCommand extends command(_ep0, _mw0, "DeleteConnectorProfile", DeleteConnectorProfile$) {
2236
2206
  }
2237
2207
 
2238
- class DeleteFlowCommand extends Command
2239
- .classBuilder()
2240
- .ep(commonParams)
2241
- .m(function (Command, cs, config, o) {
2242
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2243
- })
2244
- .s("SandstoneConfigurationServiceLambda", "DeleteFlow", {})
2245
- .n("AppflowClient", "DeleteFlowCommand")
2246
- .sc(DeleteFlow$)
2247
- .build() {
2208
+ class DeleteFlowCommand extends command(_ep0, _mw0, "DeleteFlow", DeleteFlow$) {
2248
2209
  }
2249
2210
 
2250
- class DescribeConnectorCommand extends Command
2251
- .classBuilder()
2252
- .ep(commonParams)
2253
- .m(function (Command, cs, config, o) {
2254
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2255
- })
2256
- .s("SandstoneConfigurationServiceLambda", "DescribeConnector", {})
2257
- .n("AppflowClient", "DescribeConnectorCommand")
2258
- .sc(DescribeConnector$)
2259
- .build() {
2211
+ class DescribeConnectorCommand extends command(_ep0, _mw0, "DescribeConnector", DescribeConnector$) {
2260
2212
  }
2261
2213
 
2262
- class DescribeConnectorEntityCommand extends Command
2263
- .classBuilder()
2264
- .ep(commonParams)
2265
- .m(function (Command, cs, config, o) {
2266
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2267
- })
2268
- .s("SandstoneConfigurationServiceLambda", "DescribeConnectorEntity", {})
2269
- .n("AppflowClient", "DescribeConnectorEntityCommand")
2270
- .sc(DescribeConnectorEntity$)
2271
- .build() {
2214
+ class DescribeConnectorEntityCommand extends command(_ep0, _mw0, "DescribeConnectorEntity", DescribeConnectorEntity$) {
2272
2215
  }
2273
2216
 
2274
- class DescribeConnectorProfilesCommand extends Command
2275
- .classBuilder()
2276
- .ep(commonParams)
2277
- .m(function (Command, cs, config, o) {
2278
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2279
- })
2280
- .s("SandstoneConfigurationServiceLambda", "DescribeConnectorProfiles", {})
2281
- .n("AppflowClient", "DescribeConnectorProfilesCommand")
2282
- .sc(DescribeConnectorProfiles$)
2283
- .build() {
2217
+ class DescribeConnectorProfilesCommand extends command(_ep0, _mw0, "DescribeConnectorProfiles", DescribeConnectorProfiles$) {
2284
2218
  }
2285
2219
 
2286
- class DescribeConnectorsCommand extends Command
2287
- .classBuilder()
2288
- .ep(commonParams)
2289
- .m(function (Command, cs, config, o) {
2290
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2291
- })
2292
- .s("SandstoneConfigurationServiceLambda", "DescribeConnectors", {})
2293
- .n("AppflowClient", "DescribeConnectorsCommand")
2294
- .sc(DescribeConnectors$)
2295
- .build() {
2220
+ class DescribeConnectorsCommand extends command(_ep0, _mw0, "DescribeConnectors", DescribeConnectors$) {
2296
2221
  }
2297
2222
 
2298
- class DescribeFlowCommand extends Command
2299
- .classBuilder()
2300
- .ep(commonParams)
2301
- .m(function (Command, cs, config, o) {
2302
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2303
- })
2304
- .s("SandstoneConfigurationServiceLambda", "DescribeFlow", {})
2305
- .n("AppflowClient", "DescribeFlowCommand")
2306
- .sc(DescribeFlow$)
2307
- .build() {
2223
+ class DescribeFlowCommand extends command(_ep0, _mw0, "DescribeFlow", DescribeFlow$) {
2308
2224
  }
2309
2225
 
2310
- class DescribeFlowExecutionRecordsCommand extends Command
2311
- .classBuilder()
2312
- .ep(commonParams)
2313
- .m(function (Command, cs, config, o) {
2314
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2315
- })
2316
- .s("SandstoneConfigurationServiceLambda", "DescribeFlowExecutionRecords", {})
2317
- .n("AppflowClient", "DescribeFlowExecutionRecordsCommand")
2318
- .sc(DescribeFlowExecutionRecords$)
2319
- .build() {
2226
+ class DescribeFlowExecutionRecordsCommand extends command(_ep0, _mw0, "DescribeFlowExecutionRecords", DescribeFlowExecutionRecords$) {
2320
2227
  }
2321
2228
 
2322
- class ListConnectorEntitiesCommand extends Command
2323
- .classBuilder()
2324
- .ep(commonParams)
2325
- .m(function (Command, cs, config, o) {
2326
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2327
- })
2328
- .s("SandstoneConfigurationServiceLambda", "ListConnectorEntities", {})
2329
- .n("AppflowClient", "ListConnectorEntitiesCommand")
2330
- .sc(ListConnectorEntities$)
2331
- .build() {
2229
+ class ListConnectorEntitiesCommand extends command(_ep0, _mw0, "ListConnectorEntities", ListConnectorEntities$) {
2332
2230
  }
2333
2231
 
2334
- class ListConnectorsCommand extends Command
2335
- .classBuilder()
2336
- .ep(commonParams)
2337
- .m(function (Command, cs, config, o) {
2338
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2339
- })
2340
- .s("SandstoneConfigurationServiceLambda", "ListConnectors", {})
2341
- .n("AppflowClient", "ListConnectorsCommand")
2342
- .sc(ListConnectors$)
2343
- .build() {
2232
+ class ListConnectorsCommand extends command(_ep0, _mw0, "ListConnectors", ListConnectors$) {
2344
2233
  }
2345
2234
 
2346
- class ListFlowsCommand extends Command
2347
- .classBuilder()
2348
- .ep(commonParams)
2349
- .m(function (Command, cs, config, o) {
2350
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2351
- })
2352
- .s("SandstoneConfigurationServiceLambda", "ListFlows", {})
2353
- .n("AppflowClient", "ListFlowsCommand")
2354
- .sc(ListFlows$)
2355
- .build() {
2235
+ class ListFlowsCommand extends command(_ep0, _mw0, "ListFlows", ListFlows$) {
2356
2236
  }
2357
2237
 
2358
- class ListTagsForResourceCommand extends Command
2359
- .classBuilder()
2360
- .ep(commonParams)
2361
- .m(function (Command, cs, config, o) {
2362
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2363
- })
2364
- .s("SandstoneConfigurationServiceLambda", "ListTagsForResource", {})
2365
- .n("AppflowClient", "ListTagsForResourceCommand")
2366
- .sc(ListTagsForResource$)
2367
- .build() {
2238
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
2368
2239
  }
2369
2240
 
2370
- class RegisterConnectorCommand extends Command
2371
- .classBuilder()
2372
- .ep(commonParams)
2373
- .m(function (Command, cs, config, o) {
2374
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2375
- })
2376
- .s("SandstoneConfigurationServiceLambda", "RegisterConnector", {})
2377
- .n("AppflowClient", "RegisterConnectorCommand")
2378
- .sc(RegisterConnector$)
2379
- .build() {
2241
+ class RegisterConnectorCommand extends command(_ep0, _mw0, "RegisterConnector", RegisterConnector$) {
2380
2242
  }
2381
2243
 
2382
- class ResetConnectorMetadataCacheCommand extends Command
2383
- .classBuilder()
2384
- .ep(commonParams)
2385
- .m(function (Command, cs, config, o) {
2386
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2387
- })
2388
- .s("SandstoneConfigurationServiceLambda", "ResetConnectorMetadataCache", {})
2389
- .n("AppflowClient", "ResetConnectorMetadataCacheCommand")
2390
- .sc(ResetConnectorMetadataCache$)
2391
- .build() {
2244
+ class ResetConnectorMetadataCacheCommand extends command(_ep0, _mw0, "ResetConnectorMetadataCache", ResetConnectorMetadataCache$) {
2392
2245
  }
2393
2246
 
2394
- class StartFlowCommand extends Command
2395
- .classBuilder()
2396
- .ep(commonParams)
2397
- .m(function (Command, cs, config, o) {
2398
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2399
- })
2400
- .s("SandstoneConfigurationServiceLambda", "StartFlow", {})
2401
- .n("AppflowClient", "StartFlowCommand")
2402
- .sc(StartFlow$)
2403
- .build() {
2247
+ class StartFlowCommand extends command(_ep0, _mw0, "StartFlow", StartFlow$) {
2404
2248
  }
2405
2249
 
2406
- class StopFlowCommand extends Command
2407
- .classBuilder()
2408
- .ep(commonParams)
2409
- .m(function (Command, cs, config, o) {
2410
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2411
- })
2412
- .s("SandstoneConfigurationServiceLambda", "StopFlow", {})
2413
- .n("AppflowClient", "StopFlowCommand")
2414
- .sc(StopFlow$)
2415
- .build() {
2250
+ class StopFlowCommand extends command(_ep0, _mw0, "StopFlow", StopFlow$) {
2416
2251
  }
2417
2252
 
2418
- class TagResourceCommand extends Command
2419
- .classBuilder()
2420
- .ep(commonParams)
2421
- .m(function (Command, cs, config, o) {
2422
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2423
- })
2424
- .s("SandstoneConfigurationServiceLambda", "TagResource", {})
2425
- .n("AppflowClient", "TagResourceCommand")
2426
- .sc(TagResource$)
2427
- .build() {
2253
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2428
2254
  }
2429
2255
 
2430
- class UnregisterConnectorCommand extends Command
2431
- .classBuilder()
2432
- .ep(commonParams)
2433
- .m(function (Command, cs, config, o) {
2434
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2435
- })
2436
- .s("SandstoneConfigurationServiceLambda", "UnregisterConnector", {})
2437
- .n("AppflowClient", "UnregisterConnectorCommand")
2438
- .sc(UnregisterConnector$)
2439
- .build() {
2256
+ class UnregisterConnectorCommand extends command(_ep0, _mw0, "UnregisterConnector", UnregisterConnector$) {
2440
2257
  }
2441
2258
 
2442
- class UntagResourceCommand extends Command
2443
- .classBuilder()
2444
- .ep(commonParams)
2445
- .m(function (Command, cs, config, o) {
2446
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2447
- })
2448
- .s("SandstoneConfigurationServiceLambda", "UntagResource", {})
2449
- .n("AppflowClient", "UntagResourceCommand")
2450
- .sc(UntagResource$)
2451
- .build() {
2259
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2452
2260
  }
2453
2261
 
2454
- class UpdateConnectorProfileCommand extends Command
2455
- .classBuilder()
2456
- .ep(commonParams)
2457
- .m(function (Command, cs, config, o) {
2458
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2459
- })
2460
- .s("SandstoneConfigurationServiceLambda", "UpdateConnectorProfile", {})
2461
- .n("AppflowClient", "UpdateConnectorProfileCommand")
2462
- .sc(UpdateConnectorProfile$)
2463
- .build() {
2262
+ class UpdateConnectorProfileCommand extends command(_ep0, _mw0, "UpdateConnectorProfile", UpdateConnectorProfile$) {
2464
2263
  }
2465
2264
 
2466
- class UpdateConnectorRegistrationCommand extends Command
2467
- .classBuilder()
2468
- .ep(commonParams)
2469
- .m(function (Command, cs, config, o) {
2470
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2471
- })
2472
- .s("SandstoneConfigurationServiceLambda", "UpdateConnectorRegistration", {})
2473
- .n("AppflowClient", "UpdateConnectorRegistrationCommand")
2474
- .sc(UpdateConnectorRegistration$)
2475
- .build() {
2265
+ class UpdateConnectorRegistrationCommand extends command(_ep0, _mw0, "UpdateConnectorRegistration", UpdateConnectorRegistration$) {
2476
2266
  }
2477
2267
 
2478
- class UpdateFlowCommand extends Command
2479
- .classBuilder()
2480
- .ep(commonParams)
2481
- .m(function (Command, cs, config, o) {
2482
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2483
- })
2484
- .s("SandstoneConfigurationServiceLambda", "UpdateFlow", {})
2485
- .n("AppflowClient", "UpdateFlowCommand")
2486
- .sc(UpdateFlow$)
2487
- .build() {
2268
+ class UpdateFlowCommand extends command(_ep0, _mw0, "UpdateFlow", UpdateFlow$) {
2488
2269
  }
2489
2270
 
2490
2271
  const paginateDescribeConnectorProfiles = createPaginator(AppflowClient, DescribeConnectorProfilesCommand, "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, "SandstoneConfigurationServiceLambda", "AppflowClient", 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 { CancelFlowExecutions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelFlowExecutionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SandstoneConfigurationServiceLambda", "CancelFlowExecutions", {})
13
- .n("AppflowClient", "CancelFlowExecutionsCommand")
14
- .sc(CancelFlowExecutions$)
15
- .build() {
3
+ export class CancelFlowExecutionsCommand extends command(_ep0, _mw0, "CancelFlowExecutions", CancelFlowExecutions$) {
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 { CreateConnectorProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateConnectorProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SandstoneConfigurationServiceLambda", "CreateConnectorProfile", {})
13
- .n("AppflowClient", "CreateConnectorProfileCommand")
14
- .sc(CreateConnectorProfile$)
15
- .build() {
3
+ export class CreateConnectorProfileCommand extends command(_ep0, _mw0, "CreateConnectorProfile", CreateConnectorProfile$) {
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 { CreateFlow$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateFlowCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SandstoneConfigurationServiceLambda", "CreateFlow", {})
13
- .n("AppflowClient", "CreateFlowCommand")
14
- .sc(CreateFlow$)
15
- .build() {
3
+ export class CreateFlowCommand extends command(_ep0, _mw0, "CreateFlow", CreateFlow$) {
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 { DeleteConnectorProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteConnectorProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SandstoneConfigurationServiceLambda", "DeleteConnectorProfile", {})
13
- .n("AppflowClient", "DeleteConnectorProfileCommand")
14
- .sc(DeleteConnectorProfile$)
15
- .build() {
3
+ export class DeleteConnectorProfileCommand extends command(_ep0, _mw0, "DeleteConnectorProfile", DeleteConnectorProfile$) {
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 { DeleteFlow$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteFlowCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SandstoneConfigurationServiceLambda", "DeleteFlow", {})
13
- .n("AppflowClient", "DeleteFlowCommand")
14
- .sc(DeleteFlow$)
15
- .build() {
3
+ export class DeleteFlowCommand extends command(_ep0, _mw0, "DeleteFlow", DeleteFlow$) {
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 { DescribeConnector$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeConnectorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SandstoneConfigurationServiceLambda", "DescribeConnector", {})
13
- .n("AppflowClient", "DescribeConnectorCommand")
14
- .sc(DescribeConnector$)
15
- .build() {
3
+ export class DescribeConnectorCommand extends command(_ep0, _mw0, "DescribeConnector", DescribeConnector$) {
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 { DescribeConnectorEntity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeConnectorEntityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SandstoneConfigurationServiceLambda", "DescribeConnectorEntity", {})
13
- .n("AppflowClient", "DescribeConnectorEntityCommand")
14
- .sc(DescribeConnectorEntity$)
15
- .build() {
3
+ export class DescribeConnectorEntityCommand extends command(_ep0, _mw0, "DescribeConnectorEntity", DescribeConnectorEntity$) {
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 { DescribeConnectorProfiles$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeConnectorProfilesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SandstoneConfigurationServiceLambda", "DescribeConnectorProfiles", {})
13
- .n("AppflowClient", "DescribeConnectorProfilesCommand")
14
- .sc(DescribeConnectorProfiles$)
15
- .build() {
3
+ export class DescribeConnectorProfilesCommand extends command(_ep0, _mw0, "DescribeConnectorProfiles", DescribeConnectorProfiles$) {
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 { DescribeConnectors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeConnectorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SandstoneConfigurationServiceLambda", "DescribeConnectors", {})
13
- .n("AppflowClient", "DescribeConnectorsCommand")
14
- .sc(DescribeConnectors$)
15
- .build() {
3
+ export class DescribeConnectorsCommand extends command(_ep0, _mw0, "DescribeConnectors", DescribeConnectors$) {
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 { DescribeFlow$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeFlowCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SandstoneConfigurationServiceLambda", "DescribeFlow", {})
13
- .n("AppflowClient", "DescribeFlowCommand")
14
- .sc(DescribeFlow$)
15
- .build() {
3
+ export class DescribeFlowCommand extends command(_ep0, _mw0, "DescribeFlow", DescribeFlow$) {
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 { DescribeFlowExecutionRecords$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeFlowExecutionRecordsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SandstoneConfigurationServiceLambda", "DescribeFlowExecutionRecords", {})
13
- .n("AppflowClient", "DescribeFlowExecutionRecordsCommand")
14
- .sc(DescribeFlowExecutionRecords$)
15
- .build() {
3
+ export class DescribeFlowExecutionRecordsCommand extends command(_ep0, _mw0, "DescribeFlowExecutionRecords", DescribeFlowExecutionRecords$) {
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 { ListConnectorEntities$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListConnectorEntitiesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SandstoneConfigurationServiceLambda", "ListConnectorEntities", {})
13
- .n("AppflowClient", "ListConnectorEntitiesCommand")
14
- .sc(ListConnectorEntities$)
15
- .build() {
3
+ export class ListConnectorEntitiesCommand extends command(_ep0, _mw0, "ListConnectorEntities", ListConnectorEntities$) {
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 { ListConnectors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListConnectorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SandstoneConfigurationServiceLambda", "ListConnectors", {})
13
- .n("AppflowClient", "ListConnectorsCommand")
14
- .sc(ListConnectors$)
15
- .build() {
3
+ export class ListConnectorsCommand extends command(_ep0, _mw0, "ListConnectors", ListConnectors$) {
16
4
  }