@aws-sdk/client-acm 3.315.0 → 3.319.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/dist-cjs/ACM.js +19 -210
- package/dist-es/ACM.js +19 -210
- package/dist-types/ACM.d.ts +24 -180
- package/dist-types/ts3.4/ACM.d.ts +2 -1
- package/package.json +8 -8
package/dist-cjs/ACM.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ACM = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const ACMClient_1 = require("./ACMClient");
|
|
5
6
|
const AddTagsToCertificateCommand_1 = require("./commands/AddTagsToCertificateCommand");
|
|
6
7
|
const DeleteCertificateCommand_1 = require("./commands/DeleteCertificateCommand");
|
|
@@ -17,216 +18,24 @@ const RenewCertificateCommand_1 = require("./commands/RenewCertificateCommand");
|
|
|
17
18
|
const RequestCertificateCommand_1 = require("./commands/RequestCertificateCommand");
|
|
18
19
|
const ResendValidationEmailCommand_1 = require("./commands/ResendValidationEmailCommand");
|
|
19
20
|
const UpdateCertificateOptionsCommand_1 = require("./commands/UpdateCertificateOptionsCommand");
|
|
21
|
+
const commands = {
|
|
22
|
+
AddTagsToCertificateCommand: AddTagsToCertificateCommand_1.AddTagsToCertificateCommand,
|
|
23
|
+
DeleteCertificateCommand: DeleteCertificateCommand_1.DeleteCertificateCommand,
|
|
24
|
+
DescribeCertificateCommand: DescribeCertificateCommand_1.DescribeCertificateCommand,
|
|
25
|
+
ExportCertificateCommand: ExportCertificateCommand_1.ExportCertificateCommand,
|
|
26
|
+
GetAccountConfigurationCommand: GetAccountConfigurationCommand_1.GetAccountConfigurationCommand,
|
|
27
|
+
GetCertificateCommand: GetCertificateCommand_1.GetCertificateCommand,
|
|
28
|
+
ImportCertificateCommand: ImportCertificateCommand_1.ImportCertificateCommand,
|
|
29
|
+
ListCertificatesCommand: ListCertificatesCommand_1.ListCertificatesCommand,
|
|
30
|
+
ListTagsForCertificateCommand: ListTagsForCertificateCommand_1.ListTagsForCertificateCommand,
|
|
31
|
+
PutAccountConfigurationCommand: PutAccountConfigurationCommand_1.PutAccountConfigurationCommand,
|
|
32
|
+
RemoveTagsFromCertificateCommand: RemoveTagsFromCertificateCommand_1.RemoveTagsFromCertificateCommand,
|
|
33
|
+
RenewCertificateCommand: RenewCertificateCommand_1.RenewCertificateCommand,
|
|
34
|
+
RequestCertificateCommand: RequestCertificateCommand_1.RequestCertificateCommand,
|
|
35
|
+
ResendValidationEmailCommand: ResendValidationEmailCommand_1.ResendValidationEmailCommand,
|
|
36
|
+
UpdateCertificateOptionsCommand: UpdateCertificateOptionsCommand_1.UpdateCertificateOptionsCommand,
|
|
37
|
+
};
|
|
20
38
|
class ACM extends ACMClient_1.ACMClient {
|
|
21
|
-
addTagsToCertificate(args, optionsOrCb, cb) {
|
|
22
|
-
const command = new AddTagsToCertificateCommand_1.AddTagsToCertificateCommand(args);
|
|
23
|
-
if (typeof optionsOrCb === "function") {
|
|
24
|
-
this.send(command, optionsOrCb);
|
|
25
|
-
}
|
|
26
|
-
else if (typeof cb === "function") {
|
|
27
|
-
if (typeof optionsOrCb !== "object")
|
|
28
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
29
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
return this.send(command, optionsOrCb);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
deleteCertificate(args, optionsOrCb, cb) {
|
|
36
|
-
const command = new DeleteCertificateCommand_1.DeleteCertificateCommand(args);
|
|
37
|
-
if (typeof optionsOrCb === "function") {
|
|
38
|
-
this.send(command, optionsOrCb);
|
|
39
|
-
}
|
|
40
|
-
else if (typeof cb === "function") {
|
|
41
|
-
if (typeof optionsOrCb !== "object")
|
|
42
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
43
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
return this.send(command, optionsOrCb);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
describeCertificate(args, optionsOrCb, cb) {
|
|
50
|
-
const command = new DescribeCertificateCommand_1.DescribeCertificateCommand(args);
|
|
51
|
-
if (typeof optionsOrCb === "function") {
|
|
52
|
-
this.send(command, optionsOrCb);
|
|
53
|
-
}
|
|
54
|
-
else if (typeof cb === "function") {
|
|
55
|
-
if (typeof optionsOrCb !== "object")
|
|
56
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
57
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
return this.send(command, optionsOrCb);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
exportCertificate(args, optionsOrCb, cb) {
|
|
64
|
-
const command = new ExportCertificateCommand_1.ExportCertificateCommand(args);
|
|
65
|
-
if (typeof optionsOrCb === "function") {
|
|
66
|
-
this.send(command, optionsOrCb);
|
|
67
|
-
}
|
|
68
|
-
else if (typeof cb === "function") {
|
|
69
|
-
if (typeof optionsOrCb !== "object")
|
|
70
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
71
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
72
|
-
}
|
|
73
|
-
else {
|
|
74
|
-
return this.send(command, optionsOrCb);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
getAccountConfiguration(args, optionsOrCb, cb) {
|
|
78
|
-
const command = new GetAccountConfigurationCommand_1.GetAccountConfigurationCommand(args);
|
|
79
|
-
if (typeof optionsOrCb === "function") {
|
|
80
|
-
this.send(command, optionsOrCb);
|
|
81
|
-
}
|
|
82
|
-
else if (typeof cb === "function") {
|
|
83
|
-
if (typeof optionsOrCb !== "object")
|
|
84
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
85
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
86
|
-
}
|
|
87
|
-
else {
|
|
88
|
-
return this.send(command, optionsOrCb);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
getCertificate(args, optionsOrCb, cb) {
|
|
92
|
-
const command = new GetCertificateCommand_1.GetCertificateCommand(args);
|
|
93
|
-
if (typeof optionsOrCb === "function") {
|
|
94
|
-
this.send(command, optionsOrCb);
|
|
95
|
-
}
|
|
96
|
-
else if (typeof cb === "function") {
|
|
97
|
-
if (typeof optionsOrCb !== "object")
|
|
98
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
99
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
100
|
-
}
|
|
101
|
-
else {
|
|
102
|
-
return this.send(command, optionsOrCb);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
importCertificate(args, optionsOrCb, cb) {
|
|
106
|
-
const command = new ImportCertificateCommand_1.ImportCertificateCommand(args);
|
|
107
|
-
if (typeof optionsOrCb === "function") {
|
|
108
|
-
this.send(command, optionsOrCb);
|
|
109
|
-
}
|
|
110
|
-
else if (typeof cb === "function") {
|
|
111
|
-
if (typeof optionsOrCb !== "object")
|
|
112
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
113
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
114
|
-
}
|
|
115
|
-
else {
|
|
116
|
-
return this.send(command, optionsOrCb);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
listCertificates(args, optionsOrCb, cb) {
|
|
120
|
-
const command = new ListCertificatesCommand_1.ListCertificatesCommand(args);
|
|
121
|
-
if (typeof optionsOrCb === "function") {
|
|
122
|
-
this.send(command, optionsOrCb);
|
|
123
|
-
}
|
|
124
|
-
else if (typeof cb === "function") {
|
|
125
|
-
if (typeof optionsOrCb !== "object")
|
|
126
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
127
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
return this.send(command, optionsOrCb);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
listTagsForCertificate(args, optionsOrCb, cb) {
|
|
134
|
-
const command = new ListTagsForCertificateCommand_1.ListTagsForCertificateCommand(args);
|
|
135
|
-
if (typeof optionsOrCb === "function") {
|
|
136
|
-
this.send(command, optionsOrCb);
|
|
137
|
-
}
|
|
138
|
-
else if (typeof cb === "function") {
|
|
139
|
-
if (typeof optionsOrCb !== "object")
|
|
140
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
141
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
return this.send(command, optionsOrCb);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
putAccountConfiguration(args, optionsOrCb, cb) {
|
|
148
|
-
const command = new PutAccountConfigurationCommand_1.PutAccountConfigurationCommand(args);
|
|
149
|
-
if (typeof optionsOrCb === "function") {
|
|
150
|
-
this.send(command, optionsOrCb);
|
|
151
|
-
}
|
|
152
|
-
else if (typeof cb === "function") {
|
|
153
|
-
if (typeof optionsOrCb !== "object")
|
|
154
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
155
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
156
|
-
}
|
|
157
|
-
else {
|
|
158
|
-
return this.send(command, optionsOrCb);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
removeTagsFromCertificate(args, optionsOrCb, cb) {
|
|
162
|
-
const command = new RemoveTagsFromCertificateCommand_1.RemoveTagsFromCertificateCommand(args);
|
|
163
|
-
if (typeof optionsOrCb === "function") {
|
|
164
|
-
this.send(command, optionsOrCb);
|
|
165
|
-
}
|
|
166
|
-
else if (typeof cb === "function") {
|
|
167
|
-
if (typeof optionsOrCb !== "object")
|
|
168
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
169
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
170
|
-
}
|
|
171
|
-
else {
|
|
172
|
-
return this.send(command, optionsOrCb);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
renewCertificate(args, optionsOrCb, cb) {
|
|
176
|
-
const command = new RenewCertificateCommand_1.RenewCertificateCommand(args);
|
|
177
|
-
if (typeof optionsOrCb === "function") {
|
|
178
|
-
this.send(command, optionsOrCb);
|
|
179
|
-
}
|
|
180
|
-
else if (typeof cb === "function") {
|
|
181
|
-
if (typeof optionsOrCb !== "object")
|
|
182
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
183
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
184
|
-
}
|
|
185
|
-
else {
|
|
186
|
-
return this.send(command, optionsOrCb);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
requestCertificate(args, optionsOrCb, cb) {
|
|
190
|
-
const command = new RequestCertificateCommand_1.RequestCertificateCommand(args);
|
|
191
|
-
if (typeof optionsOrCb === "function") {
|
|
192
|
-
this.send(command, optionsOrCb);
|
|
193
|
-
}
|
|
194
|
-
else if (typeof cb === "function") {
|
|
195
|
-
if (typeof optionsOrCb !== "object")
|
|
196
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
197
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
198
|
-
}
|
|
199
|
-
else {
|
|
200
|
-
return this.send(command, optionsOrCb);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
resendValidationEmail(args, optionsOrCb, cb) {
|
|
204
|
-
const command = new ResendValidationEmailCommand_1.ResendValidationEmailCommand(args);
|
|
205
|
-
if (typeof optionsOrCb === "function") {
|
|
206
|
-
this.send(command, optionsOrCb);
|
|
207
|
-
}
|
|
208
|
-
else if (typeof cb === "function") {
|
|
209
|
-
if (typeof optionsOrCb !== "object")
|
|
210
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
211
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
212
|
-
}
|
|
213
|
-
else {
|
|
214
|
-
return this.send(command, optionsOrCb);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
updateCertificateOptions(args, optionsOrCb, cb) {
|
|
218
|
-
const command = new UpdateCertificateOptionsCommand_1.UpdateCertificateOptionsCommand(args);
|
|
219
|
-
if (typeof optionsOrCb === "function") {
|
|
220
|
-
this.send(command, optionsOrCb);
|
|
221
|
-
}
|
|
222
|
-
else if (typeof cb === "function") {
|
|
223
|
-
if (typeof optionsOrCb !== "object")
|
|
224
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
225
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
226
|
-
}
|
|
227
|
-
else {
|
|
228
|
-
return this.send(command, optionsOrCb);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
39
|
}
|
|
232
40
|
exports.ACM = ACM;
|
|
41
|
+
(0, smithy_client_1.createAggregatedClient)(commands, ACM);
|
package/dist-es/ACM.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { ACMClient } from "./ACMClient";
|
|
2
3
|
import { AddTagsToCertificateCommand, } from "./commands/AddTagsToCertificateCommand";
|
|
3
4
|
import { DeleteCertificateCommand, } from "./commands/DeleteCertificateCommand";
|
|
@@ -14,215 +15,23 @@ 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";
|
|
18
|
+
const commands = {
|
|
19
|
+
AddTagsToCertificateCommand,
|
|
20
|
+
DeleteCertificateCommand,
|
|
21
|
+
DescribeCertificateCommand,
|
|
22
|
+
ExportCertificateCommand,
|
|
23
|
+
GetAccountConfigurationCommand,
|
|
24
|
+
GetCertificateCommand,
|
|
25
|
+
ImportCertificateCommand,
|
|
26
|
+
ListCertificatesCommand,
|
|
27
|
+
ListTagsForCertificateCommand,
|
|
28
|
+
PutAccountConfigurationCommand,
|
|
29
|
+
RemoveTagsFromCertificateCommand,
|
|
30
|
+
RenewCertificateCommand,
|
|
31
|
+
RequestCertificateCommand,
|
|
32
|
+
ResendValidationEmailCommand,
|
|
33
|
+
UpdateCertificateOptionsCommand,
|
|
34
|
+
};
|
|
17
35
|
export class ACM extends ACMClient {
|
|
18
|
-
addTagsToCertificate(args, optionsOrCb, cb) {
|
|
19
|
-
const command = new AddTagsToCertificateCommand(args);
|
|
20
|
-
if (typeof optionsOrCb === "function") {
|
|
21
|
-
this.send(command, optionsOrCb);
|
|
22
|
-
}
|
|
23
|
-
else if (typeof cb === "function") {
|
|
24
|
-
if (typeof optionsOrCb !== "object")
|
|
25
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
26
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
return this.send(command, optionsOrCb);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
deleteCertificate(args, optionsOrCb, cb) {
|
|
33
|
-
const command = new DeleteCertificateCommand(args);
|
|
34
|
-
if (typeof optionsOrCb === "function") {
|
|
35
|
-
this.send(command, optionsOrCb);
|
|
36
|
-
}
|
|
37
|
-
else if (typeof cb === "function") {
|
|
38
|
-
if (typeof optionsOrCb !== "object")
|
|
39
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
40
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
return this.send(command, optionsOrCb);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
describeCertificate(args, optionsOrCb, cb) {
|
|
47
|
-
const command = new DescribeCertificateCommand(args);
|
|
48
|
-
if (typeof optionsOrCb === "function") {
|
|
49
|
-
this.send(command, optionsOrCb);
|
|
50
|
-
}
|
|
51
|
-
else if (typeof cb === "function") {
|
|
52
|
-
if (typeof optionsOrCb !== "object")
|
|
53
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
54
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
return this.send(command, optionsOrCb);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
exportCertificate(args, optionsOrCb, cb) {
|
|
61
|
-
const command = new ExportCertificateCommand(args);
|
|
62
|
-
if (typeof optionsOrCb === "function") {
|
|
63
|
-
this.send(command, optionsOrCb);
|
|
64
|
-
}
|
|
65
|
-
else if (typeof cb === "function") {
|
|
66
|
-
if (typeof optionsOrCb !== "object")
|
|
67
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
68
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
return this.send(command, optionsOrCb);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
getAccountConfiguration(args, optionsOrCb, cb) {
|
|
75
|
-
const command = new GetAccountConfigurationCommand(args);
|
|
76
|
-
if (typeof optionsOrCb === "function") {
|
|
77
|
-
this.send(command, optionsOrCb);
|
|
78
|
-
}
|
|
79
|
-
else if (typeof cb === "function") {
|
|
80
|
-
if (typeof optionsOrCb !== "object")
|
|
81
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
82
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
85
|
-
return this.send(command, optionsOrCb);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
getCertificate(args, optionsOrCb, cb) {
|
|
89
|
-
const command = new GetCertificateCommand(args);
|
|
90
|
-
if (typeof optionsOrCb === "function") {
|
|
91
|
-
this.send(command, optionsOrCb);
|
|
92
|
-
}
|
|
93
|
-
else if (typeof cb === "function") {
|
|
94
|
-
if (typeof optionsOrCb !== "object")
|
|
95
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
96
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
return this.send(command, optionsOrCb);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
importCertificate(args, optionsOrCb, cb) {
|
|
103
|
-
const command = new ImportCertificateCommand(args);
|
|
104
|
-
if (typeof optionsOrCb === "function") {
|
|
105
|
-
this.send(command, optionsOrCb);
|
|
106
|
-
}
|
|
107
|
-
else if (typeof cb === "function") {
|
|
108
|
-
if (typeof optionsOrCb !== "object")
|
|
109
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
110
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
return this.send(command, optionsOrCb);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
listCertificates(args, optionsOrCb, cb) {
|
|
117
|
-
const command = new ListCertificatesCommand(args);
|
|
118
|
-
if (typeof optionsOrCb === "function") {
|
|
119
|
-
this.send(command, optionsOrCb);
|
|
120
|
-
}
|
|
121
|
-
else if (typeof cb === "function") {
|
|
122
|
-
if (typeof optionsOrCb !== "object")
|
|
123
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
124
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
return this.send(command, optionsOrCb);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
listTagsForCertificate(args, optionsOrCb, cb) {
|
|
131
|
-
const command = new ListTagsForCertificateCommand(args);
|
|
132
|
-
if (typeof optionsOrCb === "function") {
|
|
133
|
-
this.send(command, optionsOrCb);
|
|
134
|
-
}
|
|
135
|
-
else if (typeof cb === "function") {
|
|
136
|
-
if (typeof optionsOrCb !== "object")
|
|
137
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
138
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
139
|
-
}
|
|
140
|
-
else {
|
|
141
|
-
return this.send(command, optionsOrCb);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
putAccountConfiguration(args, optionsOrCb, cb) {
|
|
145
|
-
const command = new PutAccountConfigurationCommand(args);
|
|
146
|
-
if (typeof optionsOrCb === "function") {
|
|
147
|
-
this.send(command, optionsOrCb);
|
|
148
|
-
}
|
|
149
|
-
else if (typeof cb === "function") {
|
|
150
|
-
if (typeof optionsOrCb !== "object")
|
|
151
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
152
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
153
|
-
}
|
|
154
|
-
else {
|
|
155
|
-
return this.send(command, optionsOrCb);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
removeTagsFromCertificate(args, optionsOrCb, cb) {
|
|
159
|
-
const command = new RemoveTagsFromCertificateCommand(args);
|
|
160
|
-
if (typeof optionsOrCb === "function") {
|
|
161
|
-
this.send(command, optionsOrCb);
|
|
162
|
-
}
|
|
163
|
-
else if (typeof cb === "function") {
|
|
164
|
-
if (typeof optionsOrCb !== "object")
|
|
165
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
166
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
167
|
-
}
|
|
168
|
-
else {
|
|
169
|
-
return this.send(command, optionsOrCb);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
renewCertificate(args, optionsOrCb, cb) {
|
|
173
|
-
const command = new RenewCertificateCommand(args);
|
|
174
|
-
if (typeof optionsOrCb === "function") {
|
|
175
|
-
this.send(command, optionsOrCb);
|
|
176
|
-
}
|
|
177
|
-
else if (typeof cb === "function") {
|
|
178
|
-
if (typeof optionsOrCb !== "object")
|
|
179
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
180
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
181
|
-
}
|
|
182
|
-
else {
|
|
183
|
-
return this.send(command, optionsOrCb);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
requestCertificate(args, optionsOrCb, cb) {
|
|
187
|
-
const command = new RequestCertificateCommand(args);
|
|
188
|
-
if (typeof optionsOrCb === "function") {
|
|
189
|
-
this.send(command, optionsOrCb);
|
|
190
|
-
}
|
|
191
|
-
else if (typeof cb === "function") {
|
|
192
|
-
if (typeof optionsOrCb !== "object")
|
|
193
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
194
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
195
|
-
}
|
|
196
|
-
else {
|
|
197
|
-
return this.send(command, optionsOrCb);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
resendValidationEmail(args, optionsOrCb, cb) {
|
|
201
|
-
const command = new ResendValidationEmailCommand(args);
|
|
202
|
-
if (typeof optionsOrCb === "function") {
|
|
203
|
-
this.send(command, optionsOrCb);
|
|
204
|
-
}
|
|
205
|
-
else if (typeof cb === "function") {
|
|
206
|
-
if (typeof optionsOrCb !== "object")
|
|
207
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
208
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
209
|
-
}
|
|
210
|
-
else {
|
|
211
|
-
return this.send(command, optionsOrCb);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
updateCertificateOptions(args, optionsOrCb, cb) {
|
|
215
|
-
const command = new UpdateCertificateOptionsCommand(args);
|
|
216
|
-
if (typeof optionsOrCb === "function") {
|
|
217
|
-
this.send(command, optionsOrCb);
|
|
218
|
-
}
|
|
219
|
-
else if (typeof cb === "function") {
|
|
220
|
-
if (typeof optionsOrCb !== "object")
|
|
221
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
222
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
223
|
-
}
|
|
224
|
-
else {
|
|
225
|
-
return this.send(command, optionsOrCb);
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
36
|
}
|
|
37
|
+
createAggregatedClient(commands, ACM);
|
package/dist-types/ACM.d.ts
CHANGED
|
@@ -15,259 +15,103 @@ import { RenewCertificateCommandInput, RenewCertificateCommandOutput } from "./c
|
|
|
15
15
|
import { RequestCertificateCommandInput, RequestCertificateCommandOutput } from "./commands/RequestCertificateCommand";
|
|
16
16
|
import { ResendValidationEmailCommandInput, ResendValidationEmailCommandOutput } from "./commands/ResendValidationEmailCommand";
|
|
17
17
|
import { UpdateCertificateOptionsCommandInput, UpdateCertificateOptionsCommandOutput } from "./commands/UpdateCertificateOptionsCommand";
|
|
18
|
-
|
|
19
|
-
* @public
|
|
20
|
-
* <fullname>Certificate Manager</fullname>
|
|
21
|
-
* <p>You can use Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites
|
|
22
|
-
* and applications. For more information about using ACM, see the <a href="https://docs.aws.amazon.com/acm/latest/userguide/">Certificate Manager User Guide</a>.</p>
|
|
23
|
-
*/
|
|
24
|
-
export declare class ACM extends ACMClient {
|
|
18
|
+
export interface ACM {
|
|
25
19
|
/**
|
|
26
|
-
* @
|
|
27
|
-
* <p>Adds one or more tags to an ACM certificate. Tags are labels that you can use to
|
|
28
|
-
* identify and organize your Amazon Web Services resources. Each tag consists of a <code>key</code> and an
|
|
29
|
-
* optional <code>value</code>. You specify the certificate on input by its Amazon Resource Name
|
|
30
|
-
* (ARN). You specify the tag by using a key-value pair. </p>
|
|
31
|
-
* <p>You can apply a tag to just one certificate if you want to identify a specific
|
|
32
|
-
* characteristic of that certificate, or you can apply the same tag to multiple certificates if
|
|
33
|
-
* you want to filter for a common relationship among those certificates. Similarly, you can
|
|
34
|
-
* apply the same tag to multiple resources if you want to specify a relationship among those
|
|
35
|
-
* resources. For example, you can add the same tag to an ACM certificate and an Elastic Load
|
|
36
|
-
* Balancing load balancer to indicate that they are both used by the same website. For more
|
|
37
|
-
* information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/tags.html">Tagging ACM
|
|
38
|
-
* certificates</a>. </p>
|
|
39
|
-
* <p>To remove one or more tags, use the <a>RemoveTagsFromCertificate</a> action. To
|
|
40
|
-
* view all of the tags that have been applied to the certificate, use the <a>ListTagsForCertificate</a> action. </p>
|
|
20
|
+
* @see {@link AddTagsToCertificateCommand}
|
|
41
21
|
*/
|
|
42
22
|
addTagsToCertificate(args: AddTagsToCertificateCommandInput, options?: __HttpHandlerOptions): Promise<AddTagsToCertificateCommandOutput>;
|
|
43
23
|
addTagsToCertificate(args: AddTagsToCertificateCommandInput, cb: (err: any, data?: AddTagsToCertificateCommandOutput) => void): void;
|
|
44
24
|
addTagsToCertificate(args: AddTagsToCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddTagsToCertificateCommandOutput) => void): void;
|
|
45
25
|
/**
|
|
46
|
-
* @
|
|
47
|
-
* <p>Deletes a certificate and its associated private key. If this action succeeds, the
|
|
48
|
-
* certificate no longer appears in the list that can be displayed by calling the <a>ListCertificates</a> action or be retrieved by calling the <a>GetCertificate</a> action. The certificate will not be available for use by Amazon Web Services
|
|
49
|
-
* services integrated with ACM. </p>
|
|
50
|
-
* <note>
|
|
51
|
-
* <p>You cannot delete an ACM certificate that is being used by another Amazon Web Services service. To
|
|
52
|
-
* delete a certificate that is in use, the certificate association must first be
|
|
53
|
-
* removed.</p>
|
|
54
|
-
* </note>
|
|
26
|
+
* @see {@link DeleteCertificateCommand}
|
|
55
27
|
*/
|
|
56
28
|
deleteCertificate(args: DeleteCertificateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCertificateCommandOutput>;
|
|
57
29
|
deleteCertificate(args: DeleteCertificateCommandInput, cb: (err: any, data?: DeleteCertificateCommandOutput) => void): void;
|
|
58
30
|
deleteCertificate(args: DeleteCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCertificateCommandOutput) => void): void;
|
|
59
31
|
/**
|
|
60
|
-
* @
|
|
61
|
-
* <p>Returns detailed metadata about the specified ACM certificate.</p>
|
|
62
|
-
* <p>If you have just created a certificate using the <code>RequestCertificate</code> action,
|
|
63
|
-
* there is a delay of several seconds before you can retrieve information about it.</p>
|
|
32
|
+
* @see {@link DescribeCertificateCommand}
|
|
64
33
|
*/
|
|
65
34
|
describeCertificate(args: DescribeCertificateCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCertificateCommandOutput>;
|
|
66
35
|
describeCertificate(args: DescribeCertificateCommandInput, cb: (err: any, data?: DescribeCertificateCommandOutput) => void): void;
|
|
67
36
|
describeCertificate(args: DescribeCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCertificateCommandOutput) => void): void;
|
|
68
37
|
/**
|
|
69
|
-
* @
|
|
70
|
-
* <p>Exports a private certificate issued by a private certificate authority (CA) for use
|
|
71
|
-
* anywhere. The exported file contains the certificate, the certificate chain, and the encrypted
|
|
72
|
-
* private 2048-bit RSA key associated with the public key that is embedded in the certificate.
|
|
73
|
-
* For security, you must assign a passphrase for the private key when exporting it. </p>
|
|
74
|
-
* <p>For information about exporting and formatting a certificate using the ACM console or
|
|
75
|
-
* CLI, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-export-private.html">Export a
|
|
76
|
-
* Private Certificate</a>.</p>
|
|
38
|
+
* @see {@link ExportCertificateCommand}
|
|
77
39
|
*/
|
|
78
40
|
exportCertificate(args: ExportCertificateCommandInput, options?: __HttpHandlerOptions): Promise<ExportCertificateCommandOutput>;
|
|
79
41
|
exportCertificate(args: ExportCertificateCommandInput, cb: (err: any, data?: ExportCertificateCommandOutput) => void): void;
|
|
80
42
|
exportCertificate(args: ExportCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportCertificateCommandOutput) => void): void;
|
|
81
43
|
/**
|
|
82
|
-
* @
|
|
83
|
-
* <p>Returns the account configuration options associated with an Amazon Web Services account.</p>
|
|
44
|
+
* @see {@link GetAccountConfigurationCommand}
|
|
84
45
|
*/
|
|
85
46
|
getAccountConfiguration(args: GetAccountConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountConfigurationCommandOutput>;
|
|
86
47
|
getAccountConfiguration(args: GetAccountConfigurationCommandInput, cb: (err: any, data?: GetAccountConfigurationCommandOutput) => void): void;
|
|
87
48
|
getAccountConfiguration(args: GetAccountConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountConfigurationCommandOutput) => void): void;
|
|
88
49
|
/**
|
|
89
|
-
* @
|
|
90
|
-
* <p>Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of
|
|
91
|
-
* the certificate of the issuing CA and the intermediate certificates of any other subordinate
|
|
92
|
-
* CAs. All of the certificates are base64 encoded. You can use <a href="https://wiki.openssl.org/index.php/Command_Line_Utilities">OpenSSL</a> to decode
|
|
93
|
-
* the certificates and inspect individual fields.</p>
|
|
50
|
+
* @see {@link GetCertificateCommand}
|
|
94
51
|
*/
|
|
95
52
|
getCertificate(args: GetCertificateCommandInput, options?: __HttpHandlerOptions): Promise<GetCertificateCommandOutput>;
|
|
96
53
|
getCertificate(args: GetCertificateCommandInput, cb: (err: any, data?: GetCertificateCommandOutput) => void): void;
|
|
97
54
|
getCertificate(args: GetCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCertificateCommandOutput) => void): void;
|
|
98
55
|
/**
|
|
99
|
-
* @
|
|
100
|
-
* <p>Imports a certificate into Certificate Manager (ACM) to use with services that are integrated with
|
|
101
|
-
* ACM. Note that <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-services.html">integrated
|
|
102
|
-
* services</a> allow only certificate types and keys they support to be associated with
|
|
103
|
-
* their resources. Further, their support differs depending on whether the certificate is
|
|
104
|
-
* imported into IAM or into ACM. For more information, see the documentation for each
|
|
105
|
-
* service. For more information about importing certificates into ACM, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing
|
|
106
|
-
* Certificates</a> in the <i>Certificate Manager User Guide</i>. </p>
|
|
107
|
-
* <note>
|
|
108
|
-
* <p>ACM does not provide <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed renewal</a> for certificates that you import.</p>
|
|
109
|
-
* </note>
|
|
110
|
-
* <p>Note the following guidelines when importing third party certificates:</p>
|
|
111
|
-
* <ul>
|
|
112
|
-
* <li>
|
|
113
|
-
* <p>You must enter the private key that matches the certificate you are importing.</p>
|
|
114
|
-
* </li>
|
|
115
|
-
* <li>
|
|
116
|
-
* <p>The private key must be unencrypted. You cannot import a private key that is protected
|
|
117
|
-
* by a password or a passphrase.</p>
|
|
118
|
-
* </li>
|
|
119
|
-
* <li>
|
|
120
|
-
* <p>The private key must be no larger than 5 KB (5,120 bytes).</p>
|
|
121
|
-
* </li>
|
|
122
|
-
* <li>
|
|
123
|
-
* <p>If the certificate you are importing is not self-signed, you must enter its
|
|
124
|
-
* certificate chain.</p>
|
|
125
|
-
* </li>
|
|
126
|
-
* <li>
|
|
127
|
-
* <p>If a certificate chain is included, the issuer must be the subject of one of the
|
|
128
|
-
* certificates in the chain.</p>
|
|
129
|
-
* </li>
|
|
130
|
-
* <li>
|
|
131
|
-
* <p>The certificate, private key, and certificate chain must be PEM-encoded.</p>
|
|
132
|
-
* </li>
|
|
133
|
-
* <li>
|
|
134
|
-
* <p>The current time must be between the <code>Not Before</code> and <code>Not
|
|
135
|
-
* After</code> certificate fields.</p>
|
|
136
|
-
* </li>
|
|
137
|
-
* <li>
|
|
138
|
-
* <p>The <code>Issuer</code> field must not be empty.</p>
|
|
139
|
-
* </li>
|
|
140
|
-
* <li>
|
|
141
|
-
* <p>The OCSP authority URL, if present, must not exceed 1000 characters.</p>
|
|
142
|
-
* </li>
|
|
143
|
-
* <li>
|
|
144
|
-
* <p>To import a new certificate, omit the <code>CertificateArn</code> argument. Include
|
|
145
|
-
* this argument only when you want to replace a previously imported certificate.</p>
|
|
146
|
-
* </li>
|
|
147
|
-
* <li>
|
|
148
|
-
* <p>When you import a certificate by using the CLI, you must specify the certificate, the
|
|
149
|
-
* certificate chain, and the private key by their file names preceded by
|
|
150
|
-
* <code>fileb://</code>. For example, you can specify a certificate saved in the
|
|
151
|
-
* <code>C:\temp</code> folder as <code>fileb://C:\temp\certificate_to_import.pem</code>.
|
|
152
|
-
* If you are making an HTTP or HTTPS Query request, include these arguments as BLOBs.
|
|
153
|
-
* </p>
|
|
154
|
-
* </li>
|
|
155
|
-
* <li>
|
|
156
|
-
* <p>When you import a certificate by using an SDK, you must specify the certificate, the
|
|
157
|
-
* certificate chain, and the private key files in the manner required by the programming
|
|
158
|
-
* language you're using. </p>
|
|
159
|
-
* </li>
|
|
160
|
-
* <li>
|
|
161
|
-
* <p>The cryptographic algorithm of an imported certificate must match the algorithm of the
|
|
162
|
-
* signing CA. For example, if the signing CA key type is RSA, then the certificate key type
|
|
163
|
-
* must also be RSA.</p>
|
|
164
|
-
* </li>
|
|
165
|
-
* </ul>
|
|
166
|
-
* <p>This operation returns the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
167
|
-
* Resource Name (ARN)</a> of the imported certificate.</p>
|
|
56
|
+
* @see {@link ImportCertificateCommand}
|
|
168
57
|
*/
|
|
169
58
|
importCertificate(args: ImportCertificateCommandInput, options?: __HttpHandlerOptions): Promise<ImportCertificateCommandOutput>;
|
|
170
59
|
importCertificate(args: ImportCertificateCommandInput, cb: (err: any, data?: ImportCertificateCommandOutput) => void): void;
|
|
171
60
|
importCertificate(args: ImportCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportCertificateCommandOutput) => void): void;
|
|
172
61
|
/**
|
|
173
|
-
* @
|
|
174
|
-
* <p>Retrieves a list of certificate ARNs and domain names. You can request that only
|
|
175
|
-
* certificates that match a specific status be listed. You can also filter by specific
|
|
176
|
-
* attributes of the certificate. Default filtering returns only <code>RSA_2048</code>
|
|
177
|
-
* certificates. For more information, see <a>Filters</a>.</p>
|
|
62
|
+
* @see {@link ListCertificatesCommand}
|
|
178
63
|
*/
|
|
179
64
|
listCertificates(args: ListCertificatesCommandInput, options?: __HttpHandlerOptions): Promise<ListCertificatesCommandOutput>;
|
|
180
65
|
listCertificates(args: ListCertificatesCommandInput, cb: (err: any, data?: ListCertificatesCommandOutput) => void): void;
|
|
181
66
|
listCertificates(args: ListCertificatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCertificatesCommandOutput) => void): void;
|
|
182
67
|
/**
|
|
183
|
-
* @
|
|
184
|
-
* <p>Lists the tags that have been applied to the ACM certificate. Use the certificate's
|
|
185
|
-
* Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM certificate,
|
|
186
|
-
* use the <a>AddTagsToCertificate</a> action. To delete a tag, use the <a>RemoveTagsFromCertificate</a> action. </p>
|
|
68
|
+
* @see {@link ListTagsForCertificateCommand}
|
|
187
69
|
*/
|
|
188
70
|
listTagsForCertificate(args: ListTagsForCertificateCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForCertificateCommandOutput>;
|
|
189
71
|
listTagsForCertificate(args: ListTagsForCertificateCommandInput, cb: (err: any, data?: ListTagsForCertificateCommandOutput) => void): void;
|
|
190
72
|
listTagsForCertificate(args: ListTagsForCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForCertificateCommandOutput) => void): void;
|
|
191
73
|
/**
|
|
192
|
-
* @
|
|
193
|
-
* <p>Adds or modifies account-level configurations in ACM. </p>
|
|
194
|
-
* <p>The supported configuration option is <code>DaysBeforeExpiry</code>. This option specifies
|
|
195
|
-
* the number of days prior to certificate expiration when ACM starts generating
|
|
196
|
-
* <code>EventBridge</code> events. ACM sends one event per day per certificate until the
|
|
197
|
-
* certificate expires. By default, accounts receive events starting 45 days before certificate
|
|
198
|
-
* expiration.</p>
|
|
74
|
+
* @see {@link PutAccountConfigurationCommand}
|
|
199
75
|
*/
|
|
200
76
|
putAccountConfiguration(args: PutAccountConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutAccountConfigurationCommandOutput>;
|
|
201
77
|
putAccountConfiguration(args: PutAccountConfigurationCommandInput, cb: (err: any, data?: PutAccountConfigurationCommandOutput) => void): void;
|
|
202
78
|
putAccountConfiguration(args: PutAccountConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAccountConfigurationCommandOutput) => void): void;
|
|
203
79
|
/**
|
|
204
|
-
* @
|
|
205
|
-
* <p>Remove one or more tags from an ACM certificate. A tag consists of a key-value pair. If
|
|
206
|
-
* you do not specify the value portion of the tag when calling this function, the tag will be
|
|
207
|
-
* removed regardless of value. If you specify a value, the tag is removed only if it is
|
|
208
|
-
* associated with the specified value. </p>
|
|
209
|
-
* <p>To add tags to a certificate, use the <a>AddTagsToCertificate</a> action. To
|
|
210
|
-
* view all of the tags that have been applied to a specific ACM certificate, use the <a>ListTagsForCertificate</a> action. </p>
|
|
80
|
+
* @see {@link RemoveTagsFromCertificateCommand}
|
|
211
81
|
*/
|
|
212
82
|
removeTagsFromCertificate(args: RemoveTagsFromCertificateCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTagsFromCertificateCommandOutput>;
|
|
213
83
|
removeTagsFromCertificate(args: RemoveTagsFromCertificateCommandInput, cb: (err: any, data?: RemoveTagsFromCertificateCommandOutput) => void): void;
|
|
214
84
|
removeTagsFromCertificate(args: RemoveTagsFromCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTagsFromCertificateCommandOutput) => void): void;
|
|
215
85
|
/**
|
|
216
|
-
* @
|
|
217
|
-
* <p>Renews an eligible ACM certificate. At this time, only exported private certificates can
|
|
218
|
-
* be renewed with this operation. In order to renew your Amazon Web Services Private CA certificates with ACM, you
|
|
219
|
-
* must first <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaPermissions.html">grant the ACM
|
|
220
|
-
* service principal permission to do so</a>. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/manual-renewal.html">Testing Managed Renewal</a>
|
|
221
|
-
* in the ACM User Guide.</p>
|
|
86
|
+
* @see {@link RenewCertificateCommand}
|
|
222
87
|
*/
|
|
223
88
|
renewCertificate(args: RenewCertificateCommandInput, options?: __HttpHandlerOptions): Promise<RenewCertificateCommandOutput>;
|
|
224
89
|
renewCertificate(args: RenewCertificateCommandInput, cb: (err: any, data?: RenewCertificateCommandOutput) => void): void;
|
|
225
90
|
renewCertificate(args: RenewCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RenewCertificateCommandOutput) => void): void;
|
|
226
91
|
/**
|
|
227
|
-
* @
|
|
228
|
-
* <p>Requests an ACM certificate for use with other Amazon Web Services services. To request an ACM
|
|
229
|
-
* certificate, you must specify a fully qualified domain name (FQDN) in the
|
|
230
|
-
* <code>DomainName</code> parameter. You can also specify additional FQDNs in the
|
|
231
|
-
* <code>SubjectAlternativeNames</code> parameter. </p>
|
|
232
|
-
* <p>If you are requesting a private certificate, domain validation is not required. If you are
|
|
233
|
-
* requesting a public certificate, each domain name that you specify must be validated to verify
|
|
234
|
-
* that you own or control the domain. You can use <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html">DNS validation</a> or <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-email.html">email validation</a>.
|
|
235
|
-
* We recommend that you use DNS validation. ACM issues public certificates after receiving
|
|
236
|
-
* approval from the domain owner. </p>
|
|
237
|
-
* <note>
|
|
238
|
-
* <p>ACM behavior differs from the <a href="https://datatracker.ietf.org/doc/html/rfc6125#appendix-B.2">RFC 6125</a>
|
|
239
|
-
* specification of the certificate validation process. ACM first checks for a Subject
|
|
240
|
-
* Alternative Name, and, if it finds one, ignores the common name (CN).</p>
|
|
241
|
-
* </note>
|
|
242
|
-
* <p>After successful completion of the <code>RequestCertificate</code> action, there is a
|
|
243
|
-
* delay of several seconds before you can retrieve information about the new certificate.</p>
|
|
92
|
+
* @see {@link RequestCertificateCommand}
|
|
244
93
|
*/
|
|
245
94
|
requestCertificate(args: RequestCertificateCommandInput, options?: __HttpHandlerOptions): Promise<RequestCertificateCommandOutput>;
|
|
246
95
|
requestCertificate(args: RequestCertificateCommandInput, cb: (err: any, data?: RequestCertificateCommandOutput) => void): void;
|
|
247
96
|
requestCertificate(args: RequestCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RequestCertificateCommandOutput) => void): void;
|
|
248
97
|
/**
|
|
249
|
-
* @
|
|
250
|
-
* <p>Resends the email that requests domain ownership validation. The domain owner or an
|
|
251
|
-
* authorized representative must approve the ACM certificate before it can be issued. The
|
|
252
|
-
* certificate can be approved by clicking a link in the mail to navigate to the Amazon
|
|
253
|
-
* certificate approval website and then clicking <b>I Approve</b>.
|
|
254
|
-
* However, the validation email can be blocked by spam filters. Therefore, if you do not receive
|
|
255
|
-
* the original mail, you can request that the mail be resent within 72 hours of requesting the
|
|
256
|
-
* ACM certificate. If more than 72 hours have elapsed since your original request or since
|
|
257
|
-
* your last attempt to resend validation mail, you must request a new certificate. For more
|
|
258
|
-
* information about setting up your contact email addresses, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/setup-email.html">Configure Email for your Domain</a>. </p>
|
|
98
|
+
* @see {@link ResendValidationEmailCommand}
|
|
259
99
|
*/
|
|
260
100
|
resendValidationEmail(args: ResendValidationEmailCommandInput, options?: __HttpHandlerOptions): Promise<ResendValidationEmailCommandOutput>;
|
|
261
101
|
resendValidationEmail(args: ResendValidationEmailCommandInput, cb: (err: any, data?: ResendValidationEmailCommandOutput) => void): void;
|
|
262
102
|
resendValidationEmail(args: ResendValidationEmailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResendValidationEmailCommandOutput) => void): void;
|
|
263
103
|
/**
|
|
264
|
-
* @
|
|
265
|
-
* <p>Updates a certificate. Currently, you can use this function to specify whether to opt in
|
|
266
|
-
* to or out of recording your certificate in a certificate transparency log. For more
|
|
267
|
-
* information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-bestpractices.html#best-practices-transparency"> Opting Out of
|
|
268
|
-
* Certificate Transparency Logging</a>. </p>
|
|
104
|
+
* @see {@link UpdateCertificateOptionsCommand}
|
|
269
105
|
*/
|
|
270
106
|
updateCertificateOptions(args: UpdateCertificateOptionsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCertificateOptionsCommandOutput>;
|
|
271
107
|
updateCertificateOptions(args: UpdateCertificateOptionsCommandInput, cb: (err: any, data?: UpdateCertificateOptionsCommandOutput) => void): void;
|
|
272
108
|
updateCertificateOptions(args: UpdateCertificateOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCertificateOptionsCommandOutput) => void): void;
|
|
273
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
* <fullname>Certificate Manager</fullname>
|
|
113
|
+
* <p>You can use Certificate Manager (ACM) to manage SSL/TLS certificates for your Amazon Web Services-based websites
|
|
114
|
+
* and applications. For more information about using ACM, see the <a href="https://docs.aws.amazon.com/acm/latest/userguide/">Certificate Manager User Guide</a>.</p>
|
|
115
|
+
*/
|
|
116
|
+
export declare class ACM extends ACMClient implements ACM {
|
|
117
|
+
}
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
UpdateCertificateOptionsCommandInput,
|
|
61
61
|
UpdateCertificateOptionsCommandOutput,
|
|
62
62
|
} from "./commands/UpdateCertificateOptionsCommand";
|
|
63
|
-
export
|
|
63
|
+
export interface ACM {
|
|
64
64
|
addTagsToCertificate(
|
|
65
65
|
args: AddTagsToCertificateCommandInput,
|
|
66
66
|
options?: __HttpHandlerOptions
|
|
@@ -257,3 +257,4 @@ export declare class ACM extends ACMClient {
|
|
|
257
257
|
cb: (err: any, data?: UpdateCertificateOptionsCommandOutput) => void
|
|
258
258
|
): void;
|
|
259
259
|
}
|
|
260
|
+
export declare class ACM extends ACMClient implements ACM {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-acm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Acm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.319.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|