@aws-sdk/client-acm 3.1020.0 → 3.1022.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 (38) 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-types/ACM.d.ts +15 -0
  14. package/dist-types/ACMClient.d.ts +3 -2
  15. package/dist-types/commands/DeleteCertificateCommand.d.ts +1 -1
  16. package/dist-types/commands/ExportCertificateCommand.d.ts +4 -1
  17. package/dist-types/commands/ImportCertificateCommand.d.ts +3 -0
  18. package/dist-types/commands/RenewCertificateCommand.d.ts +1 -1
  19. package/dist-types/commands/RevokeCertificateCommand.d.ts +1 -1
  20. package/dist-types/commands/SearchCertificatesCommand.d.ts +303 -0
  21. package/dist-types/commands/index.d.ts +1 -0
  22. package/dist-types/models/enums.d.ts +122 -70
  23. package/dist-types/models/errors.d.ts +6 -0
  24. package/dist-types/models/models_0.d.ts +1062 -6
  25. package/dist-types/pagination/SearchCertificatesPaginator.d.ts +7 -0
  26. package/dist-types/pagination/index.d.ts +1 -0
  27. package/dist-types/schemas/schemas_0.d.ts +22 -1
  28. package/dist-types/ts3.4/ACM.d.ts +25 -0
  29. package/dist-types/ts3.4/ACMClient.d.ts +6 -0
  30. package/dist-types/ts3.4/commands/SearchCertificatesCommand.d.ts +51 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  32. package/dist-types/ts3.4/models/enums.d.ts +78 -44
  33. package/dist-types/ts3.4/models/errors.d.ts +2 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +570 -0
  35. package/dist-types/ts3.4/pagination/SearchCertificatesPaginator.d.ts +11 -0
  36. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  37. package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
  38. package/package.json +6 -6
@@ -1,11 +1,42 @@
1
- export const RecordType = {
2
- CNAME: "CNAME",
1
+ export const CertificateExport = {
2
+ DISABLED: "DISABLED",
3
+ ENABLED: "ENABLED",
4
+ };
5
+ export const CertificateManagedBy = {
6
+ CLOUDFRONT: "CLOUDFRONT",
7
+ };
8
+ export const RenewalEligibility = {
9
+ ELIGIBLE: "ELIGIBLE",
10
+ INELIGIBLE: "INELIGIBLE",
11
+ };
12
+ export const RenewalStatus = {
13
+ FAILED: "FAILED",
14
+ PENDING_AUTO_RENEWAL: "PENDING_AUTO_RENEWAL",
15
+ PENDING_VALIDATION: "PENDING_VALIDATION",
16
+ SUCCESS: "SUCCESS",
17
+ };
18
+ export const CertificateStatus = {
19
+ EXPIRED: "EXPIRED",
20
+ FAILED: "FAILED",
21
+ INACTIVE: "INACTIVE",
22
+ ISSUED: "ISSUED",
23
+ PENDING_VALIDATION: "PENDING_VALIDATION",
24
+ REVOKED: "REVOKED",
25
+ VALIDATION_TIMED_OUT: "VALIDATION_TIMED_OUT",
26
+ };
27
+ export const CertificateType = {
28
+ AMAZON_ISSUED: "AMAZON_ISSUED",
29
+ IMPORTED: "IMPORTED",
30
+ PRIVATE: "PRIVATE",
3
31
  };
4
32
  export const ValidationMethod = {
5
33
  DNS: "DNS",
6
34
  EMAIL: "EMAIL",
7
35
  HTTP: "HTTP",
8
36
  };
37
+ export const RecordType = {
38
+ CNAME: "CNAME",
39
+ };
9
40
  export const DomainStatus = {
10
41
  FAILED: "FAILED",
11
42
  PENDING_VALIDATION: "PENDING_VALIDATION",
@@ -66,27 +97,10 @@ export const KeyUsageName = {
66
97
  KEY_ENCIPHERMENT: "KEY_ENCIPHERMENT",
67
98
  NON_REPUDATION: "NON_REPUDIATION",
68
99
  };
69
- export const CertificateManagedBy = {
70
- CLOUDFRONT: "CLOUDFRONT",
71
- };
72
100
  export const CertificateTransparencyLoggingPreference = {
73
101
  DISABLED: "DISABLED",
74
102
  ENABLED: "ENABLED",
75
103
  };
76
- export const CertificateExport = {
77
- DISABLED: "DISABLED",
78
- ENABLED: "ENABLED",
79
- };
80
- export const RenewalEligibility = {
81
- ELIGIBLE: "ELIGIBLE",
82
- INELIGIBLE: "INELIGIBLE",
83
- };
84
- export const RenewalStatus = {
85
- FAILED: "FAILED",
86
- PENDING_AUTO_RENEWAL: "PENDING_AUTO_RENEWAL",
87
- PENDING_VALIDATION: "PENDING_VALIDATION",
88
- SUCCESS: "SUCCESS",
89
- };
90
104
  export const RevocationReason = {
91
105
  AFFILIATION_CHANGED: "AFFILIATION_CHANGED",
92
106
  A_A_COMPROMISE: "A_A_COMPROMISE",
@@ -100,19 +114,9 @@ export const RevocationReason = {
100
114
  SUPERSEDED: "SUPERSEDED",
101
115
  UNSPECIFIED: "UNSPECIFIED",
102
116
  };
103
- export const CertificateStatus = {
104
- EXPIRED: "EXPIRED",
105
- FAILED: "FAILED",
106
- INACTIVE: "INACTIVE",
107
- ISSUED: "ISSUED",
108
- PENDING_VALIDATION: "PENDING_VALIDATION",
109
- REVOKED: "REVOKED",
110
- VALIDATION_TIMED_OUT: "VALIDATION_TIMED_OUT",
111
- };
112
- export const CertificateType = {
113
- AMAZON_ISSUED: "AMAZON_ISSUED",
114
- IMPORTED: "IMPORTED",
115
- PRIVATE: "PRIVATE",
117
+ export const ComparisonOperator = {
118
+ CONTAINS: "CONTAINS",
119
+ EQUALS: "EQUALS",
116
120
  };
117
121
  export const SortBy = {
118
122
  CREATED_AT: "CREATED_AT",
@@ -121,3 +125,27 @@ export const SortOrder = {
121
125
  ASCENDING: "ASCENDING",
122
126
  DESCENDING: "DESCENDING",
123
127
  };
128
+ export const SearchCertificatesSortBy = {
129
+ CERTIFICATE_ARN: "CERTIFICATE_ARN",
130
+ COMMON_NAME: "COMMON_NAME",
131
+ CREATED_AT: "CREATED_AT",
132
+ EXPORTED: "EXPORTED",
133
+ EXPORT_OPTION: "EXPORT_OPTION",
134
+ IMPORTED_AT: "IMPORTED_AT",
135
+ IN_USE: "IN_USE",
136
+ ISSUED_AT: "ISSUED_AT",
137
+ KEY_ALGORITHM: "KEY_ALGORITHM",
138
+ MANAGED_BY: "MANAGED_BY",
139
+ NOT_AFTER: "NOT_AFTER",
140
+ NOT_BEFORE: "NOT_BEFORE",
141
+ RENEWAL_ELIGIBILITY: "RENEWAL_ELIGIBILITY",
142
+ RENEWAL_STATUS: "RENEWAL_STATUS",
143
+ REVOKED_AT: "REVOKED_AT",
144
+ STATUS: "STATUS",
145
+ TYPE: "TYPE",
146
+ VALIDATION_METHOD: "VALIDATION_METHOD",
147
+ };
148
+ export const SearchCertificatesSortOrder = {
149
+ ASCENDING: "ASCENDING",
150
+ DESCENDING: "DESCENDING",
151
+ };
@@ -76,6 +76,7 @@ export class TagPolicyException extends __BaseException {
76
76
  export class ThrottlingException extends __BaseException {
77
77
  name = "ThrottlingException";
78
78
  $fault = "client";
79
+ throttlingReasons;
79
80
  constructor(opts) {
80
81
  super({
81
82
  name: "ThrottlingException",
@@ -83,6 +84,7 @@ export class ThrottlingException extends __BaseException {
83
84
  ...opts,
84
85
  });
85
86
  Object.setPrototypeOf(this, ThrottlingException.prototype);
87
+ this.throttlingReasons = opts.throttlingReasons;
86
88
  }
87
89
  }
88
90
  export class TooManyTagsException extends __BaseException {
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ACMClient } from "../ACMClient";
3
+ import { SearchCertificatesCommand, } from "../commands/SearchCertificatesCommand";
4
+ export const paginateSearchCertificates = createPaginator(ACMClient, SearchCertificatesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,2 +1,3 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListCertificatesPaginator";
3
+ export * from "./SearchCertificatesPaginator";