@aws-sdk/client-serverlessapplicationrepository 3.180.0 → 3.183.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 (30) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +20 -14
  3. package/dist-es/ServerlessApplicationRepository.js +58 -65
  4. package/dist-es/ServerlessApplicationRepositoryClient.js +22 -28
  5. package/dist-es/commands/CreateApplicationCommand.js +21 -28
  6. package/dist-es/commands/CreateApplicationVersionCommand.js +21 -28
  7. package/dist-es/commands/CreateCloudFormationChangeSetCommand.js +21 -28
  8. package/dist-es/commands/CreateCloudFormationTemplateCommand.js +21 -28
  9. package/dist-es/commands/DeleteApplicationCommand.js +22 -29
  10. package/dist-es/commands/GetApplicationCommand.js +21 -28
  11. package/dist-es/commands/GetApplicationPolicyCommand.js +21 -28
  12. package/dist-es/commands/GetCloudFormationTemplateCommand.js +21 -28
  13. package/dist-es/commands/ListApplicationDependenciesCommand.js +21 -28
  14. package/dist-es/commands/ListApplicationVersionsCommand.js +21 -28
  15. package/dist-es/commands/ListApplicationsCommand.js +21 -28
  16. package/dist-es/commands/PutApplicationPolicyCommand.js +21 -28
  17. package/dist-es/commands/UnshareApplicationCommand.js +22 -29
  18. package/dist-es/commands/UpdateApplicationCommand.js +21 -28
  19. package/dist-es/endpoints.js +8 -8
  20. package/dist-es/models/ServerlessApplicationRepositoryServiceException.js +5 -10
  21. package/dist-es/models/models_0.js +186 -115
  22. package/dist-es/pagination/ListApplicationDependenciesPaginator.js +25 -68
  23. package/dist-es/pagination/ListApplicationVersionsPaginator.js +25 -68
  24. package/dist-es/pagination/ListApplicationsPaginator.js +25 -68
  25. package/dist-es/protocols/Aws_restJson1.js +1291 -1691
  26. package/dist-es/runtimeConfig.browser.js +26 -12
  27. package/dist-es/runtimeConfig.js +30 -12
  28. package/dist-es/runtimeConfig.native.js +8 -5
  29. package/dist-es/runtimeConfig.shared.js +8 -11
  30. package/package.json +33 -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 { CreateCloudFormationChangeSetRequestFilterSensitiveLog, CreateCloudFormationChangeSetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateCloudFormationChangeSetCommand, serializeAws_restJson1CreateCloudFormationChangeSetCommand, } from "../protocols/Aws_restJson1";
6
- var CreateCloudFormationChangeSetCommand = (function (_super) {
7
- __extends(CreateCloudFormationChangeSetCommand, _super);
8
- function CreateCloudFormationChangeSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateCloudFormationChangeSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateCloudFormationChangeSetCommand.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 = "ServerlessApplicationRepositoryClient";
18
- var commandName = "CreateCloudFormationChangeSetCommand";
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 = "ServerlessApplicationRepositoryClient";
15
+ const commandName = "CreateCloudFormationChangeSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateCloudFormationChangeSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateCloudFormationChangeSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateCloudFormationChangeSetCommand.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_restJson1CreateCloudFormationChangeSetCommand(input, context);
33
- };
34
- CreateCloudFormationChangeSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateCloudFormationChangeSetCommand(output, context);
36
- };
37
- return CreateCloudFormationChangeSetCommand;
38
- }($Command));
39
- export { CreateCloudFormationChangeSetCommand };
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 { CreateCloudFormationTemplateRequestFilterSensitiveLog, CreateCloudFormationTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateCloudFormationTemplateCommand, serializeAws_restJson1CreateCloudFormationTemplateCommand, } from "../protocols/Aws_restJson1";
6
- var CreateCloudFormationTemplateCommand = (function (_super) {
7
- __extends(CreateCloudFormationTemplateCommand, _super);
8
- function CreateCloudFormationTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateCloudFormationTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateCloudFormationTemplateCommand.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 = "ServerlessApplicationRepositoryClient";
18
- var commandName = "CreateCloudFormationTemplateCommand";
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 = "ServerlessApplicationRepositoryClient";
15
+ const commandName = "CreateCloudFormationTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateCloudFormationTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateCloudFormationTemplateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateCloudFormationTemplateCommand.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_restJson1CreateCloudFormationTemplateCommand(input, context);
33
- };
34
- CreateCloudFormationTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateCloudFormationTemplateCommand(output, context);
36
- };
37
- return CreateCloudFormationTemplateCommand;
38
- }($Command));
39
- export { CreateCloudFormationTemplateCommand };
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 { DeleteApplicationRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteApplicationCommand, serializeAws_restJson1DeleteApplicationCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteApplicationCommand = (function (_super) {
7
- __extends(DeleteApplicationCommand, _super);
8
- function DeleteApplicationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteApplicationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteApplicationCommand.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 = "ServerlessApplicationRepositoryClient";
18
- var commandName = "DeleteApplicationCommand";
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 = "ServerlessApplicationRepositoryClient";
15
+ const commandName = "DeleteApplicationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteApplicationRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteApplicationCommand.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_restJson1DeleteApplicationCommand(input, context);
33
- };
34
- DeleteApplicationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteApplicationCommand(output, context);
36
- };
37
- return DeleteApplicationCommand;
38
- }($Command));
39
- export { DeleteApplicationCommand };
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 { GetApplicationRequestFilterSensitiveLog, GetApplicationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetApplicationCommand, serializeAws_restJson1GetApplicationCommand, } from "../protocols/Aws_restJson1";
6
- var GetApplicationCommand = (function (_super) {
7
- __extends(GetApplicationCommand, _super);
8
- function GetApplicationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetApplicationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetApplicationCommand.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 = "ServerlessApplicationRepositoryClient";
18
- var commandName = "GetApplicationCommand";
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 = "ServerlessApplicationRepositoryClient";
15
+ const commandName = "GetApplicationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetApplicationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetApplicationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetApplicationCommand.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_restJson1GetApplicationCommand(input, context);
33
- };
34
- GetApplicationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetApplicationCommand(output, context);
36
- };
37
- return GetApplicationCommand;
38
- }($Command));
39
- export { GetApplicationCommand };
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 { GetApplicationPolicyRequestFilterSensitiveLog, GetApplicationPolicyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetApplicationPolicyCommand, serializeAws_restJson1GetApplicationPolicyCommand, } from "../protocols/Aws_restJson1";
6
- var GetApplicationPolicyCommand = (function (_super) {
7
- __extends(GetApplicationPolicyCommand, _super);
8
- function GetApplicationPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetApplicationPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetApplicationPolicyCommand.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 = "ServerlessApplicationRepositoryClient";
18
- var commandName = "GetApplicationPolicyCommand";
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 = "ServerlessApplicationRepositoryClient";
15
+ const commandName = "GetApplicationPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetApplicationPolicyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetApplicationPolicyResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetApplicationPolicyCommand.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_restJson1GetApplicationPolicyCommand(input, context);
33
- };
34
- GetApplicationPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetApplicationPolicyCommand(output, context);
36
- };
37
- return GetApplicationPolicyCommand;
38
- }($Command));
39
- export { GetApplicationPolicyCommand };
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 { GetCloudFormationTemplateRequestFilterSensitiveLog, GetCloudFormationTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetCloudFormationTemplateCommand, serializeAws_restJson1GetCloudFormationTemplateCommand, } from "../protocols/Aws_restJson1";
6
- var GetCloudFormationTemplateCommand = (function (_super) {
7
- __extends(GetCloudFormationTemplateCommand, _super);
8
- function GetCloudFormationTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetCloudFormationTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetCloudFormationTemplateCommand.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 = "ServerlessApplicationRepositoryClient";
18
- var commandName = "GetCloudFormationTemplateCommand";
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 = "ServerlessApplicationRepositoryClient";
15
+ const commandName = "GetCloudFormationTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetCloudFormationTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetCloudFormationTemplateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetCloudFormationTemplateCommand.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_restJson1GetCloudFormationTemplateCommand(input, context);
33
- };
34
- GetCloudFormationTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetCloudFormationTemplateCommand(output, context);
36
- };
37
- return GetCloudFormationTemplateCommand;
38
- }($Command));
39
- export { GetCloudFormationTemplateCommand };
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 { ListApplicationDependenciesRequestFilterSensitiveLog, ListApplicationDependenciesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListApplicationDependenciesCommand, serializeAws_restJson1ListApplicationDependenciesCommand, } from "../protocols/Aws_restJson1";
6
- var ListApplicationDependenciesCommand = (function (_super) {
7
- __extends(ListApplicationDependenciesCommand, _super);
8
- function ListApplicationDependenciesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListApplicationDependenciesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListApplicationDependenciesCommand.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 = "ServerlessApplicationRepositoryClient";
18
- var commandName = "ListApplicationDependenciesCommand";
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 = "ServerlessApplicationRepositoryClient";
15
+ const commandName = "ListApplicationDependenciesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListApplicationDependenciesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListApplicationDependenciesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListApplicationDependenciesCommand.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_restJson1ListApplicationDependenciesCommand(input, context);
33
- };
34
- ListApplicationDependenciesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListApplicationDependenciesCommand(output, context);
36
- };
37
- return ListApplicationDependenciesCommand;
38
- }($Command));
39
- export { ListApplicationDependenciesCommand };
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 { ListApplicationVersionsRequestFilterSensitiveLog, ListApplicationVersionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListApplicationVersionsCommand, serializeAws_restJson1ListApplicationVersionsCommand, } from "../protocols/Aws_restJson1";
6
- var ListApplicationVersionsCommand = (function (_super) {
7
- __extends(ListApplicationVersionsCommand, _super);
8
- function ListApplicationVersionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListApplicationVersionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListApplicationVersionsCommand.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 = "ServerlessApplicationRepositoryClient";
18
- var commandName = "ListApplicationVersionsCommand";
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 = "ServerlessApplicationRepositoryClient";
15
+ const commandName = "ListApplicationVersionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListApplicationVersionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListApplicationVersionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListApplicationVersionsCommand.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_restJson1ListApplicationVersionsCommand(input, context);
33
- };
34
- ListApplicationVersionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListApplicationVersionsCommand(output, context);
36
- };
37
- return ListApplicationVersionsCommand;
38
- }($Command));
39
- export { ListApplicationVersionsCommand };
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 { ListApplicationsRequestFilterSensitiveLog, ListApplicationsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListApplicationsCommand, serializeAws_restJson1ListApplicationsCommand, } from "../protocols/Aws_restJson1";
6
- var ListApplicationsCommand = (function (_super) {
7
- __extends(ListApplicationsCommand, _super);
8
- function ListApplicationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListApplicationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListApplicationsCommand.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 = "ServerlessApplicationRepositoryClient";
18
- var commandName = "ListApplicationsCommand";
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 = "ServerlessApplicationRepositoryClient";
15
+ const commandName = "ListApplicationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListApplicationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListApplicationsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListApplicationsCommand.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_restJson1ListApplicationsCommand(input, context);
33
- };
34
- ListApplicationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListApplicationsCommand(output, context);
36
- };
37
- return ListApplicationsCommand;
38
- }($Command));
39
- export { ListApplicationsCommand };
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 { PutApplicationPolicyRequestFilterSensitiveLog, PutApplicationPolicyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1PutApplicationPolicyCommand, serializeAws_restJson1PutApplicationPolicyCommand, } from "../protocols/Aws_restJson1";
6
- var PutApplicationPolicyCommand = (function (_super) {
7
- __extends(PutApplicationPolicyCommand, _super);
8
- function PutApplicationPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutApplicationPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutApplicationPolicyCommand.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 = "ServerlessApplicationRepositoryClient";
18
- var commandName = "PutApplicationPolicyCommand";
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 = "ServerlessApplicationRepositoryClient";
15
+ const commandName = "PutApplicationPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutApplicationPolicyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PutApplicationPolicyResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutApplicationPolicyCommand.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_restJson1PutApplicationPolicyCommand(input, context);
33
- };
34
- PutApplicationPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1PutApplicationPolicyCommand(output, context);
36
- };
37
- return PutApplicationPolicyCommand;
38
- }($Command));
39
- export { PutApplicationPolicyCommand };
31
+ }
32
+ }