@aws-sdk/client-serverlessapplicationrepository 3.183.0 → 3.186.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 +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/ServerlessApplicationRepository.js +65 -58
  4. package/dist-es/ServerlessApplicationRepositoryClient.js +28 -22
  5. package/dist-es/commands/CreateApplicationCommand.js +28 -21
  6. package/dist-es/commands/CreateApplicationVersionCommand.js +28 -21
  7. package/dist-es/commands/CreateCloudFormationChangeSetCommand.js +28 -21
  8. package/dist-es/commands/CreateCloudFormationTemplateCommand.js +28 -21
  9. package/dist-es/commands/DeleteApplicationCommand.js +29 -22
  10. package/dist-es/commands/GetApplicationCommand.js +28 -21
  11. package/dist-es/commands/GetApplicationPolicyCommand.js +28 -21
  12. package/dist-es/commands/GetCloudFormationTemplateCommand.js +28 -21
  13. package/dist-es/commands/ListApplicationDependenciesCommand.js +28 -21
  14. package/dist-es/commands/ListApplicationVersionsCommand.js +28 -21
  15. package/dist-es/commands/ListApplicationsCommand.js +28 -21
  16. package/dist-es/commands/PutApplicationPolicyCommand.js +28 -21
  17. package/dist-es/commands/UnshareApplicationCommand.js +29 -22
  18. package/dist-es/commands/UpdateApplicationCommand.js +28 -21
  19. package/dist-es/endpoints.js +8 -8
  20. package/dist-es/models/ServerlessApplicationRepositoryServiceException.js +10 -5
  21. package/dist-es/models/models_0.js +115 -186
  22. package/dist-es/pagination/ListApplicationDependenciesPaginator.js +68 -25
  23. package/dist-es/pagination/ListApplicationVersionsPaginator.js +68 -25
  24. package/dist-es/pagination/ListApplicationsPaginator.js +68 -25
  25. package/dist-es/protocols/Aws_restJson1.js +1704 -1291
  26. package/dist-es/runtimeConfig.browser.js +12 -26
  27. package/dist-es/runtimeConfig.js +12 -30
  28. package/dist-es/runtimeConfig.native.js +5 -8
  29. package/dist-es/runtimeConfig.shared.js +11 -8
  30. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteApplicationRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteApplicationCommand, serializeAws_restJson1DeleteApplicationCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteApplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: DeleteApplicationRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1DeleteApplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteApplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteApplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteApplicationCommand;
38
+ }($Command));
39
+ export { DeleteApplicationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetApplicationRequestFilterSensitiveLog, GetApplicationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetApplicationCommand, serializeAws_restJson1GetApplicationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetApplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: GetApplicationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetApplicationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1GetApplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetApplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetApplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetApplicationCommand;
38
+ }($Command));
39
+ export { GetApplicationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetApplicationPolicyRequestFilterSensitiveLog, GetApplicationPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetApplicationPolicyCommand, serializeAws_restJson1GetApplicationPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class GetApplicationPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetApplicationPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: GetApplicationPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetApplicationPolicyResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1GetApplicationPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetApplicationPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetApplicationPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetApplicationPolicyCommand;
38
+ }($Command));
39
+ export { GetApplicationPolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetCloudFormationTemplateRequestFilterSensitiveLog, GetCloudFormationTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetCloudFormationTemplateCommand, serializeAws_restJson1GetCloudFormationTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class GetCloudFormationTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetCloudFormationTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: GetCloudFormationTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetCloudFormationTemplateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1GetCloudFormationTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetCloudFormationTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetCloudFormationTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetCloudFormationTemplateCommand;
38
+ }($Command));
39
+ export { GetCloudFormationTemplateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListApplicationDependenciesRequestFilterSensitiveLog, ListApplicationDependenciesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListApplicationDependenciesCommand, serializeAws_restJson1ListApplicationDependenciesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListApplicationDependenciesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListApplicationDependenciesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: ListApplicationDependenciesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListApplicationDependenciesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1ListApplicationDependenciesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListApplicationDependenciesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListApplicationDependenciesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListApplicationDependenciesCommand;
38
+ }($Command));
39
+ export { ListApplicationDependenciesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListApplicationVersionsRequestFilterSensitiveLog, ListApplicationVersionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListApplicationVersionsCommand, serializeAws_restJson1ListApplicationVersionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListApplicationVersionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListApplicationVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: ListApplicationVersionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListApplicationVersionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1ListApplicationVersionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListApplicationVersionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListApplicationVersionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListApplicationVersionsCommand;
38
+ }($Command));
39
+ export { ListApplicationVersionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListApplicationsRequestFilterSensitiveLog, ListApplicationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListApplicationsCommand, serializeAws_restJson1ListApplicationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListApplicationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListApplicationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: ListApplicationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListApplicationsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1ListApplicationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListApplicationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListApplicationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListApplicationsCommand;
38
+ }($Command));
39
+ export { ListApplicationsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PutApplicationPolicyRequestFilterSensitiveLog, PutApplicationPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PutApplicationPolicyCommand, serializeAws_restJson1PutApplicationPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class PutApplicationPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutApplicationPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
20
23
  inputFilterSensitiveLog: PutApplicationPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutApplicationPolicyResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1PutApplicationPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutApplicationPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutApplicationPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutApplicationPolicyCommand;
38
+ }($Command));
39
+ export { PutApplicationPolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UnshareApplicationRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UnshareApplicationCommand, serializeAws_restJson1UnshareApplicationCommand, } from "../protocols/Aws_restJson1";
5
- export class UnshareApplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UnshareApplicationCommand = (function (_super) {
7
+ __extends(UnshareApplicationCommand, _super);
8
+ function UnshareApplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UnshareApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ServerlessApplicationRepositoryClient";
15
- const commandName = "UnshareApplicationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ServerlessApplicationRepositoryClient";
18
+ var commandName = "UnshareApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UnshareApplicationRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UnshareApplicationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UnshareApplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UnshareApplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UnshareApplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UnshareApplicationCommand;
38
+ }($Command));
39
+ export { UnshareApplicationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateApplicationRequestFilterSensitiveLog, UpdateApplicationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateApplicationCommand, serializeAws_restJson1UpdateApplicationCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateApplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateApplicationCommand = (function (_super) {
7
+ __extends(UpdateApplicationCommand, _super);
8
+ function UpdateApplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ServerlessApplicationRepositoryClient";
15
- const commandName = "UpdateApplicationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ServerlessApplicationRepositoryClient";
18
+ var commandName = "UpdateApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateApplicationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateApplicationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateApplicationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateApplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateApplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateApplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateApplicationCommand;
38
+ }($Command));
39
+ export { UpdateApplicationCommand };