@aws-sdk/client-acm 3.1019.0 → 3.1021.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/README.md +7 -0
  2. package/dist-cjs/index.js +81 -32
  3. package/dist-cjs/models/errors.js +2 -0
  4. package/dist-cjs/schemas/schemas_0.js +230 -48
  5. package/dist-es/ACM.js +4 -0
  6. package/dist-es/commands/SearchCertificatesCommand.js +16 -0
  7. package/dist-es/commands/index.js +1 -0
  8. package/dist-es/models/enums.js +60 -32
  9. package/dist-es/models/errors.js +2 -0
  10. package/dist-es/pagination/SearchCertificatesPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/schemas/schemas_0.js +228 -46
  13. package/dist-es/waiters/waitForCertificateValidated.js +2 -2
  14. package/dist-types/ACM.d.ts +31 -16
  15. package/dist-types/ACMClient.d.ts +22 -21
  16. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  17. package/dist-types/commands/DeleteCertificateCommand.d.ts +1 -1
  18. package/dist-types/commands/ExportCertificateCommand.d.ts +4 -1
  19. package/dist-types/commands/ImportCertificateCommand.d.ts +3 -0
  20. package/dist-types/commands/RenewCertificateCommand.d.ts +1 -1
  21. package/dist-types/commands/RevokeCertificateCommand.d.ts +1 -1
  22. package/dist-types/commands/SearchCertificatesCommand.d.ts +303 -0
  23. package/dist-types/commands/index.d.ts +1 -0
  24. package/dist-types/index.d.ts +1 -1
  25. package/dist-types/models/enums.d.ts +122 -70
  26. package/dist-types/models/errors.d.ts +6 -0
  27. package/dist-types/models/models_0.d.ts +1062 -6
  28. package/dist-types/pagination/ListCertificatesPaginator.d.ts +1 -1
  29. package/dist-types/pagination/SearchCertificatesPaginator.d.ts +7 -0
  30. package/dist-types/pagination/index.d.ts +1 -0
  31. package/dist-types/schemas/schemas_0.d.ts +22 -1
  32. package/dist-types/ts3.4/ACM.d.ts +25 -0
  33. package/dist-types/ts3.4/ACMClient.d.ts +8 -3
  34. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/SearchCertificatesCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  37. package/dist-types/ts3.4/models/enums.d.ts +78 -44
  38. package/dist-types/ts3.4/models/errors.d.ts +2 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +570 -0
  40. package/dist-types/ts3.4/pagination/SearchCertificatesPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
  43. package/dist-types/waiters/waitForCertificateValidated.d.ts +3 -3
  44. package/package.json +15 -15
@@ -1,36 +1,58 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResendValidationEmailRequest$ = exports.RequestCertificateResponse$ = exports.RequestCertificateRequest$ = exports.RenewCertificateRequest$ = exports.RenewalSummary$ = exports.RemoveTagsFromCertificateRequest$ = exports.PutAccountConfigurationRequest$ = exports.ListTagsForCertificateResponse$ = exports.ListTagsForCertificateRequest$ = exports.ListCertificatesResponse$ = exports.ListCertificatesRequest$ = exports.KeyUsage$ = exports.ImportCertificateResponse$ = exports.ImportCertificateRequest$ = exports.HttpRedirect$ = exports.GetCertificateResponse$ = exports.GetCertificateRequest$ = exports.GetAccountConfigurationResponse$ = exports.Filters$ = exports.ExtendedKeyUsage$ = exports.ExportCertificateResponse$ = exports.ExportCertificateRequest$ = exports.ExpiryEventsConfiguration$ = exports.DomainValidationOption$ = exports.DomainValidation$ = exports.DescribeCertificateResponse$ = exports.DescribeCertificateRequest$ = exports.DeleteCertificateRequest$ = exports.CertificateSummary$ = exports.CertificateOptions$ = exports.CertificateDetail$ = exports.AddTagsToCertificateRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyTagsException$ = exports.ThrottlingException$ = exports.TagPolicyException$ = exports.ResourceNotFoundException$ = exports.ResourceInUseException$ = exports.RequestInProgressException$ = exports.LimitExceededException$ = exports.InvalidTagException$ = exports.InvalidStateException$ = exports.InvalidParameterException$ = exports.InvalidDomainValidationOptionsException$ = exports.InvalidArnException$ = exports.InvalidArgsException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.ACMServiceException$ = void 0;
4
- exports.UpdateCertificateOptions$ = exports.RevokeCertificate$ = exports.ResendValidationEmail$ = exports.RequestCertificate$ = exports.RenewCertificate$ = exports.RemoveTagsFromCertificate$ = exports.PutAccountConfiguration$ = exports.ListTagsForCertificate$ = exports.ListCertificates$ = exports.ImportCertificate$ = exports.GetCertificate$ = exports.GetAccountConfiguration$ = exports.ExportCertificate$ = exports.DescribeCertificate$ = exports.DeleteCertificate$ = exports.AddTagsToCertificate$ = exports.UpdateCertificateOptionsRequest$ = exports.Tag$ = exports.RevokeCertificateResponse$ = exports.RevokeCertificateRequest$ = exports.ResourceRecord$ = void 0;
3
+ exports.OtherName$ = exports.ListTagsForCertificateResponse$ = exports.ListTagsForCertificateRequest$ = exports.ListCertificatesResponse$ = exports.ListCertificatesRequest$ = exports.KeyUsage$ = exports.ImportCertificateResponse$ = exports.ImportCertificateRequest$ = exports.HttpRedirect$ = exports.GetCertificateResponse$ = exports.GetCertificateRequest$ = exports.GetAccountConfigurationResponse$ = exports.Filters$ = exports.ExtendedKeyUsage$ = exports.ExportCertificateResponse$ = exports.ExportCertificateRequest$ = exports.ExpiryEventsConfiguration$ = exports.DomainValidationOption$ = exports.DomainValidation$ = exports.DnsNameFilter$ = exports.DistinguishedName$ = exports.DescribeCertificateResponse$ = exports.DescribeCertificateRequest$ = exports.DeleteCertificateRequest$ = exports.CustomAttribute$ = exports.CommonNameFilter$ = exports.CertificateSummary$ = exports.CertificateSearchResult$ = exports.CertificateOptions$ = exports.CertificateDetail$ = exports.AddTagsToCertificateRequest$ = exports.AcmCertificateMetadata$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyTagsException$ = exports.ThrottlingException$ = exports.TagPolicyException$ = exports.ResourceNotFoundException$ = exports.ResourceInUseException$ = exports.RequestInProgressException$ = exports.LimitExceededException$ = exports.InvalidTagException$ = exports.InvalidStateException$ = exports.InvalidParameterException$ = exports.InvalidDomainValidationOptionsException$ = exports.InvalidArnException$ = exports.InvalidArgsException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.ACMServiceException$ = void 0;
4
+ exports.UpdateCertificateOptions$ = exports.SearchCertificates$ = exports.RevokeCertificate$ = exports.ResendValidationEmail$ = exports.RequestCertificate$ = exports.RenewCertificate$ = exports.RemoveTagsFromCertificate$ = exports.PutAccountConfiguration$ = exports.ListTagsForCertificate$ = exports.ListCertificates$ = exports.ImportCertificate$ = exports.GetCertificate$ = exports.GetAccountConfiguration$ = exports.ExportCertificate$ = exports.DescribeCertificate$ = exports.DeleteCertificate$ = exports.AddTagsToCertificate$ = exports.X509AttributeFilter$ = exports.SubjectFilter$ = exports.SubjectAlternativeNameFilter$ = exports.GeneralName$ = exports.CertificateMetadata$ = exports.CertificateFilterStatement$ = exports.CertificateFilter$ = exports.AcmCertificateMetadataFilter$ = exports.X509Attributes$ = exports.UpdateCertificateOptionsRequest$ = exports.TimestampRange$ = exports.ThrottlingReason$ = exports.Tag$ = exports.SearchCertificatesResponse$ = exports.SearchCertificatesRequest$ = exports.RevokeCertificateResponse$ = exports.RevokeCertificateRequest$ = exports.ResourceRecord$ = exports.ResendValidationEmailRequest$ = exports.RequestCertificateResponse$ = exports.RequestCertificateRequest$ = exports.RenewCertificateRequest$ = exports.RenewalSummary$ = exports.RemoveTagsFromCertificateRequest$ = exports.PutAccountConfigurationRequest$ = void 0;
5
+ const _A = "And";
6
+ const _ACM = "AcmCertificateMetadata";
7
+ const _ACMF = "AcmCertificateMetadataFilter";
5
8
  const _ADE = "AccessDeniedException";
6
9
  const _ATTC = "AddTagsToCertificate";
7
10
  const _ATTCR = "AddTagsToCertificateRequest";
8
11
  const _C = "Certificate";
9
- const _CA = "CertificateArn";
12
+ const _CA = "CreatedAt";
10
13
  const _CAA = "CertificateAuthorityArn";
11
- const _CAr = "CreatedAt";
14
+ const _CAL = "CustomAttributeList";
15
+ const _CAe = "CertificateArn";
16
+ const _CAu = "CustomAttribute";
17
+ const _CAus = "CustomAttributes";
12
18
  const _CC = "CertificateChain";
13
19
  const _CD = "CertificateDetail";
14
20
  const _CE = "ConflictException";
21
+ const _CF = "CertificateFilter";
22
+ const _CFS = "CertificateFilterStatement";
23
+ const _CFSL = "CertificateFilterStatementList";
24
+ const _CM = "CertificateMetadata";
25
+ const _CN = "CommonName";
26
+ const _CNF = "CommonNameFilter";
15
27
  const _CO = "CertificateOptions";
28
+ const _COo = "ComparisonOperator";
16
29
  const _CS = "CertificateSummary";
17
30
  const _CSL = "CertificateSummaryList";
31
+ const _CSR = "CertificateSearchResult";
32
+ const _CSRL = "CertificateSearchResultList";
18
33
  const _CSe = "CertificateStatuses";
19
34
  const _CTLP = "CertificateTransparencyLoggingPreference";
35
+ const _Co = "Country";
20
36
  const _D = "Domain";
21
37
  const _DBE = "DaysBeforeExpiry";
22
- const _DC = "DeleteCertificate";
38
+ const _DC = "DomainComponents";
23
39
  const _DCR = "DeleteCertificateRequest";
24
40
  const _DCRe = "DescribeCertificateRequest";
25
41
  const _DCRes = "DescribeCertificateResponse";
26
- const _DCe = "DescribeCertificate";
42
+ const _DCe = "DeleteCertificate";
43
+ const _DCes = "DescribeCertificate";
27
44
  const _DN = "DomainName";
45
+ const _DNF = "DnsNameFilter";
46
+ const _DNQ = "DistinguishedNameQualifier";
47
+ const _DNi = "DistinguishedName";
48
+ const _DNir = "DirectoryName";
49
+ const _DNn = "DnsName";
28
50
  const _DV = "DomainValidation";
29
51
  const _DVL = "DomainValidationList";
30
52
  const _DVO = "DomainValidationOptions";
31
53
  const _DVOL = "DomainValidationOptionList";
32
54
  const _DVOo = "DomainValidationOption";
33
- const _E = "Export";
55
+ const _E = "Exported";
34
56
  const _EC = "ExportCertificate";
35
57
  const _ECR = "ExportCertificateRequest";
36
58
  const _ECRx = "ExportCertificateResponse";
@@ -40,21 +62,29 @@ const _EKU = "ExtendedKeyUsages";
40
62
  const _EKUL = "ExtendedKeyUsageList";
41
63
  const _EKUx = "ExtendedKeyUsage";
42
64
  const _EO = "ExportOption";
43
- const _Ex = "Exported";
65
+ const _En = "End";
66
+ const _Ex = "Export";
44
67
  const _F = "Filters";
45
68
  const _FR = "FailureReason";
69
+ const _FS = "FilterStatement";
70
+ const _Fi = "Filter";
46
71
  const _GAC = "GetAccountConfiguration";
47
72
  const _GACR = "GetAccountConfigurationResponse";
48
73
  const _GC = "GetCertificate";
49
74
  const _GCR = "GetCertificateRequest";
50
75
  const _GCRe = "GetCertificateResponse";
76
+ const _GN = "GivenName";
77
+ const _GNL = "GeneralNameList";
78
+ const _GNe = "GeneralName";
79
+ const _GQ = "GenerationQualifier";
51
80
  const _HASAN = "HasAdditionalSubjectAlternativeNames";
52
81
  const _HR = "HttpRedirect";
53
82
  const _I = "Issuer";
54
- const _IA = "IssuedAt";
83
+ const _IA = "ImportedAt";
55
84
  const _IAE = "InvalidArgsException";
56
85
  const _IAEn = "InvalidArnException";
57
- const _IAm = "ImportedAt";
86
+ const _IAp = "IpAddress";
87
+ const _IAs = "IssuedAt";
58
88
  const _IC = "ImportCertificate";
59
89
  const _ICR = "ImportCertificateRequest";
60
90
  const _ICRm = "ImportCertificateResponse";
@@ -65,12 +95,14 @@ const _IT = "IdempotencyToken";
65
95
  const _ITE = "InvalidTagException";
66
96
  const _IU = "InUse";
67
97
  const _IUB = "InUseBy";
68
- const _In = "Includes";
98
+ const _In = "Initials";
99
+ const _Inc = "Includes";
69
100
  const _K = "Key";
70
101
  const _KA = "KeyAlgorithm";
71
102
  const _KU = "KeyUsages";
72
103
  const _KUL = "KeyUsageList";
73
104
  const _KUe = "KeyUsage";
105
+ const _L = "Locality";
74
106
  const _LC = "ListCertificates";
75
107
  const _LCR = "ListCertificatesRequest";
76
108
  const _LCRi = "ListCertificatesResponse";
@@ -81,18 +113,27 @@ const _LTFCRi = "ListTagsForCertificateResponse";
81
113
  const _M = "Message";
82
114
  const _MB = "ManagedBy";
83
115
  const _MI = "MaxItems";
116
+ const _MR = "MaxResults";
84
117
  const _N = "Name";
85
118
  const _NA = "NotAfter";
86
119
  const _NB = "NotBefore";
87
120
  const _NT = "NextToken";
121
+ const _No = "Not";
88
122
  const _O = "Options";
123
+ const _OI = "ObjectIdentifier";
89
124
  const _OID = "OID";
90
- const _P = "Passphrase";
125
+ const _ON = "OtherName";
126
+ const _OU = "OrganizationalUnit";
127
+ const _Or = "Organization";
128
+ const _Or_ = "Or";
129
+ const _P = "Pseudonym";
91
130
  const _PAC = "PutAccountConfiguration";
92
131
  const _PACR = "PutAccountConfigurationRequest";
93
132
  const _PB = "PassphraseBlob";
94
133
  const _PK = "PrivateKey";
95
134
  const _PKB = "PrivateKeyBlob";
135
+ const _Pa = "Passphrase";
136
+ const _R = "Results";
96
137
  const _RA = "RevokedAt";
97
138
  const _RC = "RenewCertificate";
98
139
  const _RCR = "RenewCertificateRequest";
@@ -104,43 +145,62 @@ const _RCe = "RequestCertificate";
104
145
  const _RCev = "RevokeCertificate";
105
146
  const _RE = "RenewalEligibility";
106
147
  const _RF = "RedirectFrom";
148
+ const _RI = "RegisteredId";
107
149
  const _RIPE = "RequestInProgressException";
108
150
  const _RIUE = "ResourceInUseException";
151
+ const _RN = "Rfc822Name";
109
152
  const _RNFE = "ResourceNotFoundException";
110
153
  const _RR = "RevocationReason";
111
154
  const _RRe = "ResourceRecord";
112
- const _RS = "RenewalSummary";
155
+ const _RS = "RenewalStatus";
113
156
  const _RSR = "RenewalStatusReason";
114
- const _RSe = "RenewalStatus";
157
+ const _RSe = "RenewalSummary";
115
158
  const _RT = "RedirectTo";
116
159
  const _RTFC = "RemoveTagsFromCertificate";
117
160
  const _RTFCR = "RemoveTagsFromCertificateRequest";
118
161
  const _RVE = "ResendValidationEmail";
119
162
  const _RVER = "ResendValidationEmailRequest";
120
- const _S = "Serial";
163
+ const _S = "Status";
121
164
  const _SA = "SignatureAlgorithm";
122
165
  const _SAN = "SubjectAlternativeNames";
166
+ const _SANF = "SubjectAlternativeNameFilter";
123
167
  const _SANS = "SubjectAlternativeNameSummaries";
168
+ const _SANu = "SubjectAlternativeName";
124
169
  const _SB = "SortBy";
170
+ const _SC = "SearchCertificates";
171
+ const _SCR = "SearchCertificatesRequest";
172
+ const _SCRe = "SearchCertificatesResponse";
173
+ const _SF = "SubjectFilter";
174
+ const _SN = "SerialNumber";
125
175
  const _SO = "SortOrder";
126
- const _St = "Status";
176
+ const _Se = "Serial";
177
+ const _St = "State";
178
+ const _Sta = "Start";
127
179
  const _Su = "Subject";
128
- const _T = "Tags";
180
+ const _Sur = "Surname";
181
+ const _T = "Type";
129
182
  const _TE = "ThrottlingException";
130
183
  const _TL = "TagList";
131
184
  const _TMTE = "TooManyTagsException";
132
185
  const _TPE = "TagPolicyException";
133
- const _Ta = "Tag";
134
- const _Ty = "Type";
186
+ const _TR = "ThrottlingReason";
187
+ const _TRL = "ThrottlingReasonList";
188
+ const _TRi = "TimestampRange";
189
+ const _Ta = "Tags";
190
+ const _Tag = "Tag";
191
+ const _Ti = "Title";
135
192
  const _UA = "UpdatedAt";
136
193
  const _UCO = "UpdateCertificateOptions";
137
194
  const _UCOR = "UpdateCertificateOptionsRequest";
195
+ const _URI = "UniformResourceIdentifier";
138
196
  const _V = "Value";
139
197
  const _VD = "ValidationDomain";
140
198
  const _VE = "ValidationException";
141
199
  const _VEa = "ValidationEmails";
142
200
  const _VM = "ValidationMethod";
143
201
  const _VS = "ValidationStatus";
202
+ const _XA = "X509Attributes";
203
+ const _XAF = "X509AttributeFilter";
144
204
  const _aQE = "awsQueryError";
145
205
  const _c = "client";
146
206
  const _e = "error";
@@ -151,7 +211,10 @@ const _kT = "keyTypes";
151
211
  const _kU = "keyUsage";
152
212
  const _m = "message";
153
213
  const _mB = "managedBy";
214
+ const _r = "reason";
215
+ const _re = "resource";
154
216
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.acm";
217
+ const _tR = "throttlingReasons";
155
218
  const n0 = "com.amazonaws.acm";
156
219
  const schema_1 = require("@smithy/core/schema");
157
220
  const ACMServiceException_1 = require("../models/ACMServiceException");
@@ -240,8 +303,8 @@ exports.TagPolicyException$ = [-3, n0, _TPE,
240
303
  n0_registry.registerError(exports.TagPolicyException$, errors_1.TagPolicyException);
241
304
  exports.ThrottlingException$ = [-3, n0, _TE,
242
305
  { [_aQE]: [`Throttling`, 400], [_e]: _c, [_hE]: 400 },
243
- [_m],
244
- [0]
306
+ [_m, _tR],
307
+ [0, () => ThrottlingReasonList]
245
308
  ];
246
309
  n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
247
310
  exports.TooManyTagsException$ = [-3, n0, _TMTE,
@@ -263,34 +326,54 @@ exports.errorTypeRegistries = [
263
326
  var PassphraseBlob = [0, n0, _PB, 8, 21];
264
327
  var PrivateKey = [0, n0, _PK, 8, 0];
265
328
  var PrivateKeyBlob = [0, n0, _PKB, 8, 21];
329
+ exports.AcmCertificateMetadata$ = [3, n0, _ACM,
330
+ 0,
331
+ [_CA, _E, _IA, _IU, _IAs, _RE, _RA, _S, _RS, _T, _EO, _MB, _VM],
332
+ [4, 2, 4, 2, 4, 0, 4, 0, 0, 0, 0, 0, 0]
333
+ ];
266
334
  exports.AddTagsToCertificateRequest$ = [3, n0, _ATTCR,
267
335
  0,
268
- [_CA, _T],
336
+ [_CAe, _Ta],
269
337
  [0, () => TagList], 2
270
338
  ];
271
339
  exports.CertificateDetail$ = [3, n0, _CD,
272
340
  0,
273
- [_CA, _DN, _SAN, _MB, _DVO, _S, _Su, _I, _CAr, _IA, _IAm, _St, _RA, _RR, _NB, _NA, _KA, _SA, _IUB, _FR, _Ty, _RS, _KU, _EKU, _CAA, _RE, _O],
341
+ [_CAe, _DN, _SAN, _MB, _DVO, _Se, _Su, _I, _CA, _IAs, _IA, _S, _RA, _RR, _NB, _NA, _KA, _SA, _IUB, _FR, _T, _RSe, _KU, _EKU, _CAA, _RE, _O],
274
342
  [0, 0, 64 | 0, 0, () => DomainValidationList, 0, 0, 0, 4, 4, 4, 0, 4, 0, 4, 4, 0, 0, 64 | 0, 0, 0, () => exports.RenewalSummary$, () => KeyUsageList, () => ExtendedKeyUsageList, 0, 0, () => exports.CertificateOptions$]
275
343
  ];
276
344
  exports.CertificateOptions$ = [3, n0, _CO,
277
345
  0,
278
- [_CTLP, _E],
346
+ [_CTLP, _Ex],
279
347
  [0, 0]
280
348
  ];
349
+ exports.CertificateSearchResult$ = [3, n0, _CSR,
350
+ 0,
351
+ [_CAe, _XA, _CM],
352
+ [0, () => exports.X509Attributes$, () => exports.CertificateMetadata$]
353
+ ];
281
354
  exports.CertificateSummary$ = [3, n0, _CS,
282
355
  0,
283
- [_CA, _DN, _SANS, _HASAN, _St, _Ty, _KA, _KU, _EKU, _EO, _IU, _Ex, _RE, _NB, _NA, _CAr, _IA, _IAm, _RA, _MB],
356
+ [_CAe, _DN, _SANS, _HASAN, _S, _T, _KA, _KU, _EKU, _EO, _IU, _E, _RE, _NB, _NA, _CA, _IAs, _IA, _RA, _MB],
284
357
  [0, 0, 64 | 0, 2, 0, 0, 0, 64 | 0, 64 | 0, 0, 2, 2, 0, 4, 4, 4, 4, 4, 4, 0]
285
358
  ];
359
+ exports.CommonNameFilter$ = [3, n0, _CNF,
360
+ 0,
361
+ [_V, _COo],
362
+ [0, 0], 2
363
+ ];
364
+ exports.CustomAttribute$ = [3, n0, _CAu,
365
+ 0,
366
+ [_OI, _V],
367
+ [0, 0]
368
+ ];
286
369
  exports.DeleteCertificateRequest$ = [3, n0, _DCR,
287
370
  0,
288
- [_CA],
371
+ [_CAe],
289
372
  [0], 1
290
373
  ];
291
374
  exports.DescribeCertificateRequest$ = [3, n0, _DCRe,
292
375
  0,
293
- [_CA],
376
+ [_CAe],
294
377
  [0], 1
295
378
  ];
296
379
  exports.DescribeCertificateResponse$ = [3, n0, _DCRes,
@@ -298,6 +381,16 @@ exports.DescribeCertificateResponse$ = [3, n0, _DCRes,
298
381
  [_C],
299
382
  [() => exports.CertificateDetail$]
300
383
  ];
384
+ exports.DistinguishedName$ = [3, n0, _DNi,
385
+ 0,
386
+ [_CN, _DC, _Co, _CAus, _DNQ, _GQ, _GN, _In, _L, _Or, _OU, _P, _SN, _St, _Sur, _Ti],
387
+ [0, 64 | 0, 0, () => CustomAttributeList, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
388
+ ];
389
+ exports.DnsNameFilter$ = [3, n0, _DNF,
390
+ 0,
391
+ [_V, _COo],
392
+ [0, 0], 2
393
+ ];
301
394
  exports.DomainValidation$ = [3, n0, _DV,
302
395
  0,
303
396
  [_DN, _VEa, _VD, _VS, _RRe, _HR, _VM],
@@ -315,7 +408,7 @@ exports.ExpiryEventsConfiguration$ = [3, n0, _EEC,
315
408
  ];
316
409
  exports.ExportCertificateRequest$ = [3, n0, _ECR,
317
410
  0,
318
- [_CA, _P],
411
+ [_CAe, _Pa],
319
412
  [0, [() => PassphraseBlob, 0]], 2
320
413
  ];
321
414
  exports.ExportCertificateResponse$ = [3, n0, _ECRx,
@@ -340,7 +433,7 @@ exports.GetAccountConfigurationResponse$ = [3, n0, _GACR,
340
433
  ];
341
434
  exports.GetCertificateRequest$ = [3, n0, _GCR,
342
435
  0,
343
- [_CA],
436
+ [_CAe],
344
437
  [0], 1
345
438
  ];
346
439
  exports.GetCertificateResponse$ = [3, n0, _GCRe,
@@ -355,12 +448,12 @@ exports.HttpRedirect$ = [3, n0, _HR,
355
448
  ];
356
449
  exports.ImportCertificateRequest$ = [3, n0, _ICR,
357
450
  0,
358
- [_C, _PK, _CA, _CC, _T],
451
+ [_C, _PK, _CAe, _CC, _Ta],
359
452
  [21, [() => PrivateKeyBlob, 0], 0, 21, () => TagList], 2
360
453
  ];
361
454
  exports.ImportCertificateResponse$ = [3, n0, _ICRm,
362
455
  0,
363
- [_CA],
456
+ [_CAe],
364
457
  [0]
365
458
  ];
366
459
  exports.KeyUsage$ = [3, n0, _KUe,
@@ -370,7 +463,7 @@ exports.KeyUsage$ = [3, n0, _KUe,
370
463
  ];
371
464
  exports.ListCertificatesRequest$ = [3, n0, _LCR,
372
465
  0,
373
- [_CSe, _In, _NT, _MI, _SB, _SO],
466
+ [_CSe, _Inc, _NT, _MI, _SB, _SO],
374
467
  [64 | 0, () => exports.Filters$, 0, 1, 0, 0]
375
468
  ];
376
469
  exports.ListCertificatesResponse$ = [3, n0, _LCRi,
@@ -380,14 +473,19 @@ exports.ListCertificatesResponse$ = [3, n0, _LCRi,
380
473
  ];
381
474
  exports.ListTagsForCertificateRequest$ = [3, n0, _LTFCR,
382
475
  0,
383
- [_CA],
476
+ [_CAe],
384
477
  [0], 1
385
478
  ];
386
479
  exports.ListTagsForCertificateResponse$ = [3, n0, _LTFCRi,
387
480
  0,
388
- [_T],
481
+ [_Ta],
389
482
  [() => TagList]
390
483
  ];
484
+ exports.OtherName$ = [3, n0, _ON,
485
+ 0,
486
+ [_OI, _V],
487
+ [0, 0]
488
+ ];
391
489
  exports.PutAccountConfigurationRequest$ = [3, n0, _PACR,
392
490
  0,
393
491
  [_IT, _EE],
@@ -395,64 +493,99 @@ exports.PutAccountConfigurationRequest$ = [3, n0, _PACR,
395
493
  ];
396
494
  exports.RemoveTagsFromCertificateRequest$ = [3, n0, _RTFCR,
397
495
  0,
398
- [_CA, _T],
496
+ [_CAe, _Ta],
399
497
  [0, () => TagList], 2
400
498
  ];
401
- exports.RenewalSummary$ = [3, n0, _RS,
499
+ exports.RenewalSummary$ = [3, n0, _RSe,
402
500
  0,
403
- [_RSe, _DVO, _UA, _RSR],
501
+ [_RS, _DVO, _UA, _RSR],
404
502
  [0, () => DomainValidationList, 4, 0], 3
405
503
  ];
406
504
  exports.RenewCertificateRequest$ = [3, n0, _RCR,
407
505
  0,
408
- [_CA],
506
+ [_CAe],
409
507
  [0], 1
410
508
  ];
411
509
  exports.RequestCertificateRequest$ = [3, n0, _RCRe,
412
510
  0,
413
- [_DN, _VM, _SAN, _IT, _DVO, _O, _CAA, _T, _KA, _MB],
511
+ [_DN, _VM, _SAN, _IT, _DVO, _O, _CAA, _Ta, _KA, _MB],
414
512
  [0, 0, 64 | 0, 0, () => DomainValidationOptionList, () => exports.CertificateOptions$, 0, () => TagList, 0, 0], 1
415
513
  ];
416
514
  exports.RequestCertificateResponse$ = [3, n0, _RCReq,
417
515
  0,
418
- [_CA],
516
+ [_CAe],
419
517
  [0]
420
518
  ];
421
519
  exports.ResendValidationEmailRequest$ = [3, n0, _RVER,
422
520
  0,
423
- [_CA, _D, _VD],
521
+ [_CAe, _D, _VD],
424
522
  [0, 0, 0], 3
425
523
  ];
426
524
  exports.ResourceRecord$ = [3, n0, _RRe,
427
525
  0,
428
- [_N, _Ty, _V],
526
+ [_N, _T, _V],
429
527
  [0, 0, 0], 3
430
528
  ];
431
529
  exports.RevokeCertificateRequest$ = [3, n0, _RCRev,
432
530
  0,
433
- [_CA, _RR],
531
+ [_CAe, _RR],
434
532
  [0, 0], 2
435
533
  ];
436
534
  exports.RevokeCertificateResponse$ = [3, n0, _RCRevo,
437
535
  0,
438
- [_CA],
536
+ [_CAe],
439
537
  [0]
440
538
  ];
441
- exports.Tag$ = [3, n0, _Ta,
539
+ exports.SearchCertificatesRequest$ = [3, n0, _SCR,
540
+ 0,
541
+ [_FS, _MR, _NT, _SB, _SO],
542
+ [() => exports.CertificateFilterStatement$, 1, 0, 0, 0]
543
+ ];
544
+ exports.SearchCertificatesResponse$ = [3, n0, _SCRe,
545
+ 0,
546
+ [_R, _NT],
547
+ [() => CertificateSearchResultList, 0]
548
+ ];
549
+ exports.Tag$ = [3, n0, _Tag,
442
550
  0,
443
551
  [_K, _V],
444
552
  [0, 0], 1
445
553
  ];
554
+ exports.ThrottlingReason$ = [3, n0, _TR,
555
+ 0,
556
+ [_r, _re],
557
+ [0, 0]
558
+ ];
559
+ exports.TimestampRange$ = [3, n0, _TRi,
560
+ 0,
561
+ [_Sta, _En],
562
+ [4, 4]
563
+ ];
446
564
  exports.UpdateCertificateOptionsRequest$ = [3, n0, _UCOR,
447
565
  0,
448
- [_CA, _O],
566
+ [_CAe, _O],
449
567
  [0, () => exports.CertificateOptions$], 2
450
568
  ];
569
+ exports.X509Attributes$ = [3, n0, _XA,
570
+ 0,
571
+ [_I, _Su, _SAN, _EKU, _KA, _KU, _SN, _NA, _NB],
572
+ [() => exports.DistinguishedName$, () => exports.DistinguishedName$, () => GeneralNameList, 64 | 0, 0, 64 | 0, 0, 4, 4]
573
+ ];
451
574
  var __Unit = "unit";
575
+ var CertificateFilterStatementList = [1, n0, _CFSL,
576
+ 0, () => exports.CertificateFilterStatement$
577
+ ];
578
+ var CertificateSearchResultList = [1, n0, _CSRL,
579
+ 0, () => exports.CertificateSearchResult$
580
+ ];
452
581
  var CertificateStatuses = 64 | 0;
453
582
  var CertificateSummaryList = [1, n0, _CSL,
454
583
  0, () => exports.CertificateSummary$
455
584
  ];
585
+ var CustomAttributeList = [1, n0, _CAL,
586
+ 0, () => exports.CustomAttribute$
587
+ ];
588
+ var DomainComponentList = 64 | 0;
456
589
  var DomainList = 64 | 0;
457
590
  var DomainValidationList = [1, n0, _DVL,
458
591
  0, () => exports.DomainValidation$
@@ -465,6 +598,9 @@ var ExtendedKeyUsageList = [1, n0, _EKUL,
465
598
  0, () => exports.ExtendedKeyUsage$
466
599
  ];
467
600
  var ExtendedKeyUsageNames = 64 | 0;
601
+ var GeneralNameList = [1, n0, _GNL,
602
+ 0, () => exports.GeneralName$
603
+ ];
468
604
  var InUseList = 64 | 0;
469
605
  var KeyAlgorithmList = 64 | 0;
470
606
  var KeyUsageFilterList = 64 | 0;
@@ -475,14 +611,57 @@ var KeyUsageNames = 64 | 0;
475
611
  var TagList = [1, n0, _TL,
476
612
  0, () => exports.Tag$
477
613
  ];
614
+ var ThrottlingReasonList = [1, n0, _TRL,
615
+ 0, () => exports.ThrottlingReason$
616
+ ];
478
617
  var ValidationEmailList = 64 | 0;
618
+ exports.AcmCertificateMetadataFilter$ = [4, n0, _ACMF,
619
+ 0,
620
+ [_S, _RS, _T, _IU, _E, _EO, _MB, _VM],
621
+ [0, 0, 0, 2, 2, 0, 0, 0]
622
+ ];
623
+ exports.CertificateFilter$ = [4, n0, _CF,
624
+ 0,
625
+ [_CAe, _XAF, _ACMF],
626
+ [0, () => exports.X509AttributeFilter$, () => exports.AcmCertificateMetadataFilter$]
627
+ ];
628
+ exports.CertificateFilterStatement$ = [4, n0, _CFS,
629
+ 0,
630
+ [_A, _Or_, _No, _Fi],
631
+ [() => CertificateFilterStatementList, () => CertificateFilterStatementList, () => exports.CertificateFilterStatement$, () => exports.CertificateFilter$]
632
+ ];
633
+ exports.CertificateMetadata$ = [4, n0, _CM,
634
+ 0,
635
+ [_ACM],
636
+ [() => exports.AcmCertificateMetadata$]
637
+ ];
638
+ exports.GeneralName$ = [4, n0, _GNe,
639
+ 0,
640
+ [_DNir, _DNn, _IAp, _ON, _RI, _RN, _URI],
641
+ [() => exports.DistinguishedName$, 0, 0, () => exports.OtherName$, 0, 0, 0]
642
+ ];
643
+ exports.SubjectAlternativeNameFilter$ = [4, n0, _SANF,
644
+ 0,
645
+ [_DNn],
646
+ [() => exports.DnsNameFilter$]
647
+ ];
648
+ exports.SubjectFilter$ = [4, n0, _SF,
649
+ 0,
650
+ [_CN],
651
+ [() => exports.CommonNameFilter$]
652
+ ];
653
+ exports.X509AttributeFilter$ = [4, n0, _XAF,
654
+ 0,
655
+ [_Su, _SANu, _EKUx, _KUe, _KA, _SN, _NA, _NB],
656
+ [() => exports.SubjectFilter$, () => exports.SubjectAlternativeNameFilter$, 0, 0, 0, 0, () => exports.TimestampRange$, () => exports.TimestampRange$]
657
+ ];
479
658
  exports.AddTagsToCertificate$ = [9, n0, _ATTC,
480
659
  0, () => exports.AddTagsToCertificateRequest$, () => __Unit
481
660
  ];
482
- exports.DeleteCertificate$ = [9, n0, _DC,
661
+ exports.DeleteCertificate$ = [9, n0, _DCe,
483
662
  0, () => exports.DeleteCertificateRequest$, () => __Unit
484
663
  ];
485
- exports.DescribeCertificate$ = [9, n0, _DCe,
664
+ exports.DescribeCertificate$ = [9, n0, _DCes,
486
665
  0, () => exports.DescribeCertificateRequest$, () => exports.DescribeCertificateResponse$
487
666
  ];
488
667
  exports.ExportCertificate$ = [9, n0, _EC,
@@ -521,6 +700,9 @@ exports.ResendValidationEmail$ = [9, n0, _RVE,
521
700
  exports.RevokeCertificate$ = [9, n0, _RCev,
522
701
  0, () => exports.RevokeCertificateRequest$, () => exports.RevokeCertificateResponse$
523
702
  ];
703
+ exports.SearchCertificates$ = [9, n0, _SC,
704
+ 0, () => exports.SearchCertificatesRequest$, () => exports.SearchCertificatesResponse$
705
+ ];
524
706
  exports.UpdateCertificateOptions$ = [9, n0, _UCO,
525
707
  0, () => exports.UpdateCertificateOptionsRequest$, () => __Unit
526
708
  ];
package/dist-es/ACM.js CHANGED
@@ -15,8 +15,10 @@ import { RenewCertificateCommand, } from "./commands/RenewCertificateCommand";
15
15
  import { RequestCertificateCommand, } from "./commands/RequestCertificateCommand";
16
16
  import { ResendValidationEmailCommand, } from "./commands/ResendValidationEmailCommand";
17
17
  import { RevokeCertificateCommand, } from "./commands/RevokeCertificateCommand";
18
+ import { SearchCertificatesCommand, } from "./commands/SearchCertificatesCommand";
18
19
  import { UpdateCertificateOptionsCommand, } from "./commands/UpdateCertificateOptionsCommand";
19
20
  import { paginateListCertificates } from "./pagination/ListCertificatesPaginator";
21
+ import { paginateSearchCertificates } from "./pagination/SearchCertificatesPaginator";
20
22
  import { waitUntilCertificateValidated } from "./waiters/waitForCertificateValidated";
21
23
  const commands = {
22
24
  AddTagsToCertificateCommand,
@@ -34,10 +36,12 @@ const commands = {
34
36
  RequestCertificateCommand,
35
37
  ResendValidationEmailCommand,
36
38
  RevokeCertificateCommand,
39
+ SearchCertificatesCommand,
37
40
  UpdateCertificateOptionsCommand,
38
41
  };
39
42
  const paginators = {
40
43
  paginateListCertificates,
44
+ paginateSearchCertificates,
41
45
  };
42
46
  const waiters = {
43
47
  waitUntilCertificateValidated,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { SearchCertificates$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class SearchCertificatesCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("CertificateManager", "SearchCertificates", {})
13
+ .n("ACMClient", "SearchCertificatesCommand")
14
+ .sc(SearchCertificates$)
15
+ .build() {
16
+ }
@@ -13,4 +13,5 @@ export * from "./RenewCertificateCommand";
13
13
  export * from "./RequestCertificateCommand";
14
14
  export * from "./ResendValidationEmailCommand";
15
15
  export * from "./RevokeCertificateCommand";
16
+ export * from "./SearchCertificatesCommand";
16
17
  export * from "./UpdateCertificateOptionsCommand";