@aws-sdk/client-codecatalyst 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 (134) hide show
  1. package/dist-cjs/index.js +49 -385
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateAccessTokenCommand.js +2 -14
  4. package/dist-es/commands/CreateDevEnvironmentCommand.js +2 -14
  5. package/dist-es/commands/CreateProjectCommand.js +2 -14
  6. package/dist-es/commands/CreateSourceRepositoryBranchCommand.js +2 -14
  7. package/dist-es/commands/CreateSourceRepositoryCommand.js +2 -14
  8. package/dist-es/commands/DeleteAccessTokenCommand.js +2 -14
  9. package/dist-es/commands/DeleteDevEnvironmentCommand.js +2 -14
  10. package/dist-es/commands/DeleteProjectCommand.js +2 -14
  11. package/dist-es/commands/DeleteSourceRepositoryCommand.js +2 -14
  12. package/dist-es/commands/DeleteSpaceCommand.js +2 -14
  13. package/dist-es/commands/GetDevEnvironmentCommand.js +2 -14
  14. package/dist-es/commands/GetProjectCommand.js +2 -14
  15. package/dist-es/commands/GetSourceRepositoryCloneUrlsCommand.js +2 -14
  16. package/dist-es/commands/GetSourceRepositoryCommand.js +2 -14
  17. package/dist-es/commands/GetSpaceCommand.js +2 -14
  18. package/dist-es/commands/GetSubscriptionCommand.js +2 -14
  19. package/dist-es/commands/GetUserDetailsCommand.js +2 -14
  20. package/dist-es/commands/GetWorkflowCommand.js +2 -14
  21. package/dist-es/commands/GetWorkflowRunCommand.js +2 -14
  22. package/dist-es/commands/ListAccessTokensCommand.js +2 -14
  23. package/dist-es/commands/ListDevEnvironmentSessionsCommand.js +2 -14
  24. package/dist-es/commands/ListDevEnvironmentsCommand.js +2 -14
  25. package/dist-es/commands/ListEventLogsCommand.js +2 -14
  26. package/dist-es/commands/ListProjectsCommand.js +2 -14
  27. package/dist-es/commands/ListSourceRepositoriesCommand.js +2 -14
  28. package/dist-es/commands/ListSourceRepositoryBranchesCommand.js +2 -14
  29. package/dist-es/commands/ListSpacesCommand.js +2 -14
  30. package/dist-es/commands/ListWorkflowRunsCommand.js +2 -14
  31. package/dist-es/commands/ListWorkflowsCommand.js +2 -14
  32. package/dist-es/commands/StartDevEnvironmentCommand.js +2 -14
  33. package/dist-es/commands/StartDevEnvironmentSessionCommand.js +2 -14
  34. package/dist-es/commands/StartWorkflowRunCommand.js +2 -14
  35. package/dist-es/commands/StopDevEnvironmentCommand.js +2 -14
  36. package/dist-es/commands/StopDevEnvironmentSessionCommand.js +2 -14
  37. package/dist-es/commands/UpdateDevEnvironmentCommand.js +2 -14
  38. package/dist-es/commands/UpdateProjectCommand.js +2 -14
  39. package/dist-es/commands/UpdateSpaceCommand.js +2 -14
  40. package/dist-es/commands/VerifySessionCommand.js +2 -14
  41. package/dist-es/index.js +1 -0
  42. package/dist-es/runtimeConfig.browser.js +0 -2
  43. package/dist-es/runtimeConfig.js +1 -2
  44. package/dist-es/runtimeConfig.native.js +0 -2
  45. package/dist-es/runtimeConfig.shared.js +2 -0
  46. package/dist-types/commandBuilder.d.ts +18 -0
  47. package/dist-types/commands/CreateAccessTokenCommand.d.ts +3 -8
  48. package/dist-types/commands/CreateDevEnvironmentCommand.d.ts +3 -8
  49. package/dist-types/commands/CreateProjectCommand.d.ts +3 -8
  50. package/dist-types/commands/CreateSourceRepositoryBranchCommand.d.ts +3 -8
  51. package/dist-types/commands/CreateSourceRepositoryCommand.d.ts +3 -8
  52. package/dist-types/commands/DeleteAccessTokenCommand.d.ts +3 -8
  53. package/dist-types/commands/DeleteDevEnvironmentCommand.d.ts +3 -8
  54. package/dist-types/commands/DeleteProjectCommand.d.ts +3 -8
  55. package/dist-types/commands/DeleteSourceRepositoryCommand.d.ts +3 -8
  56. package/dist-types/commands/DeleteSpaceCommand.d.ts +3 -8
  57. package/dist-types/commands/GetDevEnvironmentCommand.d.ts +3 -8
  58. package/dist-types/commands/GetProjectCommand.d.ts +3 -8
  59. package/dist-types/commands/GetSourceRepositoryCloneUrlsCommand.d.ts +3 -8
  60. package/dist-types/commands/GetSourceRepositoryCommand.d.ts +3 -8
  61. package/dist-types/commands/GetSpaceCommand.d.ts +3 -8
  62. package/dist-types/commands/GetSubscriptionCommand.d.ts +3 -8
  63. package/dist-types/commands/GetUserDetailsCommand.d.ts +3 -8
  64. package/dist-types/commands/GetWorkflowCommand.d.ts +3 -8
  65. package/dist-types/commands/GetWorkflowRunCommand.d.ts +3 -8
  66. package/dist-types/commands/ListAccessTokensCommand.d.ts +3 -8
  67. package/dist-types/commands/ListDevEnvironmentSessionsCommand.d.ts +3 -8
  68. package/dist-types/commands/ListDevEnvironmentsCommand.d.ts +3 -8
  69. package/dist-types/commands/ListEventLogsCommand.d.ts +3 -8
  70. package/dist-types/commands/ListProjectsCommand.d.ts +3 -8
  71. package/dist-types/commands/ListSourceRepositoriesCommand.d.ts +3 -8
  72. package/dist-types/commands/ListSourceRepositoryBranchesCommand.d.ts +3 -8
  73. package/dist-types/commands/ListSpacesCommand.d.ts +3 -8
  74. package/dist-types/commands/ListWorkflowRunsCommand.d.ts +3 -8
  75. package/dist-types/commands/ListWorkflowsCommand.d.ts +3 -8
  76. package/dist-types/commands/StartDevEnvironmentCommand.d.ts +3 -8
  77. package/dist-types/commands/StartDevEnvironmentSessionCommand.d.ts +3 -8
  78. package/dist-types/commands/StartWorkflowRunCommand.d.ts +3 -8
  79. package/dist-types/commands/StopDevEnvironmentCommand.d.ts +3 -8
  80. package/dist-types/commands/StopDevEnvironmentSessionCommand.d.ts +3 -8
  81. package/dist-types/commands/UpdateDevEnvironmentCommand.d.ts +3 -8
  82. package/dist-types/commands/UpdateProjectCommand.d.ts +3 -8
  83. package/dist-types/commands/UpdateSpaceCommand.d.ts +3 -8
  84. package/dist-types/commands/VerifySessionCommand.d.ts +3 -8
  85. package/dist-types/index.d.ts +1 -0
  86. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  87. package/dist-types/runtimeConfig.d.ts +1 -1
  88. package/dist-types/runtimeConfig.native.d.ts +1 -1
  89. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  90. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  91. package/dist-types/ts3.4/commands/CreateAccessTokenCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/CreateDevEnvironmentCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/CreateSourceRepositoryBranchCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/CreateSourceRepositoryCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DeleteAccessTokenCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/DeleteDevEnvironmentCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/DeleteSourceRepositoryCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/DeleteSpaceCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/GetDevEnvironmentCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/GetProjectCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/GetSourceRepositoryCloneUrlsCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/GetSourceRepositoryCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/GetSpaceCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/GetUserDetailsCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/GetWorkflowRunCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/ListAccessTokensCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/ListDevEnvironmentSessionsCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/ListDevEnvironmentsCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/ListEventLogsCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/ListSourceRepositoriesCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/ListSourceRepositoryBranchesCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/ListWorkflowRunsCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/StartDevEnvironmentCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/StartDevEnvironmentSessionCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/StartWorkflowRunCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/StopDevEnvironmentCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/StopDevEnvironmentSessionCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/UpdateDevEnvironmentCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/UpdateSpaceCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/VerifySessionCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/index.d.ts +1 -0
  130. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  131. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  132. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  133. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  134. 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 { memoizeIdentityProvider, isIdentityExpired, doesIdentityRequireRefresh, HttpBearerAuthSigner, 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 { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { nodeProvider } = require("@aws-sdk/token-providers");
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 defaultCodeCatalystHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -61,7 +63,7 @@ const commonParams = {
61
63
  Region: { type: "builtInParams", name: "region" },
62
64
  };
63
65
 
64
- var version = "3.1075.0";
66
+ var version = "3.1077.0";
65
67
  var packageInfo = {
66
68
  version: version};
67
69
 
@@ -1231,6 +1233,7 @@ const getRuntimeConfig$1 = (config) => {
1231
1233
  serviceTarget: "CodeCatalyst",
1232
1234
  },
1233
1235
  serviceId: config?.serviceId ?? "CodeCatalyst",
1236
+ sha256: config?.sha256 ?? Sha256,
1234
1237
  urlParser: config?.urlParser ?? parseUrl,
1235
1238
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1236
1239
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1272,7 +1275,6 @@ const getRuntimeConfig = (config) => {
1272
1275
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1273
1276
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1274
1277
  }, config),
1275
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1276
1278
  streamCollector: config?.streamCollector ?? streamCollector,
1277
1279
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1278
1280
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1360,460 +1362,122 @@ class CodeCatalystClient extends Client {
1360
1362
  }
1361
1363
  }
1362
1364
 
1363
- class CreateAccessTokenCommand extends Command
1364
- .classBuilder()
1365
- .ep(commonParams)
1366
- .m(function (Command, cs, config, o) {
1367
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1368
- })
1369
- .s("CodeCatalyst", "CreateAccessToken", {})
1370
- .n("CodeCatalystClient", "CreateAccessTokenCommand")
1371
- .sc(CreateAccessToken$)
1372
- .build() {
1365
+ const command = makeBuilder(commonParams, "CodeCatalyst", "CodeCatalystClient", getEndpointPlugin);
1366
+ const _ep0 = {};
1367
+ const _mw0 = (Command, cs, config, o) => [];
1368
+
1369
+ class CreateAccessTokenCommand extends command(_ep0, _mw0, "CreateAccessToken", CreateAccessToken$) {
1373
1370
  }
1374
1371
 
1375
- class CreateDevEnvironmentCommand extends Command
1376
- .classBuilder()
1377
- .ep(commonParams)
1378
- .m(function (Command, cs, config, o) {
1379
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1380
- })
1381
- .s("CodeCatalyst", "CreateDevEnvironment", {})
1382
- .n("CodeCatalystClient", "CreateDevEnvironmentCommand")
1383
- .sc(CreateDevEnvironment$)
1384
- .build() {
1372
+ class CreateDevEnvironmentCommand extends command(_ep0, _mw0, "CreateDevEnvironment", CreateDevEnvironment$) {
1385
1373
  }
1386
1374
 
1387
- class CreateProjectCommand extends Command
1388
- .classBuilder()
1389
- .ep(commonParams)
1390
- .m(function (Command, cs, config, o) {
1391
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1392
- })
1393
- .s("CodeCatalyst", "CreateProject", {})
1394
- .n("CodeCatalystClient", "CreateProjectCommand")
1395
- .sc(CreateProject$)
1396
- .build() {
1375
+ class CreateProjectCommand extends command(_ep0, _mw0, "CreateProject", CreateProject$) {
1397
1376
  }
1398
1377
 
1399
- class CreateSourceRepositoryBranchCommand extends Command
1400
- .classBuilder()
1401
- .ep(commonParams)
1402
- .m(function (Command, cs, config, o) {
1403
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1404
- })
1405
- .s("CodeCatalyst", "CreateSourceRepositoryBranch", {})
1406
- .n("CodeCatalystClient", "CreateSourceRepositoryBranchCommand")
1407
- .sc(CreateSourceRepositoryBranch$)
1408
- .build() {
1378
+ class CreateSourceRepositoryBranchCommand extends command(_ep0, _mw0, "CreateSourceRepositoryBranch", CreateSourceRepositoryBranch$) {
1409
1379
  }
1410
1380
 
1411
- class CreateSourceRepositoryCommand extends Command
1412
- .classBuilder()
1413
- .ep(commonParams)
1414
- .m(function (Command, cs, config, o) {
1415
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1416
- })
1417
- .s("CodeCatalyst", "CreateSourceRepository", {})
1418
- .n("CodeCatalystClient", "CreateSourceRepositoryCommand")
1419
- .sc(CreateSourceRepository$)
1420
- .build() {
1381
+ class CreateSourceRepositoryCommand extends command(_ep0, _mw0, "CreateSourceRepository", CreateSourceRepository$) {
1421
1382
  }
1422
1383
 
1423
- class DeleteAccessTokenCommand extends Command
1424
- .classBuilder()
1425
- .ep(commonParams)
1426
- .m(function (Command, cs, config, o) {
1427
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1428
- })
1429
- .s("CodeCatalyst", "DeleteAccessToken", {})
1430
- .n("CodeCatalystClient", "DeleteAccessTokenCommand")
1431
- .sc(DeleteAccessToken$)
1432
- .build() {
1384
+ class DeleteAccessTokenCommand extends command(_ep0, _mw0, "DeleteAccessToken", DeleteAccessToken$) {
1433
1385
  }
1434
1386
 
1435
- class DeleteDevEnvironmentCommand extends Command
1436
- .classBuilder()
1437
- .ep(commonParams)
1438
- .m(function (Command, cs, config, o) {
1439
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1440
- })
1441
- .s("CodeCatalyst", "DeleteDevEnvironment", {})
1442
- .n("CodeCatalystClient", "DeleteDevEnvironmentCommand")
1443
- .sc(DeleteDevEnvironment$)
1444
- .build() {
1387
+ class DeleteDevEnvironmentCommand extends command(_ep0, _mw0, "DeleteDevEnvironment", DeleteDevEnvironment$) {
1445
1388
  }
1446
1389
 
1447
- class DeleteProjectCommand extends Command
1448
- .classBuilder()
1449
- .ep(commonParams)
1450
- .m(function (Command, cs, config, o) {
1451
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1452
- })
1453
- .s("CodeCatalyst", "DeleteProject", {})
1454
- .n("CodeCatalystClient", "DeleteProjectCommand")
1455
- .sc(DeleteProject$)
1456
- .build() {
1390
+ class DeleteProjectCommand extends command(_ep0, _mw0, "DeleteProject", DeleteProject$) {
1457
1391
  }
1458
1392
 
1459
- class DeleteSourceRepositoryCommand extends Command
1460
- .classBuilder()
1461
- .ep(commonParams)
1462
- .m(function (Command, cs, config, o) {
1463
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1464
- })
1465
- .s("CodeCatalyst", "DeleteSourceRepository", {})
1466
- .n("CodeCatalystClient", "DeleteSourceRepositoryCommand")
1467
- .sc(DeleteSourceRepository$)
1468
- .build() {
1393
+ class DeleteSourceRepositoryCommand extends command(_ep0, _mw0, "DeleteSourceRepository", DeleteSourceRepository$) {
1469
1394
  }
1470
1395
 
1471
- class DeleteSpaceCommand extends Command
1472
- .classBuilder()
1473
- .ep(commonParams)
1474
- .m(function (Command, cs, config, o) {
1475
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1476
- })
1477
- .s("CodeCatalyst", "DeleteSpace", {})
1478
- .n("CodeCatalystClient", "DeleteSpaceCommand")
1479
- .sc(DeleteSpace$)
1480
- .build() {
1396
+ class DeleteSpaceCommand extends command(_ep0, _mw0, "DeleteSpace", DeleteSpace$) {
1481
1397
  }
1482
1398
 
1483
- class GetDevEnvironmentCommand extends Command
1484
- .classBuilder()
1485
- .ep(commonParams)
1486
- .m(function (Command, cs, config, o) {
1487
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1488
- })
1489
- .s("CodeCatalyst", "GetDevEnvironment", {})
1490
- .n("CodeCatalystClient", "GetDevEnvironmentCommand")
1491
- .sc(GetDevEnvironment$)
1492
- .build() {
1399
+ class GetDevEnvironmentCommand extends command(_ep0, _mw0, "GetDevEnvironment", GetDevEnvironment$) {
1493
1400
  }
1494
1401
 
1495
- class GetProjectCommand extends Command
1496
- .classBuilder()
1497
- .ep(commonParams)
1498
- .m(function (Command, cs, config, o) {
1499
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1500
- })
1501
- .s("CodeCatalyst", "GetProject", {})
1502
- .n("CodeCatalystClient", "GetProjectCommand")
1503
- .sc(GetProject$)
1504
- .build() {
1402
+ class GetProjectCommand extends command(_ep0, _mw0, "GetProject", GetProject$) {
1505
1403
  }
1506
1404
 
1507
- class GetSourceRepositoryCloneUrlsCommand extends Command
1508
- .classBuilder()
1509
- .ep(commonParams)
1510
- .m(function (Command, cs, config, o) {
1511
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1512
- })
1513
- .s("CodeCatalyst", "GetSourceRepositoryCloneUrls", {})
1514
- .n("CodeCatalystClient", "GetSourceRepositoryCloneUrlsCommand")
1515
- .sc(GetSourceRepositoryCloneUrls$)
1516
- .build() {
1405
+ class GetSourceRepositoryCloneUrlsCommand extends command(_ep0, _mw0, "GetSourceRepositoryCloneUrls", GetSourceRepositoryCloneUrls$) {
1517
1406
  }
1518
1407
 
1519
- class GetSourceRepositoryCommand extends Command
1520
- .classBuilder()
1521
- .ep(commonParams)
1522
- .m(function (Command, cs, config, o) {
1523
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1524
- })
1525
- .s("CodeCatalyst", "GetSourceRepository", {})
1526
- .n("CodeCatalystClient", "GetSourceRepositoryCommand")
1527
- .sc(GetSourceRepository$)
1528
- .build() {
1408
+ class GetSourceRepositoryCommand extends command(_ep0, _mw0, "GetSourceRepository", GetSourceRepository$) {
1529
1409
  }
1530
1410
 
1531
- class GetSpaceCommand extends Command
1532
- .classBuilder()
1533
- .ep(commonParams)
1534
- .m(function (Command, cs, config, o) {
1535
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1536
- })
1537
- .s("CodeCatalyst", "GetSpace", {})
1538
- .n("CodeCatalystClient", "GetSpaceCommand")
1539
- .sc(GetSpace$)
1540
- .build() {
1411
+ class GetSpaceCommand extends command(_ep0, _mw0, "GetSpace", GetSpace$) {
1541
1412
  }
1542
1413
 
1543
- class GetSubscriptionCommand extends Command
1544
- .classBuilder()
1545
- .ep(commonParams)
1546
- .m(function (Command, cs, config, o) {
1547
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1548
- })
1549
- .s("CodeCatalyst", "GetSubscription", {})
1550
- .n("CodeCatalystClient", "GetSubscriptionCommand")
1551
- .sc(GetSubscription$)
1552
- .build() {
1414
+ class GetSubscriptionCommand extends command(_ep0, _mw0, "GetSubscription", GetSubscription$) {
1553
1415
  }
1554
1416
 
1555
- class GetUserDetailsCommand extends Command
1556
- .classBuilder()
1557
- .ep(commonParams)
1558
- .m(function (Command, cs, config, o) {
1559
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1560
- })
1561
- .s("CodeCatalyst", "GetUserDetails", {})
1562
- .n("CodeCatalystClient", "GetUserDetailsCommand")
1563
- .sc(GetUserDetails$)
1564
- .build() {
1417
+ class GetUserDetailsCommand extends command(_ep0, _mw0, "GetUserDetails", GetUserDetails$) {
1565
1418
  }
1566
1419
 
1567
- class GetWorkflowCommand extends Command
1568
- .classBuilder()
1569
- .ep(commonParams)
1570
- .m(function (Command, cs, config, o) {
1571
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1572
- })
1573
- .s("CodeCatalyst", "GetWorkflow", {})
1574
- .n("CodeCatalystClient", "GetWorkflowCommand")
1575
- .sc(GetWorkflow$)
1576
- .build() {
1420
+ class GetWorkflowCommand extends command(_ep0, _mw0, "GetWorkflow", GetWorkflow$) {
1577
1421
  }
1578
1422
 
1579
- class GetWorkflowRunCommand extends Command
1580
- .classBuilder()
1581
- .ep(commonParams)
1582
- .m(function (Command, cs, config, o) {
1583
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1584
- })
1585
- .s("CodeCatalyst", "GetWorkflowRun", {})
1586
- .n("CodeCatalystClient", "GetWorkflowRunCommand")
1587
- .sc(GetWorkflowRun$)
1588
- .build() {
1423
+ class GetWorkflowRunCommand extends command(_ep0, _mw0, "GetWorkflowRun", GetWorkflowRun$) {
1589
1424
  }
1590
1425
 
1591
- class ListAccessTokensCommand extends Command
1592
- .classBuilder()
1593
- .ep(commonParams)
1594
- .m(function (Command, cs, config, o) {
1595
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1596
- })
1597
- .s("CodeCatalyst", "ListAccessTokens", {})
1598
- .n("CodeCatalystClient", "ListAccessTokensCommand")
1599
- .sc(ListAccessTokens$)
1600
- .build() {
1426
+ class ListAccessTokensCommand extends command(_ep0, _mw0, "ListAccessTokens", ListAccessTokens$) {
1601
1427
  }
1602
1428
 
1603
- class ListDevEnvironmentsCommand extends Command
1604
- .classBuilder()
1605
- .ep(commonParams)
1606
- .m(function (Command, cs, config, o) {
1607
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1608
- })
1609
- .s("CodeCatalyst", "ListDevEnvironments", {})
1610
- .n("CodeCatalystClient", "ListDevEnvironmentsCommand")
1611
- .sc(ListDevEnvironments$)
1612
- .build() {
1429
+ class ListDevEnvironmentsCommand extends command(_ep0, _mw0, "ListDevEnvironments", ListDevEnvironments$) {
1613
1430
  }
1614
1431
 
1615
- class ListDevEnvironmentSessionsCommand extends Command
1616
- .classBuilder()
1617
- .ep(commonParams)
1618
- .m(function (Command, cs, config, o) {
1619
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1620
- })
1621
- .s("CodeCatalyst", "ListDevEnvironmentSessions", {})
1622
- .n("CodeCatalystClient", "ListDevEnvironmentSessionsCommand")
1623
- .sc(ListDevEnvironmentSessions$)
1624
- .build() {
1432
+ class ListDevEnvironmentSessionsCommand extends command(_ep0, _mw0, "ListDevEnvironmentSessions", ListDevEnvironmentSessions$) {
1625
1433
  }
1626
1434
 
1627
- class ListEventLogsCommand extends Command
1628
- .classBuilder()
1629
- .ep(commonParams)
1630
- .m(function (Command, cs, config, o) {
1631
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1632
- })
1633
- .s("CodeCatalyst", "ListEventLogs", {})
1634
- .n("CodeCatalystClient", "ListEventLogsCommand")
1635
- .sc(ListEventLogs$)
1636
- .build() {
1435
+ class ListEventLogsCommand extends command(_ep0, _mw0, "ListEventLogs", ListEventLogs$) {
1637
1436
  }
1638
1437
 
1639
- class ListProjectsCommand extends Command
1640
- .classBuilder()
1641
- .ep(commonParams)
1642
- .m(function (Command, cs, config, o) {
1643
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1644
- })
1645
- .s("CodeCatalyst", "ListProjects", {})
1646
- .n("CodeCatalystClient", "ListProjectsCommand")
1647
- .sc(ListProjects$)
1648
- .build() {
1438
+ class ListProjectsCommand extends command(_ep0, _mw0, "ListProjects", ListProjects$) {
1649
1439
  }
1650
1440
 
1651
- class ListSourceRepositoriesCommand extends Command
1652
- .classBuilder()
1653
- .ep(commonParams)
1654
- .m(function (Command, cs, config, o) {
1655
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1656
- })
1657
- .s("CodeCatalyst", "ListSourceRepositories", {})
1658
- .n("CodeCatalystClient", "ListSourceRepositoriesCommand")
1659
- .sc(ListSourceRepositories$)
1660
- .build() {
1441
+ class ListSourceRepositoriesCommand extends command(_ep0, _mw0, "ListSourceRepositories", ListSourceRepositories$) {
1661
1442
  }
1662
1443
 
1663
- class ListSourceRepositoryBranchesCommand extends Command
1664
- .classBuilder()
1665
- .ep(commonParams)
1666
- .m(function (Command, cs, config, o) {
1667
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1668
- })
1669
- .s("CodeCatalyst", "ListSourceRepositoryBranches", {})
1670
- .n("CodeCatalystClient", "ListSourceRepositoryBranchesCommand")
1671
- .sc(ListSourceRepositoryBranches$)
1672
- .build() {
1444
+ class ListSourceRepositoryBranchesCommand extends command(_ep0, _mw0, "ListSourceRepositoryBranches", ListSourceRepositoryBranches$) {
1673
1445
  }
1674
1446
 
1675
- class ListSpacesCommand extends Command
1676
- .classBuilder()
1677
- .ep(commonParams)
1678
- .m(function (Command, cs, config, o) {
1679
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1680
- })
1681
- .s("CodeCatalyst", "ListSpaces", {})
1682
- .n("CodeCatalystClient", "ListSpacesCommand")
1683
- .sc(ListSpaces$)
1684
- .build() {
1447
+ class ListSpacesCommand extends command(_ep0, _mw0, "ListSpaces", ListSpaces$) {
1685
1448
  }
1686
1449
 
1687
- class ListWorkflowRunsCommand extends Command
1688
- .classBuilder()
1689
- .ep(commonParams)
1690
- .m(function (Command, cs, config, o) {
1691
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1692
- })
1693
- .s("CodeCatalyst", "ListWorkflowRuns", {})
1694
- .n("CodeCatalystClient", "ListWorkflowRunsCommand")
1695
- .sc(ListWorkflowRuns$)
1696
- .build() {
1450
+ class ListWorkflowRunsCommand extends command(_ep0, _mw0, "ListWorkflowRuns", ListWorkflowRuns$) {
1697
1451
  }
1698
1452
 
1699
- class ListWorkflowsCommand extends Command
1700
- .classBuilder()
1701
- .ep(commonParams)
1702
- .m(function (Command, cs, config, o) {
1703
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1704
- })
1705
- .s("CodeCatalyst", "ListWorkflows", {})
1706
- .n("CodeCatalystClient", "ListWorkflowsCommand")
1707
- .sc(ListWorkflows$)
1708
- .build() {
1453
+ class ListWorkflowsCommand extends command(_ep0, _mw0, "ListWorkflows", ListWorkflows$) {
1709
1454
  }
1710
1455
 
1711
- class StartDevEnvironmentCommand extends Command
1712
- .classBuilder()
1713
- .ep(commonParams)
1714
- .m(function (Command, cs, config, o) {
1715
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1716
- })
1717
- .s("CodeCatalyst", "StartDevEnvironment", {})
1718
- .n("CodeCatalystClient", "StartDevEnvironmentCommand")
1719
- .sc(StartDevEnvironment$)
1720
- .build() {
1456
+ class StartDevEnvironmentCommand extends command(_ep0, _mw0, "StartDevEnvironment", StartDevEnvironment$) {
1721
1457
  }
1722
1458
 
1723
- class StartDevEnvironmentSessionCommand extends Command
1724
- .classBuilder()
1725
- .ep(commonParams)
1726
- .m(function (Command, cs, config, o) {
1727
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1728
- })
1729
- .s("CodeCatalyst", "StartDevEnvironmentSession", {})
1730
- .n("CodeCatalystClient", "StartDevEnvironmentSessionCommand")
1731
- .sc(StartDevEnvironmentSession$)
1732
- .build() {
1459
+ class StartDevEnvironmentSessionCommand extends command(_ep0, _mw0, "StartDevEnvironmentSession", StartDevEnvironmentSession$) {
1733
1460
  }
1734
1461
 
1735
- class StartWorkflowRunCommand extends Command
1736
- .classBuilder()
1737
- .ep(commonParams)
1738
- .m(function (Command, cs, config, o) {
1739
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1740
- })
1741
- .s("CodeCatalyst", "StartWorkflowRun", {})
1742
- .n("CodeCatalystClient", "StartWorkflowRunCommand")
1743
- .sc(StartWorkflowRun$)
1744
- .build() {
1462
+ class StartWorkflowRunCommand extends command(_ep0, _mw0, "StartWorkflowRun", StartWorkflowRun$) {
1745
1463
  }
1746
1464
 
1747
- class StopDevEnvironmentCommand extends Command
1748
- .classBuilder()
1749
- .ep(commonParams)
1750
- .m(function (Command, cs, config, o) {
1751
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1752
- })
1753
- .s("CodeCatalyst", "StopDevEnvironment", {})
1754
- .n("CodeCatalystClient", "StopDevEnvironmentCommand")
1755
- .sc(StopDevEnvironment$)
1756
- .build() {
1465
+ class StopDevEnvironmentCommand extends command(_ep0, _mw0, "StopDevEnvironment", StopDevEnvironment$) {
1757
1466
  }
1758
1467
 
1759
- class StopDevEnvironmentSessionCommand extends Command
1760
- .classBuilder()
1761
- .ep(commonParams)
1762
- .m(function (Command, cs, config, o) {
1763
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1764
- })
1765
- .s("CodeCatalyst", "StopDevEnvironmentSession", {})
1766
- .n("CodeCatalystClient", "StopDevEnvironmentSessionCommand")
1767
- .sc(StopDevEnvironmentSession$)
1768
- .build() {
1468
+ class StopDevEnvironmentSessionCommand extends command(_ep0, _mw0, "StopDevEnvironmentSession", StopDevEnvironmentSession$) {
1769
1469
  }
1770
1470
 
1771
- class UpdateDevEnvironmentCommand extends Command
1772
- .classBuilder()
1773
- .ep(commonParams)
1774
- .m(function (Command, cs, config, o) {
1775
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1776
- })
1777
- .s("CodeCatalyst", "UpdateDevEnvironment", {})
1778
- .n("CodeCatalystClient", "UpdateDevEnvironmentCommand")
1779
- .sc(UpdateDevEnvironment$)
1780
- .build() {
1471
+ class UpdateDevEnvironmentCommand extends command(_ep0, _mw0, "UpdateDevEnvironment", UpdateDevEnvironment$) {
1781
1472
  }
1782
1473
 
1783
- class UpdateProjectCommand extends Command
1784
- .classBuilder()
1785
- .ep(commonParams)
1786
- .m(function (Command, cs, config, o) {
1787
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1788
- })
1789
- .s("CodeCatalyst", "UpdateProject", {})
1790
- .n("CodeCatalystClient", "UpdateProjectCommand")
1791
- .sc(UpdateProject$)
1792
- .build() {
1474
+ class UpdateProjectCommand extends command(_ep0, _mw0, "UpdateProject", UpdateProject$) {
1793
1475
  }
1794
1476
 
1795
- class UpdateSpaceCommand extends Command
1796
- .classBuilder()
1797
- .ep(commonParams)
1798
- .m(function (Command, cs, config, o) {
1799
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1800
- })
1801
- .s("CodeCatalyst", "UpdateSpace", {})
1802
- .n("CodeCatalystClient", "UpdateSpaceCommand")
1803
- .sc(UpdateSpace$)
1804
- .build() {
1477
+ class UpdateSpaceCommand extends command(_ep0, _mw0, "UpdateSpace", UpdateSpace$) {
1805
1478
  }
1806
1479
 
1807
- class VerifySessionCommand extends Command
1808
- .classBuilder()
1809
- .ep(commonParams)
1810
- .m(function (Command, cs, config, o) {
1811
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1812
- })
1813
- .s("CodeCatalyst", "VerifySession", {})
1814
- .n("CodeCatalystClient", "VerifySessionCommand")
1815
- .sc(VerifySession$)
1816
- .build() {
1480
+ class VerifySessionCommand extends command(_ep0, _mw0, "VerifySession", VerifySession$) {
1817
1481
  }
1818
1482
 
1819
1483
  const paginateListAccessTokens = createPaginator(CodeCatalystClient, ListAccessTokensCommand, "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, "CodeCatalyst", "CodeCatalystClient", 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 { CreateAccessToken$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAccessTokenCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeCatalyst", "CreateAccessToken", {})
13
- .n("CodeCatalystClient", "CreateAccessTokenCommand")
14
- .sc(CreateAccessToken$)
15
- .build() {
3
+ export class CreateAccessTokenCommand extends command(_ep0, _mw0, "CreateAccessToken", CreateAccessToken$) {
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 { CreateDevEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDevEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeCatalyst", "CreateDevEnvironment", {})
13
- .n("CodeCatalystClient", "CreateDevEnvironmentCommand")
14
- .sc(CreateDevEnvironment$)
15
- .build() {
3
+ export class CreateDevEnvironmentCommand extends command(_ep0, _mw0, "CreateDevEnvironment", CreateDevEnvironment$) {
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 { CreateProject$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateProjectCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeCatalyst", "CreateProject", {})
13
- .n("CodeCatalystClient", "CreateProjectCommand")
14
- .sc(CreateProject$)
15
- .build() {
3
+ export class CreateProjectCommand extends command(_ep0, _mw0, "CreateProject", CreateProject$) {
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 { CreateSourceRepositoryBranch$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSourceRepositoryBranchCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeCatalyst", "CreateSourceRepositoryBranch", {})
13
- .n("CodeCatalystClient", "CreateSourceRepositoryBranchCommand")
14
- .sc(CreateSourceRepositoryBranch$)
15
- .build() {
3
+ export class CreateSourceRepositoryBranchCommand extends command(_ep0, _mw0, "CreateSourceRepositoryBranch", CreateSourceRepositoryBranch$) {
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 { CreateSourceRepository$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSourceRepositoryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CodeCatalyst", "CreateSourceRepository", {})
13
- .n("CodeCatalystClient", "CreateSourceRepositoryCommand")
14
- .sc(CreateSourceRepository$)
15
- .build() {
3
+ export class CreateSourceRepositoryCommand extends command(_ep0, _mw0, "CreateSourceRepository", CreateSourceRepository$) {
16
4
  }