@aws-sdk/client-acm-pca 3.490.0 → 3.496.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 (44) hide show
  1. package/dist-cjs/ACMPCA.js +1 -57
  2. package/dist-cjs/ACMPCAClient.js +1 -43
  3. package/dist-cjs/commands/CreateCertificateAuthorityAuditReportCommand.js +1 -28
  4. package/dist-cjs/commands/CreateCertificateAuthorityCommand.js +1 -28
  5. package/dist-cjs/commands/CreatePermissionCommand.js +1 -28
  6. package/dist-cjs/commands/DeleteCertificateAuthorityCommand.js +1 -28
  7. package/dist-cjs/commands/DeletePermissionCommand.js +1 -28
  8. package/dist-cjs/commands/DeletePolicyCommand.js +1 -28
  9. package/dist-cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js +1 -28
  10. package/dist-cjs/commands/DescribeCertificateAuthorityCommand.js +1 -28
  11. package/dist-cjs/commands/GetCertificateAuthorityCertificateCommand.js +1 -28
  12. package/dist-cjs/commands/GetCertificateAuthorityCsrCommand.js +1 -28
  13. package/dist-cjs/commands/GetCertificateCommand.js +1 -28
  14. package/dist-cjs/commands/GetPolicyCommand.js +1 -28
  15. package/dist-cjs/commands/ImportCertificateAuthorityCertificateCommand.js +1 -28
  16. package/dist-cjs/commands/IssueCertificateCommand.js +1 -28
  17. package/dist-cjs/commands/ListCertificateAuthoritiesCommand.js +1 -28
  18. package/dist-cjs/commands/ListPermissionsCommand.js +1 -28
  19. package/dist-cjs/commands/ListTagsCommand.js +1 -28
  20. package/dist-cjs/commands/PutPolicyCommand.js +1 -28
  21. package/dist-cjs/commands/RestoreCertificateAuthorityCommand.js +1 -28
  22. package/dist-cjs/commands/RevokeCertificateCommand.js +1 -28
  23. package/dist-cjs/commands/TagCertificateAuthorityCommand.js +1 -28
  24. package/dist-cjs/commands/UntagCertificateAuthorityCommand.js +1 -28
  25. package/dist-cjs/commands/UpdateCertificateAuthorityCommand.js +1 -28
  26. package/dist-cjs/commands/index.js +1 -26
  27. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  28. package/dist-cjs/extensionConfiguration.js +1 -2
  29. package/dist-cjs/index.js +2667 -12
  30. package/dist-cjs/models/ACMPCAServiceException.js +1 -12
  31. package/dist-cjs/models/index.js +1 -4
  32. package/dist-cjs/models/models_0.js +1 -349
  33. package/dist-cjs/pagination/Interfaces.js +1 -2
  34. package/dist-cjs/pagination/ListCertificateAuthoritiesPaginator.js +1 -7
  35. package/dist-cjs/pagination/ListPermissionsPaginator.js +1 -7
  36. package/dist-cjs/pagination/ListTagsPaginator.js +1 -7
  37. package/dist-cjs/pagination/index.js +1 -7
  38. package/dist-cjs/protocols/Aws_json1_1.js +1 -1487
  39. package/dist-cjs/runtimeExtensions.js +1 -22
  40. package/dist-cjs/waiters/index.js +1 -6
  41. package/dist-cjs/waiters/waitForAuditReportCreated.js +1 -45
  42. package/dist-cjs/waiters/waitForCertificateAuthorityCSRCreated.js +1 -31
  43. package/dist-cjs/waiters/waitForCertificateIssued.js +1 -31
  44. package/package.json +41 -41
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ACMPCAServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class ACMPCAServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, ACMPCAServiceException.prototype);
10
- }
11
- }
12
- exports.ACMPCAServiceException = ACMPCAServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,349 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TooManyTagsException = exports.RevocationReason = exports.RequestAlreadyProcessedException = exports.ResourceOwner = exports.InvalidNextTokenException = exports.MalformedCSRException = exports.ValidityPeriodType = exports.ExtendedKeyUsageType = exports.PolicyQualifierId = exports.MalformedCertificateException = exports.InvalidRequestException = exports.CertificateMismatchException = exports.AuditReportStatus = exports.CertificateAuthorityStatus = exports.FailureReason = exports.LockoutPreventedException = exports.ConcurrentModificationException = exports.PermissionAlreadyExistsException = exports.ActionType = exports.ResourceNotFoundException = exports.RequestInProgressException = exports.RequestFailedException = exports.InvalidStateException = exports.InvalidArnException = exports.AuditReportResponseFormat = exports.LimitExceededException = exports.InvalidTagException = exports.InvalidPolicyException = exports.InvalidArgsException = exports.CertificateAuthorityUsageMode = exports.S3ObjectAcl = exports.KeyStorageSecurityStandard = exports.CertificateAuthorityType = exports.SigningAlgorithm = exports.KeyAlgorithm = exports.AccessMethodType = void 0;
4
- const ACMPCAServiceException_1 = require("./ACMPCAServiceException");
5
- exports.AccessMethodType = {
6
- CA_REPOSITORY: "CA_REPOSITORY",
7
- RESOURCE_PKI_MANIFEST: "RESOURCE_PKI_MANIFEST",
8
- RESOURCE_PKI_NOTIFY: "RESOURCE_PKI_NOTIFY",
9
- };
10
- exports.KeyAlgorithm = {
11
- EC_prime256v1: "EC_prime256v1",
12
- EC_secp384r1: "EC_secp384r1",
13
- RSA_2048: "RSA_2048",
14
- RSA_4096: "RSA_4096",
15
- };
16
- exports.SigningAlgorithm = {
17
- SHA256WITHECDSA: "SHA256WITHECDSA",
18
- SHA256WITHRSA: "SHA256WITHRSA",
19
- SHA384WITHECDSA: "SHA384WITHECDSA",
20
- SHA384WITHRSA: "SHA384WITHRSA",
21
- SHA512WITHECDSA: "SHA512WITHECDSA",
22
- SHA512WITHRSA: "SHA512WITHRSA",
23
- };
24
- exports.CertificateAuthorityType = {
25
- ROOT: "ROOT",
26
- SUBORDINATE: "SUBORDINATE",
27
- };
28
- exports.KeyStorageSecurityStandard = {
29
- FIPS_140_2_LEVEL_2_OR_HIGHER: "FIPS_140_2_LEVEL_2_OR_HIGHER",
30
- FIPS_140_2_LEVEL_3_OR_HIGHER: "FIPS_140_2_LEVEL_3_OR_HIGHER",
31
- };
32
- exports.S3ObjectAcl = {
33
- BUCKET_OWNER_FULL_CONTROL: "BUCKET_OWNER_FULL_CONTROL",
34
- PUBLIC_READ: "PUBLIC_READ",
35
- };
36
- exports.CertificateAuthorityUsageMode = {
37
- GENERAL_PURPOSE: "GENERAL_PURPOSE",
38
- SHORT_LIVED_CERTIFICATE: "SHORT_LIVED_CERTIFICATE",
39
- };
40
- class InvalidArgsException extends ACMPCAServiceException_1.ACMPCAServiceException {
41
- constructor(opts) {
42
- super({
43
- name: "InvalidArgsException",
44
- $fault: "client",
45
- ...opts,
46
- });
47
- this.name = "InvalidArgsException";
48
- this.$fault = "client";
49
- Object.setPrototypeOf(this, InvalidArgsException.prototype);
50
- }
51
- }
52
- exports.InvalidArgsException = InvalidArgsException;
53
- class InvalidPolicyException extends ACMPCAServiceException_1.ACMPCAServiceException {
54
- constructor(opts) {
55
- super({
56
- name: "InvalidPolicyException",
57
- $fault: "client",
58
- ...opts,
59
- });
60
- this.name = "InvalidPolicyException";
61
- this.$fault = "client";
62
- Object.setPrototypeOf(this, InvalidPolicyException.prototype);
63
- }
64
- }
65
- exports.InvalidPolicyException = InvalidPolicyException;
66
- class InvalidTagException extends ACMPCAServiceException_1.ACMPCAServiceException {
67
- constructor(opts) {
68
- super({
69
- name: "InvalidTagException",
70
- $fault: "client",
71
- ...opts,
72
- });
73
- this.name = "InvalidTagException";
74
- this.$fault = "client";
75
- Object.setPrototypeOf(this, InvalidTagException.prototype);
76
- }
77
- }
78
- exports.InvalidTagException = InvalidTagException;
79
- class LimitExceededException extends ACMPCAServiceException_1.ACMPCAServiceException {
80
- constructor(opts) {
81
- super({
82
- name: "LimitExceededException",
83
- $fault: "client",
84
- ...opts,
85
- });
86
- this.name = "LimitExceededException";
87
- this.$fault = "client";
88
- Object.setPrototypeOf(this, LimitExceededException.prototype);
89
- }
90
- }
91
- exports.LimitExceededException = LimitExceededException;
92
- exports.AuditReportResponseFormat = {
93
- CSV: "CSV",
94
- JSON: "JSON",
95
- };
96
- class InvalidArnException extends ACMPCAServiceException_1.ACMPCAServiceException {
97
- constructor(opts) {
98
- super({
99
- name: "InvalidArnException",
100
- $fault: "client",
101
- ...opts,
102
- });
103
- this.name = "InvalidArnException";
104
- this.$fault = "client";
105
- Object.setPrototypeOf(this, InvalidArnException.prototype);
106
- }
107
- }
108
- exports.InvalidArnException = InvalidArnException;
109
- class InvalidStateException extends ACMPCAServiceException_1.ACMPCAServiceException {
110
- constructor(opts) {
111
- super({
112
- name: "InvalidStateException",
113
- $fault: "client",
114
- ...opts,
115
- });
116
- this.name = "InvalidStateException";
117
- this.$fault = "client";
118
- Object.setPrototypeOf(this, InvalidStateException.prototype);
119
- }
120
- }
121
- exports.InvalidStateException = InvalidStateException;
122
- class RequestFailedException extends ACMPCAServiceException_1.ACMPCAServiceException {
123
- constructor(opts) {
124
- super({
125
- name: "RequestFailedException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- this.name = "RequestFailedException";
130
- this.$fault = "client";
131
- Object.setPrototypeOf(this, RequestFailedException.prototype);
132
- }
133
- }
134
- exports.RequestFailedException = RequestFailedException;
135
- class RequestInProgressException extends ACMPCAServiceException_1.ACMPCAServiceException {
136
- constructor(opts) {
137
- super({
138
- name: "RequestInProgressException",
139
- $fault: "client",
140
- ...opts,
141
- });
142
- this.name = "RequestInProgressException";
143
- this.$fault = "client";
144
- Object.setPrototypeOf(this, RequestInProgressException.prototype);
145
- }
146
- }
147
- exports.RequestInProgressException = RequestInProgressException;
148
- class ResourceNotFoundException extends ACMPCAServiceException_1.ACMPCAServiceException {
149
- constructor(opts) {
150
- super({
151
- name: "ResourceNotFoundException",
152
- $fault: "client",
153
- ...opts,
154
- });
155
- this.name = "ResourceNotFoundException";
156
- this.$fault = "client";
157
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
158
- }
159
- }
160
- exports.ResourceNotFoundException = ResourceNotFoundException;
161
- exports.ActionType = {
162
- GetCertificate: "GetCertificate",
163
- IssueCertificate: "IssueCertificate",
164
- ListPermissions: "ListPermissions",
165
- };
166
- class PermissionAlreadyExistsException extends ACMPCAServiceException_1.ACMPCAServiceException {
167
- constructor(opts) {
168
- super({
169
- name: "PermissionAlreadyExistsException",
170
- $fault: "client",
171
- ...opts,
172
- });
173
- this.name = "PermissionAlreadyExistsException";
174
- this.$fault = "client";
175
- Object.setPrototypeOf(this, PermissionAlreadyExistsException.prototype);
176
- }
177
- }
178
- exports.PermissionAlreadyExistsException = PermissionAlreadyExistsException;
179
- class ConcurrentModificationException extends ACMPCAServiceException_1.ACMPCAServiceException {
180
- constructor(opts) {
181
- super({
182
- name: "ConcurrentModificationException",
183
- $fault: "client",
184
- ...opts,
185
- });
186
- this.name = "ConcurrentModificationException";
187
- this.$fault = "client";
188
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
189
- }
190
- }
191
- exports.ConcurrentModificationException = ConcurrentModificationException;
192
- class LockoutPreventedException extends ACMPCAServiceException_1.ACMPCAServiceException {
193
- constructor(opts) {
194
- super({
195
- name: "LockoutPreventedException",
196
- $fault: "client",
197
- ...opts,
198
- });
199
- this.name = "LockoutPreventedException";
200
- this.$fault = "client";
201
- Object.setPrototypeOf(this, LockoutPreventedException.prototype);
202
- }
203
- }
204
- exports.LockoutPreventedException = LockoutPreventedException;
205
- exports.FailureReason = {
206
- OTHER: "OTHER",
207
- REQUEST_TIMED_OUT: "REQUEST_TIMED_OUT",
208
- UNSUPPORTED_ALGORITHM: "UNSUPPORTED_ALGORITHM",
209
- };
210
- exports.CertificateAuthorityStatus = {
211
- ACTIVE: "ACTIVE",
212
- CREATING: "CREATING",
213
- DELETED: "DELETED",
214
- DISABLED: "DISABLED",
215
- EXPIRED: "EXPIRED",
216
- FAILED: "FAILED",
217
- PENDING_CERTIFICATE: "PENDING_CERTIFICATE",
218
- };
219
- exports.AuditReportStatus = {
220
- CREATING: "CREATING",
221
- FAILED: "FAILED",
222
- SUCCESS: "SUCCESS",
223
- };
224
- class CertificateMismatchException extends ACMPCAServiceException_1.ACMPCAServiceException {
225
- constructor(opts) {
226
- super({
227
- name: "CertificateMismatchException",
228
- $fault: "client",
229
- ...opts,
230
- });
231
- this.name = "CertificateMismatchException";
232
- this.$fault = "client";
233
- Object.setPrototypeOf(this, CertificateMismatchException.prototype);
234
- }
235
- }
236
- exports.CertificateMismatchException = CertificateMismatchException;
237
- class InvalidRequestException extends ACMPCAServiceException_1.ACMPCAServiceException {
238
- constructor(opts) {
239
- super({
240
- name: "InvalidRequestException",
241
- $fault: "client",
242
- ...opts,
243
- });
244
- this.name = "InvalidRequestException";
245
- this.$fault = "client";
246
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
247
- }
248
- }
249
- exports.InvalidRequestException = InvalidRequestException;
250
- class MalformedCertificateException extends ACMPCAServiceException_1.ACMPCAServiceException {
251
- constructor(opts) {
252
- super({
253
- name: "MalformedCertificateException",
254
- $fault: "client",
255
- ...opts,
256
- });
257
- this.name = "MalformedCertificateException";
258
- this.$fault = "client";
259
- Object.setPrototypeOf(this, MalformedCertificateException.prototype);
260
- }
261
- }
262
- exports.MalformedCertificateException = MalformedCertificateException;
263
- exports.PolicyQualifierId = {
264
- CPS: "CPS",
265
- };
266
- exports.ExtendedKeyUsageType = {
267
- CERTIFICATE_TRANSPARENCY: "CERTIFICATE_TRANSPARENCY",
268
- CLIENT_AUTH: "CLIENT_AUTH",
269
- CODE_SIGNING: "CODE_SIGNING",
270
- DOCUMENT_SIGNING: "DOCUMENT_SIGNING",
271
- EMAIL_PROTECTION: "EMAIL_PROTECTION",
272
- OCSP_SIGNING: "OCSP_SIGNING",
273
- SERVER_AUTH: "SERVER_AUTH",
274
- SMART_CARD_LOGIN: "SMART_CARD_LOGIN",
275
- TIME_STAMPING: "TIME_STAMPING",
276
- };
277
- exports.ValidityPeriodType = {
278
- ABSOLUTE: "ABSOLUTE",
279
- DAYS: "DAYS",
280
- END_DATE: "END_DATE",
281
- MONTHS: "MONTHS",
282
- YEARS: "YEARS",
283
- };
284
- class MalformedCSRException extends ACMPCAServiceException_1.ACMPCAServiceException {
285
- constructor(opts) {
286
- super({
287
- name: "MalformedCSRException",
288
- $fault: "client",
289
- ...opts,
290
- });
291
- this.name = "MalformedCSRException";
292
- this.$fault = "client";
293
- Object.setPrototypeOf(this, MalformedCSRException.prototype);
294
- }
295
- }
296
- exports.MalformedCSRException = MalformedCSRException;
297
- class InvalidNextTokenException extends ACMPCAServiceException_1.ACMPCAServiceException {
298
- constructor(opts) {
299
- super({
300
- name: "InvalidNextTokenException",
301
- $fault: "client",
302
- ...opts,
303
- });
304
- this.name = "InvalidNextTokenException";
305
- this.$fault = "client";
306
- Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
307
- }
308
- }
309
- exports.InvalidNextTokenException = InvalidNextTokenException;
310
- exports.ResourceOwner = {
311
- OTHER_ACCOUNTS: "OTHER_ACCOUNTS",
312
- SELF: "SELF",
313
- };
314
- class RequestAlreadyProcessedException extends ACMPCAServiceException_1.ACMPCAServiceException {
315
- constructor(opts) {
316
- super({
317
- name: "RequestAlreadyProcessedException",
318
- $fault: "client",
319
- ...opts,
320
- });
321
- this.name = "RequestAlreadyProcessedException";
322
- this.$fault = "client";
323
- Object.setPrototypeOf(this, RequestAlreadyProcessedException.prototype);
324
- }
325
- }
326
- exports.RequestAlreadyProcessedException = RequestAlreadyProcessedException;
327
- exports.RevocationReason = {
328
- AFFILIATION_CHANGED: "AFFILIATION_CHANGED",
329
- A_A_COMPROMISE: "A_A_COMPROMISE",
330
- CERTIFICATE_AUTHORITY_COMPROMISE: "CERTIFICATE_AUTHORITY_COMPROMISE",
331
- CESSATION_OF_OPERATION: "CESSATION_OF_OPERATION",
332
- KEY_COMPROMISE: "KEY_COMPROMISE",
333
- PRIVILEGE_WITHDRAWN: "PRIVILEGE_WITHDRAWN",
334
- SUPERSEDED: "SUPERSEDED",
335
- UNSPECIFIED: "UNSPECIFIED",
336
- };
337
- class TooManyTagsException extends ACMPCAServiceException_1.ACMPCAServiceException {
338
- constructor(opts) {
339
- super({
340
- name: "TooManyTagsException",
341
- $fault: "client",
342
- ...opts,
343
- });
344
- this.name = "TooManyTagsException";
345
- this.$fault = "client";
346
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
347
- }
348
- }
349
- exports.TooManyTagsException = TooManyTagsException;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListCertificateAuthorities = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ACMPCAClient_1 = require("../ACMPCAClient");
6
- const ListCertificateAuthoritiesCommand_1 = require("../commands/ListCertificateAuthoritiesCommand");
7
- exports.paginateListCertificateAuthorities = (0, core_1.createPaginator)(ACMPCAClient_1.ACMPCAClient, ListCertificateAuthoritiesCommand_1.ListCertificateAuthoritiesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListPermissions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ACMPCAClient_1 = require("../ACMPCAClient");
6
- const ListPermissionsCommand_1 = require("../commands/ListPermissionsCommand");
7
- exports.paginateListPermissions = (0, core_1.createPaginator)(ACMPCAClient_1.ACMPCAClient, ListPermissionsCommand_1.ListPermissionsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListTags = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ACMPCAClient_1 = require("../ACMPCAClient");
6
- const ListTagsCommand_1 = require("../commands/ListTagsCommand");
7
- exports.paginateListTags = (0, core_1.createPaginator)(ACMPCAClient_1.ACMPCAClient, ListTagsCommand_1.ListTagsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListCertificateAuthoritiesPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListPermissionsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListTagsPaginator"), exports);
1
+ module.exports = require("../index.js");