@aws-sdk/client-marketplace-catalog 3.186.0 → 3.190.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.190.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.189.0...v3.190.0) (2022-10-17)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-marketplace-catalog
9
+
10
+
11
+
12
+
13
+
14
+ # [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-marketplace-catalog
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
7
23
 
8
24
  **Note:** Version bump only for package @aws-sdk/client-marketplace-catalog
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { CancelChangeSetCommand, } from "./commands/CancelChangeSetCommand";
3
2
  import { DescribeChangeSetCommand, } from "./commands/DescribeChangeSetCommand";
4
3
  import { DescribeEntityCommand, } from "./commands/DescribeEntityCommand";
@@ -6,95 +5,89 @@ import { ListChangeSetsCommand, } from "./commands/ListChangeSetsCommand";
6
5
  import { ListEntitiesCommand, } from "./commands/ListEntitiesCommand";
7
6
  import { StartChangeSetCommand, } from "./commands/StartChangeSetCommand";
8
7
  import { MarketplaceCatalogClient } from "./MarketplaceCatalogClient";
9
- var MarketplaceCatalog = (function (_super) {
10
- __extends(MarketplaceCatalog, _super);
11
- function MarketplaceCatalog() {
12
- return _super !== null && _super.apply(this, arguments) || this;
13
- }
14
- MarketplaceCatalog.prototype.cancelChangeSet = function (args, optionsOrCb, cb) {
15
- var command = new CancelChangeSetCommand(args);
8
+ export class MarketplaceCatalog extends MarketplaceCatalogClient {
9
+ cancelChangeSet(args, optionsOrCb, cb) {
10
+ const command = new CancelChangeSetCommand(args);
16
11
  if (typeof optionsOrCb === "function") {
17
12
  this.send(command, optionsOrCb);
18
13
  }
19
14
  else if (typeof cb === "function") {
20
15
  if (typeof optionsOrCb !== "object")
21
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
16
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
22
17
  this.send(command, optionsOrCb || {}, cb);
23
18
  }
24
19
  else {
25
20
  return this.send(command, optionsOrCb);
26
21
  }
27
- };
28
- MarketplaceCatalog.prototype.describeChangeSet = function (args, optionsOrCb, cb) {
29
- var command = new DescribeChangeSetCommand(args);
22
+ }
23
+ describeChangeSet(args, optionsOrCb, cb) {
24
+ const command = new DescribeChangeSetCommand(args);
30
25
  if (typeof optionsOrCb === "function") {
31
26
  this.send(command, optionsOrCb);
32
27
  }
33
28
  else if (typeof cb === "function") {
34
29
  if (typeof optionsOrCb !== "object")
35
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
30
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
36
31
  this.send(command, optionsOrCb || {}, cb);
37
32
  }
38
33
  else {
39
34
  return this.send(command, optionsOrCb);
40
35
  }
41
- };
42
- MarketplaceCatalog.prototype.describeEntity = function (args, optionsOrCb, cb) {
43
- var command = new DescribeEntityCommand(args);
36
+ }
37
+ describeEntity(args, optionsOrCb, cb) {
38
+ const command = new DescribeEntityCommand(args);
44
39
  if (typeof optionsOrCb === "function") {
45
40
  this.send(command, optionsOrCb);
46
41
  }
47
42
  else if (typeof cb === "function") {
48
43
  if (typeof optionsOrCb !== "object")
49
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
44
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
50
45
  this.send(command, optionsOrCb || {}, cb);
51
46
  }
52
47
  else {
53
48
  return this.send(command, optionsOrCb);
54
49
  }
55
- };
56
- MarketplaceCatalog.prototype.listChangeSets = function (args, optionsOrCb, cb) {
57
- var command = new ListChangeSetsCommand(args);
50
+ }
51
+ listChangeSets(args, optionsOrCb, cb) {
52
+ const command = new ListChangeSetsCommand(args);
58
53
  if (typeof optionsOrCb === "function") {
59
54
  this.send(command, optionsOrCb);
60
55
  }
61
56
  else if (typeof cb === "function") {
62
57
  if (typeof optionsOrCb !== "object")
63
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
58
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
64
59
  this.send(command, optionsOrCb || {}, cb);
65
60
  }
66
61
  else {
67
62
  return this.send(command, optionsOrCb);
68
63
  }
69
- };
70
- MarketplaceCatalog.prototype.listEntities = function (args, optionsOrCb, cb) {
71
- var command = new ListEntitiesCommand(args);
64
+ }
65
+ listEntities(args, optionsOrCb, cb) {
66
+ const command = new ListEntitiesCommand(args);
72
67
  if (typeof optionsOrCb === "function") {
73
68
  this.send(command, optionsOrCb);
74
69
  }
75
70
  else if (typeof cb === "function") {
76
71
  if (typeof optionsOrCb !== "object")
77
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
72
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
78
73
  this.send(command, optionsOrCb || {}, cb);
79
74
  }
80
75
  else {
81
76
  return this.send(command, optionsOrCb);
82
77
  }
83
- };
84
- MarketplaceCatalog.prototype.startChangeSet = function (args, optionsOrCb, cb) {
85
- var command = new StartChangeSetCommand(args);
78
+ }
79
+ startChangeSet(args, optionsOrCb, cb) {
80
+ const command = new StartChangeSetCommand(args);
86
81
  if (typeof optionsOrCb === "function") {
87
82
  this.send(command, optionsOrCb);
88
83
  }
89
84
  else if (typeof cb === "function") {
90
85
  if (typeof optionsOrCb !== "object")
91
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
86
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
92
87
  this.send(command, optionsOrCb || {}, cb);
93
88
  }
94
89
  else {
95
90
  return this.send(command, optionsOrCb);
96
91
  }
97
- };
98
- return MarketplaceCatalog;
99
- }(MarketplaceCatalogClient));
100
- export { MarketplaceCatalog };
92
+ }
93
+ }
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var MarketplaceCatalogClient = (function (_super) {
13
- __extends(MarketplaceCatalogClient, _super);
14
- function MarketplaceCatalogClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class MarketplaceCatalogClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- MarketplaceCatalogClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return MarketplaceCatalogClient;
38
- }(__Client));
39
- export { MarketplaceCatalogClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
33
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CancelChangeSetRequestFilterSensitiveLog, CancelChangeSetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CancelChangeSetCommand, serializeAws_restJson1CancelChangeSetCommand, } from "../protocols/Aws_restJson1";
6
- var CancelChangeSetCommand = (function (_super) {
7
- __extends(CancelChangeSetCommand, _super);
8
- function CancelChangeSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CancelChangeSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CancelChangeSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MarketplaceCatalogClient";
18
- var commandName = "CancelChangeSetCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MarketplaceCatalogClient";
15
+ const commandName = "CancelChangeSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CancelChangeSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CancelChangeSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CancelChangeSetCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CancelChangeSetCommand(input, context);
33
- };
34
- CancelChangeSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CancelChangeSetCommand(output, context);
36
- };
37
- return CancelChangeSetCommand;
38
- }($Command));
39
- export { CancelChangeSetCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeChangeSetRequestFilterSensitiveLog, DescribeChangeSetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeChangeSetCommand, serializeAws_restJson1DescribeChangeSetCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeChangeSetCommand = (function (_super) {
7
- __extends(DescribeChangeSetCommand, _super);
8
- function DescribeChangeSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeChangeSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeChangeSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MarketplaceCatalogClient";
18
- var commandName = "DescribeChangeSetCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MarketplaceCatalogClient";
15
+ const commandName = "DescribeChangeSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeChangeSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeChangeSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeChangeSetCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeChangeSetCommand(input, context);
33
- };
34
- DescribeChangeSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeChangeSetCommand(output, context);
36
- };
37
- return DescribeChangeSetCommand;
38
- }($Command));
39
- export { DescribeChangeSetCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeEntityRequestFilterSensitiveLog, DescribeEntityResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeEntityCommand, serializeAws_restJson1DescribeEntityCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeEntityCommand = (function (_super) {
7
- __extends(DescribeEntityCommand, _super);
8
- function DescribeEntityCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeEntityCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeEntityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MarketplaceCatalogClient";
18
- var commandName = "DescribeEntityCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MarketplaceCatalogClient";
15
+ const commandName = "DescribeEntityCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeEntityRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeEntityResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeEntityCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeEntityCommand(input, context);
33
- };
34
- DescribeEntityCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeEntityCommand(output, context);
36
- };
37
- return DescribeEntityCommand;
38
- }($Command));
39
- export { DescribeEntityCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListChangeSetsRequestFilterSensitiveLog, ListChangeSetsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListChangeSetsCommand, serializeAws_restJson1ListChangeSetsCommand, } from "../protocols/Aws_restJson1";
6
- var ListChangeSetsCommand = (function (_super) {
7
- __extends(ListChangeSetsCommand, _super);
8
- function ListChangeSetsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListChangeSetsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListChangeSetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MarketplaceCatalogClient";
18
- var commandName = "ListChangeSetsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MarketplaceCatalogClient";
15
+ const commandName = "ListChangeSetsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListChangeSetsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListChangeSetsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListChangeSetsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListChangeSetsCommand(input, context);
33
- };
34
- ListChangeSetsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListChangeSetsCommand(output, context);
36
- };
37
- return ListChangeSetsCommand;
38
- }($Command));
39
- export { ListChangeSetsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListEntitiesRequestFilterSensitiveLog, ListEntitiesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListEntitiesCommand, serializeAws_restJson1ListEntitiesCommand, } from "../protocols/Aws_restJson1";
6
- var ListEntitiesCommand = (function (_super) {
7
- __extends(ListEntitiesCommand, _super);
8
- function ListEntitiesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListEntitiesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListEntitiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MarketplaceCatalogClient";
18
- var commandName = "ListEntitiesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MarketplaceCatalogClient";
15
+ const commandName = "ListEntitiesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListEntitiesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListEntitiesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListEntitiesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListEntitiesCommand(input, context);
33
- };
34
- ListEntitiesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListEntitiesCommand(output, context);
36
- };
37
- return ListEntitiesCommand;
38
- }($Command));
39
- export { ListEntitiesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { StartChangeSetRequestFilterSensitiveLog, StartChangeSetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1StartChangeSetCommand, serializeAws_restJson1StartChangeSetCommand, } from "../protocols/Aws_restJson1";
6
- var StartChangeSetCommand = (function (_super) {
7
- __extends(StartChangeSetCommand, _super);
8
- function StartChangeSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartChangeSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartChangeSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "MarketplaceCatalogClient";
18
- var commandName = "StartChangeSetCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "MarketplaceCatalogClient";
15
+ const commandName = "StartChangeSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartChangeSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartChangeSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartChangeSetCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1StartChangeSetCommand(input, context);
33
- };
34
- StartChangeSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1StartChangeSetCommand(output, context);
36
- };
37
- return StartChangeSetCommand;
38
- }($Command));
39
- export { StartChangeSetCommand };
31
+ }
32
+ }
@@ -1,7 +1,6 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {};
4
- var partitionHash = {
2
+ const regionHash = {};
3
+ const partitionHash = {
5
4
  aws: {
6
5
  regions: [
7
6
  "af-south-1",
@@ -121,8 +120,9 @@ var partitionHash = {
121
120
  ],
122
121
  },
123
122
  };
124
- export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
125
- return __generator(this, function (_a) {
126
- return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "aws-marketplace", regionHash: regionHash, partitionHash: partitionHash }))];
127
- });
128
- }); };
123
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
124
+ ...options,
125
+ signingService: "aws-marketplace",
126
+ regionHash,
127
+ partitionHash,
128
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
- var MarketplaceCatalogServiceException = (function (_super) {
4
- __extends(MarketplaceCatalogServiceException, _super);
5
- function MarketplaceCatalogServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, MarketplaceCatalogServiceException.prototype);
8
- return _this;
2
+ export class MarketplaceCatalogServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, MarketplaceCatalogServiceException.prototype);
9
6
  }
10
- return MarketplaceCatalogServiceException;
11
- }(__ServiceException));
12
- export { MarketplaceCatalogServiceException };
7
+ }