@aws-sdk/client-signer 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.
Files changed (34) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Signer.js +77 -70
  4. package/dist-es/SignerClient.js +28 -22
  5. package/dist-es/commands/AddProfilePermissionCommand.js +28 -21
  6. package/dist-es/commands/CancelSigningProfileCommand.js +29 -22
  7. package/dist-es/commands/DescribeSigningJobCommand.js +28 -21
  8. package/dist-es/commands/GetSigningPlatformCommand.js +28 -21
  9. package/dist-es/commands/GetSigningProfileCommand.js +28 -21
  10. package/dist-es/commands/ListProfilePermissionsCommand.js +28 -21
  11. package/dist-es/commands/ListSigningJobsCommand.js +28 -21
  12. package/dist-es/commands/ListSigningPlatformsCommand.js +28 -21
  13. package/dist-es/commands/ListSigningProfilesCommand.js +28 -21
  14. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  15. package/dist-es/commands/PutSigningProfileCommand.js +28 -21
  16. package/dist-es/commands/RemoveProfilePermissionCommand.js +28 -21
  17. package/dist-es/commands/RevokeSignatureCommand.js +29 -22
  18. package/dist-es/commands/RevokeSigningProfileCommand.js +29 -22
  19. package/dist-es/commands/StartSigningJobCommand.js +28 -21
  20. package/dist-es/commands/TagResourceCommand.js +28 -21
  21. package/dist-es/commands/UntagResourceCommand.js +28 -21
  22. package/dist-es/endpoints.js +8 -8
  23. package/dist-es/models/SignerServiceException.js +10 -5
  24. package/dist-es/models/models_0.js +172 -273
  25. package/dist-es/pagination/ListSigningJobsPaginator.js +68 -25
  26. package/dist-es/pagination/ListSigningPlatformsPaginator.js +68 -25
  27. package/dist-es/pagination/ListSigningProfilesPaginator.js +68 -25
  28. package/dist-es/protocols/Aws_restJson1.js +2004 -1494
  29. package/dist-es/runtimeConfig.browser.js +12 -26
  30. package/dist-es/runtimeConfig.js +12 -30
  31. package/dist-es/runtimeConfig.native.js +5 -8
  32. package/dist-es/runtimeConfig.shared.js +11 -8
  33. package/dist-es/waiters/waitForSuccessfulSigningJob.js +59 -39
  34. 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-signer
@@ -1775,10 +1775,10 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1775
1775
  }, {});
1776
1776
  };
1777
1777
  const deserializeMetadata = (output) => {
1778
- var _a;
1778
+ var _a, _b;
1779
1779
  return ({
1780
1780
  httpStatusCode: output.statusCode,
1781
- requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
1781
+ 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"],
1782
1782
  extendedRequestId: output.headers["x-amz-id-2"],
1783
1783
  cfId: output.headers["x-amz-cf-id"],
1784
1784
  });
package/dist-es/Signer.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { AddProfilePermissionCommand, } from "./commands/AddProfilePermissionCommand";
2
3
  import { CancelSigningProfileCommand, } from "./commands/CancelSigningProfileCommand";
3
4
  import { DescribeSigningJobCommand, } from "./commands/DescribeSigningJobCommand";
@@ -16,243 +17,249 @@ import { StartSigningJobCommand, } from "./commands/StartSigningJobCommand";
16
17
  import { TagResourceCommand } from "./commands/TagResourceCommand";
17
18
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
18
19
  import { SignerClient } from "./SignerClient";
19
- export class Signer extends SignerClient {
20
- addProfilePermission(args, optionsOrCb, cb) {
21
- const command = new AddProfilePermissionCommand(args);
20
+ var Signer = (function (_super) {
21
+ __extends(Signer, _super);
22
+ function Signer() {
23
+ return _super !== null && _super.apply(this, arguments) || this;
24
+ }
25
+ Signer.prototype.addProfilePermission = function (args, optionsOrCb, cb) {
26
+ var command = new AddProfilePermissionCommand(args);
22
27
  if (typeof optionsOrCb === "function") {
23
28
  this.send(command, optionsOrCb);
24
29
  }
25
30
  else if (typeof cb === "function") {
26
31
  if (typeof optionsOrCb !== "object")
27
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
32
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
28
33
  this.send(command, optionsOrCb || {}, cb);
29
34
  }
30
35
  else {
31
36
  return this.send(command, optionsOrCb);
32
37
  }
33
- }
34
- cancelSigningProfile(args, optionsOrCb, cb) {
35
- const command = new CancelSigningProfileCommand(args);
38
+ };
39
+ Signer.prototype.cancelSigningProfile = function (args, optionsOrCb, cb) {
40
+ var command = new CancelSigningProfileCommand(args);
36
41
  if (typeof optionsOrCb === "function") {
37
42
  this.send(command, optionsOrCb);
38
43
  }
39
44
  else if (typeof cb === "function") {
40
45
  if (typeof optionsOrCb !== "object")
41
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
46
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
42
47
  this.send(command, optionsOrCb || {}, cb);
43
48
  }
44
49
  else {
45
50
  return this.send(command, optionsOrCb);
46
51
  }
47
- }
48
- describeSigningJob(args, optionsOrCb, cb) {
49
- const command = new DescribeSigningJobCommand(args);
52
+ };
53
+ Signer.prototype.describeSigningJob = function (args, optionsOrCb, cb) {
54
+ var command = new DescribeSigningJobCommand(args);
50
55
  if (typeof optionsOrCb === "function") {
51
56
  this.send(command, optionsOrCb);
52
57
  }
53
58
  else if (typeof cb === "function") {
54
59
  if (typeof optionsOrCb !== "object")
55
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
60
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
56
61
  this.send(command, optionsOrCb || {}, cb);
57
62
  }
58
63
  else {
59
64
  return this.send(command, optionsOrCb);
60
65
  }
61
- }
62
- getSigningPlatform(args, optionsOrCb, cb) {
63
- const command = new GetSigningPlatformCommand(args);
66
+ };
67
+ Signer.prototype.getSigningPlatform = function (args, optionsOrCb, cb) {
68
+ var command = new GetSigningPlatformCommand(args);
64
69
  if (typeof optionsOrCb === "function") {
65
70
  this.send(command, optionsOrCb);
66
71
  }
67
72
  else if (typeof cb === "function") {
68
73
  if (typeof optionsOrCb !== "object")
69
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
74
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
70
75
  this.send(command, optionsOrCb || {}, cb);
71
76
  }
72
77
  else {
73
78
  return this.send(command, optionsOrCb);
74
79
  }
75
- }
76
- getSigningProfile(args, optionsOrCb, cb) {
77
- const command = new GetSigningProfileCommand(args);
80
+ };
81
+ Signer.prototype.getSigningProfile = function (args, optionsOrCb, cb) {
82
+ var command = new GetSigningProfileCommand(args);
78
83
  if (typeof optionsOrCb === "function") {
79
84
  this.send(command, optionsOrCb);
80
85
  }
81
86
  else if (typeof cb === "function") {
82
87
  if (typeof optionsOrCb !== "object")
83
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
88
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
84
89
  this.send(command, optionsOrCb || {}, cb);
85
90
  }
86
91
  else {
87
92
  return this.send(command, optionsOrCb);
88
93
  }
89
- }
90
- listProfilePermissions(args, optionsOrCb, cb) {
91
- const command = new ListProfilePermissionsCommand(args);
94
+ };
95
+ Signer.prototype.listProfilePermissions = function (args, optionsOrCb, cb) {
96
+ var command = new ListProfilePermissionsCommand(args);
92
97
  if (typeof optionsOrCb === "function") {
93
98
  this.send(command, optionsOrCb);
94
99
  }
95
100
  else if (typeof cb === "function") {
96
101
  if (typeof optionsOrCb !== "object")
97
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
102
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
98
103
  this.send(command, optionsOrCb || {}, cb);
99
104
  }
100
105
  else {
101
106
  return this.send(command, optionsOrCb);
102
107
  }
103
- }
104
- listSigningJobs(args, optionsOrCb, cb) {
105
- const command = new ListSigningJobsCommand(args);
108
+ };
109
+ Signer.prototype.listSigningJobs = function (args, optionsOrCb, cb) {
110
+ var command = new ListSigningJobsCommand(args);
106
111
  if (typeof optionsOrCb === "function") {
107
112
  this.send(command, optionsOrCb);
108
113
  }
109
114
  else if (typeof cb === "function") {
110
115
  if (typeof optionsOrCb !== "object")
111
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
116
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
112
117
  this.send(command, optionsOrCb || {}, cb);
113
118
  }
114
119
  else {
115
120
  return this.send(command, optionsOrCb);
116
121
  }
117
- }
118
- listSigningPlatforms(args, optionsOrCb, cb) {
119
- const command = new ListSigningPlatformsCommand(args);
122
+ };
123
+ Signer.prototype.listSigningPlatforms = function (args, optionsOrCb, cb) {
124
+ var command = new ListSigningPlatformsCommand(args);
120
125
  if (typeof optionsOrCb === "function") {
121
126
  this.send(command, optionsOrCb);
122
127
  }
123
128
  else if (typeof cb === "function") {
124
129
  if (typeof optionsOrCb !== "object")
125
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
130
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
126
131
  this.send(command, optionsOrCb || {}, cb);
127
132
  }
128
133
  else {
129
134
  return this.send(command, optionsOrCb);
130
135
  }
131
- }
132
- listSigningProfiles(args, optionsOrCb, cb) {
133
- const command = new ListSigningProfilesCommand(args);
136
+ };
137
+ Signer.prototype.listSigningProfiles = function (args, optionsOrCb, cb) {
138
+ var command = new ListSigningProfilesCommand(args);
134
139
  if (typeof optionsOrCb === "function") {
135
140
  this.send(command, optionsOrCb);
136
141
  }
137
142
  else if (typeof cb === "function") {
138
143
  if (typeof optionsOrCb !== "object")
139
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
144
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
140
145
  this.send(command, optionsOrCb || {}, cb);
141
146
  }
142
147
  else {
143
148
  return this.send(command, optionsOrCb);
144
149
  }
145
- }
146
- listTagsForResource(args, optionsOrCb, cb) {
147
- const command = new ListTagsForResourceCommand(args);
150
+ };
151
+ Signer.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
152
+ var command = new ListTagsForResourceCommand(args);
148
153
  if (typeof optionsOrCb === "function") {
149
154
  this.send(command, optionsOrCb);
150
155
  }
151
156
  else if (typeof cb === "function") {
152
157
  if (typeof optionsOrCb !== "object")
153
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
158
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
154
159
  this.send(command, optionsOrCb || {}, cb);
155
160
  }
156
161
  else {
157
162
  return this.send(command, optionsOrCb);
158
163
  }
159
- }
160
- putSigningProfile(args, optionsOrCb, cb) {
161
- const command = new PutSigningProfileCommand(args);
164
+ };
165
+ Signer.prototype.putSigningProfile = function (args, optionsOrCb, cb) {
166
+ var command = new PutSigningProfileCommand(args);
162
167
  if (typeof optionsOrCb === "function") {
163
168
  this.send(command, optionsOrCb);
164
169
  }
165
170
  else if (typeof cb === "function") {
166
171
  if (typeof optionsOrCb !== "object")
167
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
172
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
168
173
  this.send(command, optionsOrCb || {}, cb);
169
174
  }
170
175
  else {
171
176
  return this.send(command, optionsOrCb);
172
177
  }
173
- }
174
- removeProfilePermission(args, optionsOrCb, cb) {
175
- const command = new RemoveProfilePermissionCommand(args);
178
+ };
179
+ Signer.prototype.removeProfilePermission = function (args, optionsOrCb, cb) {
180
+ var command = new RemoveProfilePermissionCommand(args);
176
181
  if (typeof optionsOrCb === "function") {
177
182
  this.send(command, optionsOrCb);
178
183
  }
179
184
  else if (typeof cb === "function") {
180
185
  if (typeof optionsOrCb !== "object")
181
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
186
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
182
187
  this.send(command, optionsOrCb || {}, cb);
183
188
  }
184
189
  else {
185
190
  return this.send(command, optionsOrCb);
186
191
  }
187
- }
188
- revokeSignature(args, optionsOrCb, cb) {
189
- const command = new RevokeSignatureCommand(args);
192
+ };
193
+ Signer.prototype.revokeSignature = function (args, optionsOrCb, cb) {
194
+ var command = new RevokeSignatureCommand(args);
190
195
  if (typeof optionsOrCb === "function") {
191
196
  this.send(command, optionsOrCb);
192
197
  }
193
198
  else if (typeof cb === "function") {
194
199
  if (typeof optionsOrCb !== "object")
195
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
200
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
196
201
  this.send(command, optionsOrCb || {}, cb);
197
202
  }
198
203
  else {
199
204
  return this.send(command, optionsOrCb);
200
205
  }
201
- }
202
- revokeSigningProfile(args, optionsOrCb, cb) {
203
- const command = new RevokeSigningProfileCommand(args);
206
+ };
207
+ Signer.prototype.revokeSigningProfile = function (args, optionsOrCb, cb) {
208
+ var command = new RevokeSigningProfileCommand(args);
204
209
  if (typeof optionsOrCb === "function") {
205
210
  this.send(command, optionsOrCb);
206
211
  }
207
212
  else if (typeof cb === "function") {
208
213
  if (typeof optionsOrCb !== "object")
209
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
214
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
210
215
  this.send(command, optionsOrCb || {}, cb);
211
216
  }
212
217
  else {
213
218
  return this.send(command, optionsOrCb);
214
219
  }
215
- }
216
- startSigningJob(args, optionsOrCb, cb) {
217
- const command = new StartSigningJobCommand(args);
220
+ };
221
+ Signer.prototype.startSigningJob = function (args, optionsOrCb, cb) {
222
+ var command = new StartSigningJobCommand(args);
218
223
  if (typeof optionsOrCb === "function") {
219
224
  this.send(command, optionsOrCb);
220
225
  }
221
226
  else if (typeof cb === "function") {
222
227
  if (typeof optionsOrCb !== "object")
223
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
228
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
224
229
  this.send(command, optionsOrCb || {}, cb);
225
230
  }
226
231
  else {
227
232
  return this.send(command, optionsOrCb);
228
233
  }
229
- }
230
- tagResource(args, optionsOrCb, cb) {
231
- const command = new TagResourceCommand(args);
234
+ };
235
+ Signer.prototype.tagResource = function (args, optionsOrCb, cb) {
236
+ var command = new TagResourceCommand(args);
232
237
  if (typeof optionsOrCb === "function") {
233
238
  this.send(command, optionsOrCb);
234
239
  }
235
240
  else if (typeof cb === "function") {
236
241
  if (typeof optionsOrCb !== "object")
237
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
242
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
238
243
  this.send(command, optionsOrCb || {}, cb);
239
244
  }
240
245
  else {
241
246
  return this.send(command, optionsOrCb);
242
247
  }
243
- }
244
- untagResource(args, optionsOrCb, cb) {
245
- const command = new UntagResourceCommand(args);
248
+ };
249
+ Signer.prototype.untagResource = function (args, optionsOrCb, cb) {
250
+ var command = new UntagResourceCommand(args);
246
251
  if (typeof optionsOrCb === "function") {
247
252
  this.send(command, optionsOrCb);
248
253
  }
249
254
  else if (typeof cb === "function") {
250
255
  if (typeof optionsOrCb !== "object")
251
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
256
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
252
257
  this.send(command, optionsOrCb || {}, cb);
253
258
  }
254
259
  else {
255
260
  return this.send(command, optionsOrCb);
256
261
  }
257
- }
258
- }
262
+ };
263
+ return Signer;
264
+ }(SignerClient));
265
+ export { Signer };
@@ -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
- export class SignerClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var SignerClient = (function (_super) {
13
+ __extends(SignerClient, _super);
14
+ function SignerClient(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
- super.destroy();
32
- }
33
- }
34
+ SignerClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return SignerClient;
38
+ }(__Client));
39
+ export { SignerClient };
@@ -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 { AddProfilePermissionRequestFilterSensitiveLog, AddProfilePermissionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AddProfilePermissionCommand, serializeAws_restJson1AddProfilePermissionCommand, } from "../protocols/Aws_restJson1";
5
- export class AddProfilePermissionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AddProfilePermissionCommand = (function (_super) {
7
+ __extends(AddProfilePermissionCommand, _super);
8
+ function AddProfilePermissionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddProfilePermissionCommand.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 = "SignerClient";
15
- const commandName = "AddProfilePermissionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SignerClient";
18
+ var commandName = "AddProfilePermissionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AddProfilePermissionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AddProfilePermissionResponseFilterSensitiveLog,
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
+ AddProfilePermissionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AddProfilePermissionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddProfilePermissionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AddProfilePermissionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddProfilePermissionCommand;
38
+ }($Command));
39
+ export { AddProfilePermissionCommand };
@@ -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 { CancelSigningProfileRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CancelSigningProfileCommand, serializeAws_restJson1CancelSigningProfileCommand, } from "../protocols/Aws_restJson1";
5
- export class CancelSigningProfileCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CancelSigningProfileCommand = (function (_super) {
7
+ __extends(CancelSigningProfileCommand, _super);
8
+ function CancelSigningProfileCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelSigningProfileCommand.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 = "SignerClient";
15
- const commandName = "CancelSigningProfileCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SignerClient";
18
+ var commandName = "CancelSigningProfileCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CancelSigningProfileRequestFilterSensitiveLog,
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
+ CancelSigningProfileCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CancelSigningProfileCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelSigningProfileCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CancelSigningProfileCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelSigningProfileCommand;
38
+ }($Command));
39
+ export { CancelSigningProfileCommand };
@@ -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 { DescribeSigningJobRequestFilterSensitiveLog, DescribeSigningJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeSigningJobCommand, serializeAws_restJson1DescribeSigningJobCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeSigningJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeSigningJobCommand = (function (_super) {
7
+ __extends(DescribeSigningJobCommand, _super);
8
+ function DescribeSigningJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeSigningJobCommand.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 = "SignerClient";
15
- const commandName = "DescribeSigningJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SignerClient";
18
+ var commandName = "DescribeSigningJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeSigningJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeSigningJobResponseFilterSensitiveLog,
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
+ DescribeSigningJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeSigningJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeSigningJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeSigningJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeSigningJobCommand;
38
+ }($Command));
39
+ export { DescribeSigningJobCommand };