@aws-sdk/client-acm 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_json1_1.js +2 -2
- package/dist-es/ACM.js +69 -62
- package/dist-es/ACMClient.js +28 -22
- package/dist-es/commands/AddTagsToCertificateCommand.js +29 -22
- package/dist-es/commands/DeleteCertificateCommand.js +29 -22
- package/dist-es/commands/DescribeCertificateCommand.js +28 -21
- package/dist-es/commands/ExportCertificateCommand.js +28 -21
- package/dist-es/commands/GetAccountConfigurationCommand.js +29 -22
- package/dist-es/commands/GetCertificateCommand.js +28 -21
- package/dist-es/commands/ImportCertificateCommand.js +28 -21
- package/dist-es/commands/ListCertificatesCommand.js +28 -21
- package/dist-es/commands/ListTagsForCertificateCommand.js +28 -21
- package/dist-es/commands/PutAccountConfigurationCommand.js +29 -22
- package/dist-es/commands/RemoveTagsFromCertificateCommand.js +29 -22
- package/dist-es/commands/RenewCertificateCommand.js +29 -22
- package/dist-es/commands/RequestCertificateCommand.js +28 -21
- package/dist-es/commands/ResendValidationEmailCommand.js +29 -22
- package/dist-es/commands/UpdateCertificateOptionsCommand.js +29 -22
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ACMServiceException.js +10 -5
- package/dist-es/models/models_0.js +212 -282
- package/dist-es/pagination/ListCertificatesPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +1452 -1129
- 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/dist-es/waiters/waitForCertificateValidated.js +102 -61
- 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-acm
|
|
@@ -1453,10 +1453,10 @@ const deserializeAws_json1_1ValidationException = (output, context) => {
|
|
|
1453
1453
|
};
|
|
1454
1454
|
};
|
|
1455
1455
|
const deserializeMetadata = (output) => {
|
|
1456
|
-
var _a;
|
|
1456
|
+
var _a, _b;
|
|
1457
1457
|
return ({
|
|
1458
1458
|
httpStatusCode: output.statusCode,
|
|
1459
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
1459
|
+
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"],
|
|
1460
1460
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1461
1461
|
cfId: output.headers["x-amz-cf-id"],
|
|
1462
1462
|
});
|
package/dist-es/ACM.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ACMClient } from "./ACMClient";
|
|
2
3
|
import { AddTagsToCertificateCommand, } from "./commands/AddTagsToCertificateCommand";
|
|
3
4
|
import { DeleteCertificateCommand, } from "./commands/DeleteCertificateCommand";
|
|
@@ -14,215 +15,221 @@ import { RenewCertificateCommand, } from "./commands/RenewCertificateCommand";
|
|
|
14
15
|
import { RequestCertificateCommand, } from "./commands/RequestCertificateCommand";
|
|
15
16
|
import { ResendValidationEmailCommand, } from "./commands/ResendValidationEmailCommand";
|
|
16
17
|
import { UpdateCertificateOptionsCommand, } from "./commands/UpdateCertificateOptionsCommand";
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
var ACM = (function (_super) {
|
|
19
|
+
__extends(ACM, _super);
|
|
20
|
+
function ACM() {
|
|
21
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
22
|
+
}
|
|
23
|
+
ACM.prototype.addTagsToCertificate = function (args, optionsOrCb, cb) {
|
|
24
|
+
var command = new AddTagsToCertificateCommand(args);
|
|
20
25
|
if (typeof optionsOrCb === "function") {
|
|
21
26
|
this.send(command, optionsOrCb);
|
|
22
27
|
}
|
|
23
28
|
else if (typeof cb === "function") {
|
|
24
29
|
if (typeof optionsOrCb !== "object")
|
|
25
|
-
throw new Error(
|
|
30
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
26
31
|
this.send(command, optionsOrCb || {}, cb);
|
|
27
32
|
}
|
|
28
33
|
else {
|
|
29
34
|
return this.send(command, optionsOrCb);
|
|
30
35
|
}
|
|
31
|
-
}
|
|
32
|
-
deleteCertificate(args, optionsOrCb, cb) {
|
|
33
|
-
|
|
36
|
+
};
|
|
37
|
+
ACM.prototype.deleteCertificate = function (args, optionsOrCb, cb) {
|
|
38
|
+
var command = new DeleteCertificateCommand(args);
|
|
34
39
|
if (typeof optionsOrCb === "function") {
|
|
35
40
|
this.send(command, optionsOrCb);
|
|
36
41
|
}
|
|
37
42
|
else if (typeof cb === "function") {
|
|
38
43
|
if (typeof optionsOrCb !== "object")
|
|
39
|
-
throw new Error(
|
|
44
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
40
45
|
this.send(command, optionsOrCb || {}, cb);
|
|
41
46
|
}
|
|
42
47
|
else {
|
|
43
48
|
return this.send(command, optionsOrCb);
|
|
44
49
|
}
|
|
45
|
-
}
|
|
46
|
-
describeCertificate(args, optionsOrCb, cb) {
|
|
47
|
-
|
|
50
|
+
};
|
|
51
|
+
ACM.prototype.describeCertificate = function (args, optionsOrCb, cb) {
|
|
52
|
+
var command = new DescribeCertificateCommand(args);
|
|
48
53
|
if (typeof optionsOrCb === "function") {
|
|
49
54
|
this.send(command, optionsOrCb);
|
|
50
55
|
}
|
|
51
56
|
else if (typeof cb === "function") {
|
|
52
57
|
if (typeof optionsOrCb !== "object")
|
|
53
|
-
throw new Error(
|
|
58
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
54
59
|
this.send(command, optionsOrCb || {}, cb);
|
|
55
60
|
}
|
|
56
61
|
else {
|
|
57
62
|
return this.send(command, optionsOrCb);
|
|
58
63
|
}
|
|
59
|
-
}
|
|
60
|
-
exportCertificate(args, optionsOrCb, cb) {
|
|
61
|
-
|
|
64
|
+
};
|
|
65
|
+
ACM.prototype.exportCertificate = function (args, optionsOrCb, cb) {
|
|
66
|
+
var command = new ExportCertificateCommand(args);
|
|
62
67
|
if (typeof optionsOrCb === "function") {
|
|
63
68
|
this.send(command, optionsOrCb);
|
|
64
69
|
}
|
|
65
70
|
else if (typeof cb === "function") {
|
|
66
71
|
if (typeof optionsOrCb !== "object")
|
|
67
|
-
throw new Error(
|
|
72
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
68
73
|
this.send(command, optionsOrCb || {}, cb);
|
|
69
74
|
}
|
|
70
75
|
else {
|
|
71
76
|
return this.send(command, optionsOrCb);
|
|
72
77
|
}
|
|
73
|
-
}
|
|
74
|
-
getAccountConfiguration(args, optionsOrCb, cb) {
|
|
75
|
-
|
|
78
|
+
};
|
|
79
|
+
ACM.prototype.getAccountConfiguration = function (args, optionsOrCb, cb) {
|
|
80
|
+
var command = new GetAccountConfigurationCommand(args);
|
|
76
81
|
if (typeof optionsOrCb === "function") {
|
|
77
82
|
this.send(command, optionsOrCb);
|
|
78
83
|
}
|
|
79
84
|
else if (typeof cb === "function") {
|
|
80
85
|
if (typeof optionsOrCb !== "object")
|
|
81
|
-
throw new Error(
|
|
86
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
82
87
|
this.send(command, optionsOrCb || {}, cb);
|
|
83
88
|
}
|
|
84
89
|
else {
|
|
85
90
|
return this.send(command, optionsOrCb);
|
|
86
91
|
}
|
|
87
|
-
}
|
|
88
|
-
getCertificate(args, optionsOrCb, cb) {
|
|
89
|
-
|
|
92
|
+
};
|
|
93
|
+
ACM.prototype.getCertificate = function (args, optionsOrCb, cb) {
|
|
94
|
+
var command = new GetCertificateCommand(args);
|
|
90
95
|
if (typeof optionsOrCb === "function") {
|
|
91
96
|
this.send(command, optionsOrCb);
|
|
92
97
|
}
|
|
93
98
|
else if (typeof cb === "function") {
|
|
94
99
|
if (typeof optionsOrCb !== "object")
|
|
95
|
-
throw new Error(
|
|
100
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
96
101
|
this.send(command, optionsOrCb || {}, cb);
|
|
97
102
|
}
|
|
98
103
|
else {
|
|
99
104
|
return this.send(command, optionsOrCb);
|
|
100
105
|
}
|
|
101
|
-
}
|
|
102
|
-
importCertificate(args, optionsOrCb, cb) {
|
|
103
|
-
|
|
106
|
+
};
|
|
107
|
+
ACM.prototype.importCertificate = function (args, optionsOrCb, cb) {
|
|
108
|
+
var command = new ImportCertificateCommand(args);
|
|
104
109
|
if (typeof optionsOrCb === "function") {
|
|
105
110
|
this.send(command, optionsOrCb);
|
|
106
111
|
}
|
|
107
112
|
else if (typeof cb === "function") {
|
|
108
113
|
if (typeof optionsOrCb !== "object")
|
|
109
|
-
throw new Error(
|
|
114
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
110
115
|
this.send(command, optionsOrCb || {}, cb);
|
|
111
116
|
}
|
|
112
117
|
else {
|
|
113
118
|
return this.send(command, optionsOrCb);
|
|
114
119
|
}
|
|
115
|
-
}
|
|
116
|
-
listCertificates(args, optionsOrCb, cb) {
|
|
117
|
-
|
|
120
|
+
};
|
|
121
|
+
ACM.prototype.listCertificates = function (args, optionsOrCb, cb) {
|
|
122
|
+
var command = new ListCertificatesCommand(args);
|
|
118
123
|
if (typeof optionsOrCb === "function") {
|
|
119
124
|
this.send(command, optionsOrCb);
|
|
120
125
|
}
|
|
121
126
|
else if (typeof cb === "function") {
|
|
122
127
|
if (typeof optionsOrCb !== "object")
|
|
123
|
-
throw new Error(
|
|
128
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
124
129
|
this.send(command, optionsOrCb || {}, cb);
|
|
125
130
|
}
|
|
126
131
|
else {
|
|
127
132
|
return this.send(command, optionsOrCb);
|
|
128
133
|
}
|
|
129
|
-
}
|
|
130
|
-
listTagsForCertificate(args, optionsOrCb, cb) {
|
|
131
|
-
|
|
134
|
+
};
|
|
135
|
+
ACM.prototype.listTagsForCertificate = function (args, optionsOrCb, cb) {
|
|
136
|
+
var command = new ListTagsForCertificateCommand(args);
|
|
132
137
|
if (typeof optionsOrCb === "function") {
|
|
133
138
|
this.send(command, optionsOrCb);
|
|
134
139
|
}
|
|
135
140
|
else if (typeof cb === "function") {
|
|
136
141
|
if (typeof optionsOrCb !== "object")
|
|
137
|
-
throw new Error(
|
|
142
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
138
143
|
this.send(command, optionsOrCb || {}, cb);
|
|
139
144
|
}
|
|
140
145
|
else {
|
|
141
146
|
return this.send(command, optionsOrCb);
|
|
142
147
|
}
|
|
143
|
-
}
|
|
144
|
-
putAccountConfiguration(args, optionsOrCb, cb) {
|
|
145
|
-
|
|
148
|
+
};
|
|
149
|
+
ACM.prototype.putAccountConfiguration = function (args, optionsOrCb, cb) {
|
|
150
|
+
var command = new PutAccountConfigurationCommand(args);
|
|
146
151
|
if (typeof optionsOrCb === "function") {
|
|
147
152
|
this.send(command, optionsOrCb);
|
|
148
153
|
}
|
|
149
154
|
else if (typeof cb === "function") {
|
|
150
155
|
if (typeof optionsOrCb !== "object")
|
|
151
|
-
throw new Error(
|
|
156
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
152
157
|
this.send(command, optionsOrCb || {}, cb);
|
|
153
158
|
}
|
|
154
159
|
else {
|
|
155
160
|
return this.send(command, optionsOrCb);
|
|
156
161
|
}
|
|
157
|
-
}
|
|
158
|
-
removeTagsFromCertificate(args, optionsOrCb, cb) {
|
|
159
|
-
|
|
162
|
+
};
|
|
163
|
+
ACM.prototype.removeTagsFromCertificate = function (args, optionsOrCb, cb) {
|
|
164
|
+
var command = new RemoveTagsFromCertificateCommand(args);
|
|
160
165
|
if (typeof optionsOrCb === "function") {
|
|
161
166
|
this.send(command, optionsOrCb);
|
|
162
167
|
}
|
|
163
168
|
else if (typeof cb === "function") {
|
|
164
169
|
if (typeof optionsOrCb !== "object")
|
|
165
|
-
throw new Error(
|
|
170
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
166
171
|
this.send(command, optionsOrCb || {}, cb);
|
|
167
172
|
}
|
|
168
173
|
else {
|
|
169
174
|
return this.send(command, optionsOrCb);
|
|
170
175
|
}
|
|
171
|
-
}
|
|
172
|
-
renewCertificate(args, optionsOrCb, cb) {
|
|
173
|
-
|
|
176
|
+
};
|
|
177
|
+
ACM.prototype.renewCertificate = function (args, optionsOrCb, cb) {
|
|
178
|
+
var command = new RenewCertificateCommand(args);
|
|
174
179
|
if (typeof optionsOrCb === "function") {
|
|
175
180
|
this.send(command, optionsOrCb);
|
|
176
181
|
}
|
|
177
182
|
else if (typeof cb === "function") {
|
|
178
183
|
if (typeof optionsOrCb !== "object")
|
|
179
|
-
throw new Error(
|
|
184
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
180
185
|
this.send(command, optionsOrCb || {}, cb);
|
|
181
186
|
}
|
|
182
187
|
else {
|
|
183
188
|
return this.send(command, optionsOrCb);
|
|
184
189
|
}
|
|
185
|
-
}
|
|
186
|
-
requestCertificate(args, optionsOrCb, cb) {
|
|
187
|
-
|
|
190
|
+
};
|
|
191
|
+
ACM.prototype.requestCertificate = function (args, optionsOrCb, cb) {
|
|
192
|
+
var command = new RequestCertificateCommand(args);
|
|
188
193
|
if (typeof optionsOrCb === "function") {
|
|
189
194
|
this.send(command, optionsOrCb);
|
|
190
195
|
}
|
|
191
196
|
else if (typeof cb === "function") {
|
|
192
197
|
if (typeof optionsOrCb !== "object")
|
|
193
|
-
throw new Error(
|
|
198
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
194
199
|
this.send(command, optionsOrCb || {}, cb);
|
|
195
200
|
}
|
|
196
201
|
else {
|
|
197
202
|
return this.send(command, optionsOrCb);
|
|
198
203
|
}
|
|
199
|
-
}
|
|
200
|
-
resendValidationEmail(args, optionsOrCb, cb) {
|
|
201
|
-
|
|
204
|
+
};
|
|
205
|
+
ACM.prototype.resendValidationEmail = function (args, optionsOrCb, cb) {
|
|
206
|
+
var command = new ResendValidationEmailCommand(args);
|
|
202
207
|
if (typeof optionsOrCb === "function") {
|
|
203
208
|
this.send(command, optionsOrCb);
|
|
204
209
|
}
|
|
205
210
|
else if (typeof cb === "function") {
|
|
206
211
|
if (typeof optionsOrCb !== "object")
|
|
207
|
-
throw new Error(
|
|
212
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
208
213
|
this.send(command, optionsOrCb || {}, cb);
|
|
209
214
|
}
|
|
210
215
|
else {
|
|
211
216
|
return this.send(command, optionsOrCb);
|
|
212
217
|
}
|
|
213
|
-
}
|
|
214
|
-
updateCertificateOptions(args, optionsOrCb, cb) {
|
|
215
|
-
|
|
218
|
+
};
|
|
219
|
+
ACM.prototype.updateCertificateOptions = function (args, optionsOrCb, cb) {
|
|
220
|
+
var command = new UpdateCertificateOptionsCommand(args);
|
|
216
221
|
if (typeof optionsOrCb === "function") {
|
|
217
222
|
this.send(command, optionsOrCb);
|
|
218
223
|
}
|
|
219
224
|
else if (typeof cb === "function") {
|
|
220
225
|
if (typeof optionsOrCb !== "object")
|
|
221
|
-
throw new Error(
|
|
226
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
222
227
|
this.send(command, optionsOrCb || {}, cb);
|
|
223
228
|
}
|
|
224
229
|
else {
|
|
225
230
|
return this.send(command, optionsOrCb);
|
|
226
231
|
}
|
|
227
|
-
}
|
|
228
|
-
|
|
232
|
+
};
|
|
233
|
+
return ACM;
|
|
234
|
+
}(ACMClient));
|
|
235
|
+
export { ACM };
|
package/dist-es/ACMClient.js
CHANGED
|
@@ -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 ACMClient = (function (_super) {
|
|
13
|
+
__extends(ACMClient, _super);
|
|
14
|
+
function ACMClient(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
|
+
ACMClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return ACMClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { ACMClient };
|
|
@@ -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 { AddTagsToCertificateRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AddTagsToCertificateCommand, serializeAws_json1_1AddTagsToCertificateCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AddTagsToCertificateCommand = (function (_super) {
|
|
7
|
+
__extends(AddTagsToCertificateCommand, _super);
|
|
8
|
+
function AddTagsToCertificateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AddTagsToCertificateCommand.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 = "ACMClient";
|
|
18
|
+
var commandName = "AddTagsToCertificateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AddTagsToCertificateRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
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
|
+
AddTagsToCertificateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1AddTagsToCertificateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AddTagsToCertificateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AddTagsToCertificateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AddTagsToCertificateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AddTagsToCertificateCommand };
|
|
@@ -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 { DeleteCertificateRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeleteCertificateCommand, serializeAws_json1_1DeleteCertificateCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteCertificateCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteCertificateCommand, _super);
|
|
8
|
+
function DeleteCertificateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteCertificateCommand.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 = "ACMClient";
|
|
18
|
+
var commandName = "DeleteCertificateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteCertificateRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
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
|
+
DeleteCertificateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeleteCertificateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteCertificateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeleteCertificateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteCertificateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteCertificateCommand };
|
|
@@ -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 { DescribeCertificateRequestFilterSensitiveLog, DescribeCertificateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeCertificateCommand, serializeAws_json1_1DescribeCertificateCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeCertificateCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeCertificateCommand, _super);
|
|
8
|
+
function DescribeCertificateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeCertificateCommand.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 = "ACMClient";
|
|
18
|
+
var commandName = "DescribeCertificateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeCertificateRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeCertificateResponseFilterSensitiveLog,
|
|
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
|
+
DescribeCertificateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeCertificateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeCertificateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeCertificateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeCertificateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeCertificateCommand };
|
|
@@ -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 { ExportCertificateRequestFilterSensitiveLog, ExportCertificateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1ExportCertificateCommand, serializeAws_json1_1ExportCertificateCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ExportCertificateCommand = (function (_super) {
|
|
7
|
+
__extends(ExportCertificateCommand, _super);
|
|
8
|
+
function ExportCertificateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ExportCertificateCommand.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 = "ACMClient";
|
|
18
|
+
var commandName = "ExportCertificateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ExportCertificateRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ExportCertificateResponseFilterSensitiveLog,
|
|
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
|
+
ExportCertificateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1ExportCertificateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ExportCertificateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1ExportCertificateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ExportCertificateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ExportCertificateCommand };
|