@aws-sdk/client-serverlessapplicationrepository 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/ServerlessApplicationRepository.js +65 -58
- package/dist-es/ServerlessApplicationRepositoryClient.js +28 -22
- package/dist-es/commands/CreateApplicationCommand.js +28 -21
- package/dist-es/commands/CreateApplicationVersionCommand.js +28 -21
- package/dist-es/commands/CreateCloudFormationChangeSetCommand.js +28 -21
- package/dist-es/commands/CreateCloudFormationTemplateCommand.js +28 -21
- package/dist-es/commands/DeleteApplicationCommand.js +29 -22
- package/dist-es/commands/GetApplicationCommand.js +28 -21
- package/dist-es/commands/GetApplicationPolicyCommand.js +28 -21
- package/dist-es/commands/GetCloudFormationTemplateCommand.js +28 -21
- package/dist-es/commands/ListApplicationDependenciesCommand.js +28 -21
- package/dist-es/commands/ListApplicationVersionsCommand.js +28 -21
- package/dist-es/commands/ListApplicationsCommand.js +28 -21
- package/dist-es/commands/PutApplicationPolicyCommand.js +28 -21
- package/dist-es/commands/UnshareApplicationCommand.js +29 -22
- package/dist-es/commands/UpdateApplicationCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ServerlessApplicationRepositoryServiceException.js +10 -5
- package/dist-es/models/models_0.js +115 -186
- package/dist-es/pagination/ListApplicationDependenciesPaginator.js +68 -25
- package/dist-es/pagination/ListApplicationVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListApplicationsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +1704 -1291
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-serverlessapplicationrepository
|
|
@@ -1484,10 +1484,10 @@ const deserializeAws_restJson1VersionSummary = (output, context) => {
|
|
|
1484
1484
|
};
|
|
1485
1485
|
};
|
|
1486
1486
|
const deserializeMetadata = (output) => {
|
|
1487
|
-
var _a;
|
|
1487
|
+
var _a, _b;
|
|
1488
1488
|
return ({
|
|
1489
1489
|
httpStatusCode: output.statusCode,
|
|
1490
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
1490
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
1491
1491
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1492
1492
|
cfId: output.headers["x-amz-cf-id"],
|
|
1493
1493
|
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { CreateApplicationCommand, } from "./commands/CreateApplicationCommand";
|
|
2
3
|
import { CreateApplicationVersionCommand, } from "./commands/CreateApplicationVersionCommand";
|
|
3
4
|
import { CreateCloudFormationChangeSetCommand, } from "./commands/CreateCloudFormationChangeSetCommand";
|
|
@@ -13,201 +14,207 @@ import { PutApplicationPolicyCommand, } from "./commands/PutApplicationPolicyCom
|
|
|
13
14
|
import { UnshareApplicationCommand, } from "./commands/UnshareApplicationCommand";
|
|
14
15
|
import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
|
|
15
16
|
import { ServerlessApplicationRepositoryClient } from "./ServerlessApplicationRepositoryClient";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
var ServerlessApplicationRepository = (function (_super) {
|
|
18
|
+
__extends(ServerlessApplicationRepository, _super);
|
|
19
|
+
function ServerlessApplicationRepository() {
|
|
20
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
21
|
+
}
|
|
22
|
+
ServerlessApplicationRepository.prototype.createApplication = function (args, optionsOrCb, cb) {
|
|
23
|
+
var command = new CreateApplicationCommand(args);
|
|
19
24
|
if (typeof optionsOrCb === "function") {
|
|
20
25
|
this.send(command, optionsOrCb);
|
|
21
26
|
}
|
|
22
27
|
else if (typeof cb === "function") {
|
|
23
28
|
if (typeof optionsOrCb !== "object")
|
|
24
|
-
throw new Error(
|
|
29
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
25
30
|
this.send(command, optionsOrCb || {}, cb);
|
|
26
31
|
}
|
|
27
32
|
else {
|
|
28
33
|
return this.send(command, optionsOrCb);
|
|
29
34
|
}
|
|
30
|
-
}
|
|
31
|
-
createApplicationVersion(args, optionsOrCb, cb) {
|
|
32
|
-
|
|
35
|
+
};
|
|
36
|
+
ServerlessApplicationRepository.prototype.createApplicationVersion = function (args, optionsOrCb, cb) {
|
|
37
|
+
var command = new CreateApplicationVersionCommand(args);
|
|
33
38
|
if (typeof optionsOrCb === "function") {
|
|
34
39
|
this.send(command, optionsOrCb);
|
|
35
40
|
}
|
|
36
41
|
else if (typeof cb === "function") {
|
|
37
42
|
if (typeof optionsOrCb !== "object")
|
|
38
|
-
throw new Error(
|
|
43
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
39
44
|
this.send(command, optionsOrCb || {}, cb);
|
|
40
45
|
}
|
|
41
46
|
else {
|
|
42
47
|
return this.send(command, optionsOrCb);
|
|
43
48
|
}
|
|
44
|
-
}
|
|
45
|
-
createCloudFormationChangeSet(args, optionsOrCb, cb) {
|
|
46
|
-
|
|
49
|
+
};
|
|
50
|
+
ServerlessApplicationRepository.prototype.createCloudFormationChangeSet = function (args, optionsOrCb, cb) {
|
|
51
|
+
var command = new CreateCloudFormationChangeSetCommand(args);
|
|
47
52
|
if (typeof optionsOrCb === "function") {
|
|
48
53
|
this.send(command, optionsOrCb);
|
|
49
54
|
}
|
|
50
55
|
else if (typeof cb === "function") {
|
|
51
56
|
if (typeof optionsOrCb !== "object")
|
|
52
|
-
throw new Error(
|
|
57
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
53
58
|
this.send(command, optionsOrCb || {}, cb);
|
|
54
59
|
}
|
|
55
60
|
else {
|
|
56
61
|
return this.send(command, optionsOrCb);
|
|
57
62
|
}
|
|
58
|
-
}
|
|
59
|
-
createCloudFormationTemplate(args, optionsOrCb, cb) {
|
|
60
|
-
|
|
63
|
+
};
|
|
64
|
+
ServerlessApplicationRepository.prototype.createCloudFormationTemplate = function (args, optionsOrCb, cb) {
|
|
65
|
+
var command = new CreateCloudFormationTemplateCommand(args);
|
|
61
66
|
if (typeof optionsOrCb === "function") {
|
|
62
67
|
this.send(command, optionsOrCb);
|
|
63
68
|
}
|
|
64
69
|
else if (typeof cb === "function") {
|
|
65
70
|
if (typeof optionsOrCb !== "object")
|
|
66
|
-
throw new Error(
|
|
71
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
67
72
|
this.send(command, optionsOrCb || {}, cb);
|
|
68
73
|
}
|
|
69
74
|
else {
|
|
70
75
|
return this.send(command, optionsOrCb);
|
|
71
76
|
}
|
|
72
|
-
}
|
|
73
|
-
deleteApplication(args, optionsOrCb, cb) {
|
|
74
|
-
|
|
77
|
+
};
|
|
78
|
+
ServerlessApplicationRepository.prototype.deleteApplication = function (args, optionsOrCb, cb) {
|
|
79
|
+
var command = new DeleteApplicationCommand(args);
|
|
75
80
|
if (typeof optionsOrCb === "function") {
|
|
76
81
|
this.send(command, optionsOrCb);
|
|
77
82
|
}
|
|
78
83
|
else if (typeof cb === "function") {
|
|
79
84
|
if (typeof optionsOrCb !== "object")
|
|
80
|
-
throw new Error(
|
|
85
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
81
86
|
this.send(command, optionsOrCb || {}, cb);
|
|
82
87
|
}
|
|
83
88
|
else {
|
|
84
89
|
return this.send(command, optionsOrCb);
|
|
85
90
|
}
|
|
86
|
-
}
|
|
87
|
-
getApplication(args, optionsOrCb, cb) {
|
|
88
|
-
|
|
91
|
+
};
|
|
92
|
+
ServerlessApplicationRepository.prototype.getApplication = function (args, optionsOrCb, cb) {
|
|
93
|
+
var command = new GetApplicationCommand(args);
|
|
89
94
|
if (typeof optionsOrCb === "function") {
|
|
90
95
|
this.send(command, optionsOrCb);
|
|
91
96
|
}
|
|
92
97
|
else if (typeof cb === "function") {
|
|
93
98
|
if (typeof optionsOrCb !== "object")
|
|
94
|
-
throw new Error(
|
|
99
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
95
100
|
this.send(command, optionsOrCb || {}, cb);
|
|
96
101
|
}
|
|
97
102
|
else {
|
|
98
103
|
return this.send(command, optionsOrCb);
|
|
99
104
|
}
|
|
100
|
-
}
|
|
101
|
-
getApplicationPolicy(args, optionsOrCb, cb) {
|
|
102
|
-
|
|
105
|
+
};
|
|
106
|
+
ServerlessApplicationRepository.prototype.getApplicationPolicy = function (args, optionsOrCb, cb) {
|
|
107
|
+
var command = new GetApplicationPolicyCommand(args);
|
|
103
108
|
if (typeof optionsOrCb === "function") {
|
|
104
109
|
this.send(command, optionsOrCb);
|
|
105
110
|
}
|
|
106
111
|
else if (typeof cb === "function") {
|
|
107
112
|
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error(
|
|
113
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
109
114
|
this.send(command, optionsOrCb || {}, cb);
|
|
110
115
|
}
|
|
111
116
|
else {
|
|
112
117
|
return this.send(command, optionsOrCb);
|
|
113
118
|
}
|
|
114
|
-
}
|
|
115
|
-
getCloudFormationTemplate(args, optionsOrCb, cb) {
|
|
116
|
-
|
|
119
|
+
};
|
|
120
|
+
ServerlessApplicationRepository.prototype.getCloudFormationTemplate = function (args, optionsOrCb, cb) {
|
|
121
|
+
var command = new GetCloudFormationTemplateCommand(args);
|
|
117
122
|
if (typeof optionsOrCb === "function") {
|
|
118
123
|
this.send(command, optionsOrCb);
|
|
119
124
|
}
|
|
120
125
|
else if (typeof cb === "function") {
|
|
121
126
|
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error(
|
|
127
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
123
128
|
this.send(command, optionsOrCb || {}, cb);
|
|
124
129
|
}
|
|
125
130
|
else {
|
|
126
131
|
return this.send(command, optionsOrCb);
|
|
127
132
|
}
|
|
128
|
-
}
|
|
129
|
-
listApplicationDependencies(args, optionsOrCb, cb) {
|
|
130
|
-
|
|
133
|
+
};
|
|
134
|
+
ServerlessApplicationRepository.prototype.listApplicationDependencies = function (args, optionsOrCb, cb) {
|
|
135
|
+
var command = new ListApplicationDependenciesCommand(args);
|
|
131
136
|
if (typeof optionsOrCb === "function") {
|
|
132
137
|
this.send(command, optionsOrCb);
|
|
133
138
|
}
|
|
134
139
|
else if (typeof cb === "function") {
|
|
135
140
|
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error(
|
|
141
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
137
142
|
this.send(command, optionsOrCb || {}, cb);
|
|
138
143
|
}
|
|
139
144
|
else {
|
|
140
145
|
return this.send(command, optionsOrCb);
|
|
141
146
|
}
|
|
142
|
-
}
|
|
143
|
-
listApplications(args, optionsOrCb, cb) {
|
|
144
|
-
|
|
147
|
+
};
|
|
148
|
+
ServerlessApplicationRepository.prototype.listApplications = function (args, optionsOrCb, cb) {
|
|
149
|
+
var command = new ListApplicationsCommand(args);
|
|
145
150
|
if (typeof optionsOrCb === "function") {
|
|
146
151
|
this.send(command, optionsOrCb);
|
|
147
152
|
}
|
|
148
153
|
else if (typeof cb === "function") {
|
|
149
154
|
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error(
|
|
155
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
151
156
|
this.send(command, optionsOrCb || {}, cb);
|
|
152
157
|
}
|
|
153
158
|
else {
|
|
154
159
|
return this.send(command, optionsOrCb);
|
|
155
160
|
}
|
|
156
|
-
}
|
|
157
|
-
listApplicationVersions(args, optionsOrCb, cb) {
|
|
158
|
-
|
|
161
|
+
};
|
|
162
|
+
ServerlessApplicationRepository.prototype.listApplicationVersions = function (args, optionsOrCb, cb) {
|
|
163
|
+
var command = new ListApplicationVersionsCommand(args);
|
|
159
164
|
if (typeof optionsOrCb === "function") {
|
|
160
165
|
this.send(command, optionsOrCb);
|
|
161
166
|
}
|
|
162
167
|
else if (typeof cb === "function") {
|
|
163
168
|
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error(
|
|
169
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
165
170
|
this.send(command, optionsOrCb || {}, cb);
|
|
166
171
|
}
|
|
167
172
|
else {
|
|
168
173
|
return this.send(command, optionsOrCb);
|
|
169
174
|
}
|
|
170
|
-
}
|
|
171
|
-
putApplicationPolicy(args, optionsOrCb, cb) {
|
|
172
|
-
|
|
175
|
+
};
|
|
176
|
+
ServerlessApplicationRepository.prototype.putApplicationPolicy = function (args, optionsOrCb, cb) {
|
|
177
|
+
var command = new PutApplicationPolicyCommand(args);
|
|
173
178
|
if (typeof optionsOrCb === "function") {
|
|
174
179
|
this.send(command, optionsOrCb);
|
|
175
180
|
}
|
|
176
181
|
else if (typeof cb === "function") {
|
|
177
182
|
if (typeof optionsOrCb !== "object")
|
|
178
|
-
throw new Error(
|
|
183
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
179
184
|
this.send(command, optionsOrCb || {}, cb);
|
|
180
185
|
}
|
|
181
186
|
else {
|
|
182
187
|
return this.send(command, optionsOrCb);
|
|
183
188
|
}
|
|
184
|
-
}
|
|
185
|
-
unshareApplication(args, optionsOrCb, cb) {
|
|
186
|
-
|
|
189
|
+
};
|
|
190
|
+
ServerlessApplicationRepository.prototype.unshareApplication = function (args, optionsOrCb, cb) {
|
|
191
|
+
var command = new UnshareApplicationCommand(args);
|
|
187
192
|
if (typeof optionsOrCb === "function") {
|
|
188
193
|
this.send(command, optionsOrCb);
|
|
189
194
|
}
|
|
190
195
|
else if (typeof cb === "function") {
|
|
191
196
|
if (typeof optionsOrCb !== "object")
|
|
192
|
-
throw new Error(
|
|
197
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
193
198
|
this.send(command, optionsOrCb || {}, cb);
|
|
194
199
|
}
|
|
195
200
|
else {
|
|
196
201
|
return this.send(command, optionsOrCb);
|
|
197
202
|
}
|
|
198
|
-
}
|
|
199
|
-
updateApplication(args, optionsOrCb, cb) {
|
|
200
|
-
|
|
203
|
+
};
|
|
204
|
+
ServerlessApplicationRepository.prototype.updateApplication = function (args, optionsOrCb, cb) {
|
|
205
|
+
var command = new UpdateApplicationCommand(args);
|
|
201
206
|
if (typeof optionsOrCb === "function") {
|
|
202
207
|
this.send(command, optionsOrCb);
|
|
203
208
|
}
|
|
204
209
|
else if (typeof cb === "function") {
|
|
205
210
|
if (typeof optionsOrCb !== "object")
|
|
206
|
-
throw new Error(
|
|
211
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
207
212
|
this.send(command, optionsOrCb || {}, cb);
|
|
208
213
|
}
|
|
209
214
|
else {
|
|
210
215
|
return this.send(command, optionsOrCb);
|
|
211
216
|
}
|
|
212
|
-
}
|
|
213
|
-
|
|
217
|
+
};
|
|
218
|
+
return ServerlessApplicationRepository;
|
|
219
|
+
}(ServerlessApplicationRepositoryClient));
|
|
220
|
+
export { ServerlessApplicationRepository };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var ServerlessApplicationRepositoryClient = (function (_super) {
|
|
13
|
+
__extends(ServerlessApplicationRepositoryClient, _super);
|
|
14
|
+
function ServerlessApplicationRepositoryClient(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;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
ServerlessApplicationRepositoryClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return ServerlessApplicationRepositoryClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { ServerlessApplicationRepositoryClient };
|
|
@@ -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 { CreateApplicationRequestFilterSensitiveLog, CreateApplicationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateApplicationCommand, serializeAws_restJson1CreateApplicationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateApplicationCommand = (function (_super) {
|
|
7
|
+
__extends(CreateApplicationCommand, _super);
|
|
8
|
+
function CreateApplicationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "CreateApplicationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateApplicationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateApplicationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateApplicationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateApplicationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateApplicationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateApplicationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateApplicationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateApplicationCommand };
|
|
@@ -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 { CreateApplicationVersionRequestFilterSensitiveLog, CreateApplicationVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateApplicationVersionCommand, serializeAws_restJson1CreateApplicationVersionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateApplicationVersionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateApplicationVersionCommand, _super);
|
|
8
|
+
function CreateApplicationVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateApplicationVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "CreateApplicationVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateApplicationVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateApplicationVersionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateApplicationVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateApplicationVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateApplicationVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateApplicationVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateApplicationVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateApplicationVersionCommand };
|
|
@@ -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 { CreateCloudFormationChangeSetRequestFilterSensitiveLog, CreateCloudFormationChangeSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateCloudFormationChangeSetCommand, serializeAws_restJson1CreateCloudFormationChangeSetCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateCloudFormationChangeSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "CreateCloudFormationChangeSetCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateCloudFormationChangeSetRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateCloudFormationChangeSetResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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) {
|
|
27
32
|
return serializeAws_restJson1CreateCloudFormationChangeSetCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateCloudFormationChangeSetCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateCloudFormationChangeSetCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateCloudFormationChangeSetCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateCloudFormationChangeSetCommand };
|
|
@@ -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 { CreateCloudFormationTemplateRequestFilterSensitiveLog, CreateCloudFormationTemplateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateCloudFormationTemplateCommand, serializeAws_restJson1CreateCloudFormationTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateCloudFormationTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "CreateCloudFormationTemplateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateCloudFormationTemplateRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateCloudFormationTemplateResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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) {
|
|
27
32
|
return serializeAws_restJson1CreateCloudFormationTemplateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateCloudFormationTemplateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateCloudFormationTemplateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateCloudFormationTemplateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateCloudFormationTemplateCommand };
|