@aws-sdk/client-marketplace-catalog 3.1077.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 (47) hide show
  1. package/dist-cjs/index.js +21 -133
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchDescribeEntitiesCommand.js +2 -14
  4. package/dist-es/commands/CancelChangeSetCommand.js +2 -14
  5. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
  6. package/dist-es/commands/DescribeChangeSetCommand.js +2 -14
  7. package/dist-es/commands/DescribeEntityCommand.js +2 -14
  8. package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
  9. package/dist-es/commands/ListChangeSetsCommand.js +2 -14
  10. package/dist-es/commands/ListEntitiesCommand.js +2 -14
  11. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  12. package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
  13. package/dist-es/commands/StartChangeSetCommand.js +2 -14
  14. package/dist-es/commands/TagResourceCommand.js +2 -14
  15. package/dist-es/commands/UntagResourceCommand.js +2 -14
  16. package/dist-es/index.js +1 -0
  17. package/dist-types/commandBuilder.d.ts +18 -0
  18. package/dist-types/commands/BatchDescribeEntitiesCommand.d.ts +3 -8
  19. package/dist-types/commands/CancelChangeSetCommand.d.ts +3 -8
  20. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  21. package/dist-types/commands/DescribeChangeSetCommand.d.ts +3 -8
  22. package/dist-types/commands/DescribeEntityCommand.d.ts +3 -8
  23. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  24. package/dist-types/commands/ListChangeSetsCommand.d.ts +3 -8
  25. package/dist-types/commands/ListEntitiesCommand.d.ts +3 -8
  26. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  27. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  28. package/dist-types/commands/StartChangeSetCommand.d.ts +3 -8
  29. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  30. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  31. package/dist-types/index.d.ts +1 -0
  32. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  33. package/dist-types/ts3.4/commands/BatchDescribeEntitiesCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/CancelChangeSetCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/DescribeChangeSetCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/DescribeEntityCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/ListChangeSetsCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/ListEntitiesCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/StartChangeSetCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/index.d.ts +1 -0
  47. package/package.json +8 -8
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");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1401,160 +1402,47 @@ class MarketplaceCatalogClient extends Client {
1401
1402
  }
1402
1403
  }
1403
1404
 
1404
- class BatchDescribeEntitiesCommand extends Command
1405
- .classBuilder()
1406
- .ep(commonParams)
1407
- .m(function (Command, cs, config, o) {
1408
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1409
- })
1410
- .s("AWSMPSeymour", "BatchDescribeEntities", {})
1411
- .n("MarketplaceCatalogClient", "BatchDescribeEntitiesCommand")
1412
- .sc(BatchDescribeEntities$)
1413
- .build() {
1405
+ const command = makeBuilder(commonParams, "AWSMPSeymour", "MarketplaceCatalogClient", getEndpointPlugin);
1406
+ const _ep0 = {};
1407
+ const _mw0 = (Command, cs, config, o) => [];
1408
+
1409
+ class BatchDescribeEntitiesCommand extends command(_ep0, _mw0, "BatchDescribeEntities", BatchDescribeEntities$) {
1414
1410
  }
1415
1411
 
1416
- class CancelChangeSetCommand extends Command
1417
- .classBuilder()
1418
- .ep(commonParams)
1419
- .m(function (Command, cs, config, o) {
1420
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1421
- })
1422
- .s("AWSMPSeymour", "CancelChangeSet", {})
1423
- .n("MarketplaceCatalogClient", "CancelChangeSetCommand")
1424
- .sc(CancelChangeSet$)
1425
- .build() {
1412
+ class CancelChangeSetCommand extends command(_ep0, _mw0, "CancelChangeSet", CancelChangeSet$) {
1426
1413
  }
1427
1414
 
1428
- class DeleteResourcePolicyCommand extends Command
1429
- .classBuilder()
1430
- .ep(commonParams)
1431
- .m(function (Command, cs, config, o) {
1432
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1433
- })
1434
- .s("AWSMPSeymour", "DeleteResourcePolicy", {})
1435
- .n("MarketplaceCatalogClient", "DeleteResourcePolicyCommand")
1436
- .sc(DeleteResourcePolicy$)
1437
- .build() {
1415
+ class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
1438
1416
  }
1439
1417
 
1440
- class DescribeChangeSetCommand extends Command
1441
- .classBuilder()
1442
- .ep(commonParams)
1443
- .m(function (Command, cs, config, o) {
1444
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1445
- })
1446
- .s("AWSMPSeymour", "DescribeChangeSet", {})
1447
- .n("MarketplaceCatalogClient", "DescribeChangeSetCommand")
1448
- .sc(DescribeChangeSet$)
1449
- .build() {
1418
+ class DescribeChangeSetCommand extends command(_ep0, _mw0, "DescribeChangeSet", DescribeChangeSet$) {
1450
1419
  }
1451
1420
 
1452
- class DescribeEntityCommand extends Command
1453
- .classBuilder()
1454
- .ep(commonParams)
1455
- .m(function (Command, cs, config, o) {
1456
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1457
- })
1458
- .s("AWSMPSeymour", "DescribeEntity", {})
1459
- .n("MarketplaceCatalogClient", "DescribeEntityCommand")
1460
- .sc(DescribeEntity$)
1461
- .build() {
1421
+ class DescribeEntityCommand extends command(_ep0, _mw0, "DescribeEntity", DescribeEntity$) {
1462
1422
  }
1463
1423
 
1464
- class GetResourcePolicyCommand extends Command
1465
- .classBuilder()
1466
- .ep(commonParams)
1467
- .m(function (Command, cs, config, o) {
1468
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1469
- })
1470
- .s("AWSMPSeymour", "GetResourcePolicy", {})
1471
- .n("MarketplaceCatalogClient", "GetResourcePolicyCommand")
1472
- .sc(GetResourcePolicy$)
1473
- .build() {
1424
+ class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
1474
1425
  }
1475
1426
 
1476
- class ListChangeSetsCommand extends Command
1477
- .classBuilder()
1478
- .ep(commonParams)
1479
- .m(function (Command, cs, config, o) {
1480
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1481
- })
1482
- .s("AWSMPSeymour", "ListChangeSets", {})
1483
- .n("MarketplaceCatalogClient", "ListChangeSetsCommand")
1484
- .sc(ListChangeSets$)
1485
- .build() {
1427
+ class ListChangeSetsCommand extends command(_ep0, _mw0, "ListChangeSets", ListChangeSets$) {
1486
1428
  }
1487
1429
 
1488
- class ListEntitiesCommand extends Command
1489
- .classBuilder()
1490
- .ep(commonParams)
1491
- .m(function (Command, cs, config, o) {
1492
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1493
- })
1494
- .s("AWSMPSeymour", "ListEntities", {})
1495
- .n("MarketplaceCatalogClient", "ListEntitiesCommand")
1496
- .sc(ListEntities$)
1497
- .build() {
1430
+ class ListEntitiesCommand extends command(_ep0, _mw0, "ListEntities", ListEntities$) {
1498
1431
  }
1499
1432
 
1500
- class ListTagsForResourceCommand extends Command
1501
- .classBuilder()
1502
- .ep(commonParams)
1503
- .m(function (Command, cs, config, o) {
1504
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1505
- })
1506
- .s("AWSMPSeymour", "ListTagsForResource", {})
1507
- .n("MarketplaceCatalogClient", "ListTagsForResourceCommand")
1508
- .sc(ListTagsForResource$)
1509
- .build() {
1433
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1510
1434
  }
1511
1435
 
1512
- class PutResourcePolicyCommand extends Command
1513
- .classBuilder()
1514
- .ep(commonParams)
1515
- .m(function (Command, cs, config, o) {
1516
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1517
- })
1518
- .s("AWSMPSeymour", "PutResourcePolicy", {})
1519
- .n("MarketplaceCatalogClient", "PutResourcePolicyCommand")
1520
- .sc(PutResourcePolicy$)
1521
- .build() {
1436
+ class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
1522
1437
  }
1523
1438
 
1524
- class StartChangeSetCommand extends Command
1525
- .classBuilder()
1526
- .ep(commonParams)
1527
- .m(function (Command, cs, config, o) {
1528
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1529
- })
1530
- .s("AWSMPSeymour", "StartChangeSet", {})
1531
- .n("MarketplaceCatalogClient", "StartChangeSetCommand")
1532
- .sc(StartChangeSet$)
1533
- .build() {
1439
+ class StartChangeSetCommand extends command(_ep0, _mw0, "StartChangeSet", StartChangeSet$) {
1534
1440
  }
1535
1441
 
1536
- class TagResourceCommand extends Command
1537
- .classBuilder()
1538
- .ep(commonParams)
1539
- .m(function (Command, cs, config, o) {
1540
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1541
- })
1542
- .s("AWSMPSeymour", "TagResource", {})
1543
- .n("MarketplaceCatalogClient", "TagResourceCommand")
1544
- .sc(TagResource$)
1545
- .build() {
1442
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1546
1443
  }
1547
1444
 
1548
- class UntagResourceCommand extends Command
1549
- .classBuilder()
1550
- .ep(commonParams)
1551
- .m(function (Command, cs, config, o) {
1552
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1553
- })
1554
- .s("AWSMPSeymour", "UntagResource", {})
1555
- .n("MarketplaceCatalogClient", "UntagResourceCommand")
1556
- .sc(UntagResource$)
1557
- .build() {
1445
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1558
1446
  }
1559
1447
 
1560
1448
  const paginateListChangeSets = createPaginator(MarketplaceCatalogClient, ListChangeSetsCommand, "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, "AWSMPSeymour", "MarketplaceCatalogClient", 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 { BatchDescribeEntities$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchDescribeEntitiesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPSeymour", "BatchDescribeEntities", {})
13
- .n("MarketplaceCatalogClient", "BatchDescribeEntitiesCommand")
14
- .sc(BatchDescribeEntities$)
15
- .build() {
3
+ export class BatchDescribeEntitiesCommand extends command(_ep0, _mw0, "BatchDescribeEntities", BatchDescribeEntities$) {
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 { CancelChangeSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelChangeSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPSeymour", "CancelChangeSet", {})
13
- .n("MarketplaceCatalogClient", "CancelChangeSetCommand")
14
- .sc(CancelChangeSet$)
15
- .build() {
3
+ export class CancelChangeSetCommand extends command(_ep0, _mw0, "CancelChangeSet", CancelChangeSet$) {
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 { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPSeymour", "DeleteResourcePolicy", {})
13
- .n("MarketplaceCatalogClient", "DeleteResourcePolicyCommand")
14
- .sc(DeleteResourcePolicy$)
15
- .build() {
3
+ export class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
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 { DescribeChangeSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeChangeSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPSeymour", "DescribeChangeSet", {})
13
- .n("MarketplaceCatalogClient", "DescribeChangeSetCommand")
14
- .sc(DescribeChangeSet$)
15
- .build() {
3
+ export class DescribeChangeSetCommand extends command(_ep0, _mw0, "DescribeChangeSet", DescribeChangeSet$) {
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 { DescribeEntity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEntityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPSeymour", "DescribeEntity", {})
13
- .n("MarketplaceCatalogClient", "DescribeEntityCommand")
14
- .sc(DescribeEntity$)
15
- .build() {
3
+ export class DescribeEntityCommand extends command(_ep0, _mw0, "DescribeEntity", DescribeEntity$) {
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("AWSMPSeymour", "GetResourcePolicy", {})
13
- .n("MarketplaceCatalogClient", "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 { ListChangeSets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListChangeSetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPSeymour", "ListChangeSets", {})
13
- .n("MarketplaceCatalogClient", "ListChangeSetsCommand")
14
- .sc(ListChangeSets$)
15
- .build() {
3
+ export class ListChangeSetsCommand extends command(_ep0, _mw0, "ListChangeSets", ListChangeSets$) {
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 { ListEntities$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEntitiesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPSeymour", "ListEntities", {})
13
- .n("MarketplaceCatalogClient", "ListEntitiesCommand")
14
- .sc(ListEntities$)
15
- .build() {
3
+ export class ListEntitiesCommand extends command(_ep0, _mw0, "ListEntities", ListEntities$) {
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 { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPSeymour", "ListTagsForResource", {})
13
- .n("MarketplaceCatalogClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { PutResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPSeymour", "PutResourcePolicy", {})
13
- .n("MarketplaceCatalogClient", "PutResourcePolicyCommand")
14
- .sc(PutResourcePolicy$)
15
- .build() {
3
+ export class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
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 { StartChangeSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartChangeSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPSeymour", "StartChangeSet", {})
13
- .n("MarketplaceCatalogClient", "StartChangeSetCommand")
14
- .sc(StartChangeSet$)
15
- .build() {
3
+ export class StartChangeSetCommand extends command(_ep0, _mw0, "StartChangeSet", StartChangeSet$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPSeymour", "TagResource", {})
13
- .n("MarketplaceCatalogClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSMPSeymour", "UntagResource", {})
13
- .n("MarketplaceCatalogClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./MarketplaceCatalogClient";
2
2
  export * from "./MarketplaceCatalog";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./MarketplaceCatalogClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceCatalogClient";
4
2
  import type { BatchDescribeEntitiesRequest, BatchDescribeEntitiesResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface BatchDescribeEntitiesCommandInput extends BatchDescribeEntities
22
19
  export interface BatchDescribeEntitiesCommandOutput extends BatchDescribeEntitiesResponse, __MetadataBearer {
23
20
  }
24
21
  declare const BatchDescribeEntitiesCommand_base: {
25
- new (input: BatchDescribeEntitiesCommandInput): import("@smithy/core/client").CommandImpl<BatchDescribeEntitiesCommandInput, BatchDescribeEntitiesCommandOutput, MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: BatchDescribeEntitiesCommandInput): import("@smithy/core/client").CommandImpl<BatchDescribeEntitiesCommandInput, BatchDescribeEntitiesCommandOutput, MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: BatchDescribeEntitiesCommandInput): import("@smithy/core/client").CommandImpl<BatchDescribeEntitiesCommandInput, BatchDescribeEntitiesCommandOutput, import("..").MarketplaceCatalogClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchDescribeEntitiesCommandInput): import("@smithy/core/client").CommandImpl<BatchDescribeEntitiesCommandInput, BatchDescribeEntitiesCommandOutput, import("..").MarketplaceCatalogClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns metadata and content for multiple entities. This is the Batch version of the <code>DescribeEntity</code> API and uses the same IAM permission action as <code>DescribeEntity</code> API.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceCatalogClient";
4
2
  import type { CancelChangeSetRequest, CancelChangeSetResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CancelChangeSetCommandInput extends CancelChangeSetRequest {
22
19
  export interface CancelChangeSetCommandOutput extends CancelChangeSetResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CancelChangeSetCommand_base: {
25
- new (input: CancelChangeSetCommandInput): import("@smithy/core/client").CommandImpl<CancelChangeSetCommandInput, CancelChangeSetCommandOutput, MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CancelChangeSetCommandInput): import("@smithy/core/client").CommandImpl<CancelChangeSetCommandInput, CancelChangeSetCommandOutput, MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CancelChangeSetCommandInput): import("@smithy/core/client").CommandImpl<CancelChangeSetCommandInput, CancelChangeSetCommandOutput, import("..").MarketplaceCatalogClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CancelChangeSetCommandInput): import("@smithy/core/client").CommandImpl<CancelChangeSetCommandInput, CancelChangeSetCommandOutput, import("..").MarketplaceCatalogClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Used to cancel an open change request. Must be sent before the status of the request
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceCatalogClient";
4
2
  import type { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRe
22
19
  export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteResourcePolicyCommand_base: {
25
- new (input: DeleteResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, import("..").MarketplaceCatalogClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, import("..").MarketplaceCatalogClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a resource-based policy on an entity that is identified by its resource
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceCatalogClient";
4
2
  import type { DescribeChangeSetRequest, DescribeChangeSetResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DescribeChangeSetCommandInput extends DescribeChangeSetRequest
22
19
  export interface DescribeChangeSetCommandOutput extends DescribeChangeSetResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeChangeSetCommand_base: {
25
- new (input: DescribeChangeSetCommandInput): import("@smithy/core/client").CommandImpl<DescribeChangeSetCommandInput, DescribeChangeSetCommandOutput, MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeChangeSetCommandInput): import("@smithy/core/client").CommandImpl<DescribeChangeSetCommandInput, DescribeChangeSetCommandOutput, MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeChangeSetCommandInput): import("@smithy/core/client").CommandImpl<DescribeChangeSetCommandInput, DescribeChangeSetCommandOutput, import("..").MarketplaceCatalogClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeChangeSetCommandInput): import("@smithy/core/client").CommandImpl<DescribeChangeSetCommandInput, DescribeChangeSetCommandOutput, import("..").MarketplaceCatalogClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Provides information about a given change set.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceCatalogClient";
4
2
  import type { DescribeEntityRequest, DescribeEntityResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DescribeEntityCommandInput extends DescribeEntityRequest {
22
19
  export interface DescribeEntityCommandOutput extends DescribeEntityResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeEntityCommand_base: {
25
- new (input: DescribeEntityCommandInput): import("@smithy/core/client").CommandImpl<DescribeEntityCommandInput, DescribeEntityCommandOutput, MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeEntityCommandInput): import("@smithy/core/client").CommandImpl<DescribeEntityCommandInput, DescribeEntityCommandOutput, MarketplaceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeEntityCommandInput): import("@smithy/core/client").CommandImpl<DescribeEntityCommandInput, DescribeEntityCommandOutput, import("..").MarketplaceCatalogClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeEntityCommandInput): import("@smithy/core/client").CommandImpl<DescribeEntityCommandInput, DescribeEntityCommandOutput, import("..").MarketplaceCatalogClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns the metadata and content of the entity.</p>