@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.
- package/README.md +7 -0
- package/dist-cjs/index.js +81 -32
- package/dist-cjs/models/errors.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +230 -48
- package/dist-es/ACM.js +4 -0
- package/dist-es/commands/SearchCertificatesCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +60 -32
- package/dist-es/models/errors.js +2 -0
- package/dist-es/pagination/SearchCertificatesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +228 -46
- package/dist-types/ACM.d.ts +15 -0
- package/dist-types/ACMClient.d.ts +3 -2
- package/dist-types/commands/DeleteCertificateCommand.d.ts +1 -1
- package/dist-types/commands/ExportCertificateCommand.d.ts +4 -1
- package/dist-types/commands/ImportCertificateCommand.d.ts +3 -0
- package/dist-types/commands/RenewCertificateCommand.d.ts +1 -1
- package/dist-types/commands/RevokeCertificateCommand.d.ts +1 -1
- package/dist-types/commands/SearchCertificatesCommand.d.ts +303 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +122 -70
- package/dist-types/models/errors.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +1062 -6
- package/dist-types/pagination/SearchCertificatesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +22 -1
- package/dist-types/ts3.4/ACM.d.ts +25 -0
- package/dist-types/ts3.4/ACMClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/SearchCertificatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +78 -44
- package/dist-types/ts3.4/models/errors.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +570 -0
- package/dist-types/ts3.4/pagination/SearchCertificatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
- package/package.json +6 -6
|
@@ -27,7 +27,7 @@ declare const RevokeCertificateCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Revokes a public ACM certificate. You can only revoke certificates that have been previously exported.</p>
|
|
30
|
+
* <p>Revokes a public ACM certificate. You can only revoke certificates that have been previously exported.</p> <important> <p>Once a certificate is revoked, you cannot reuse the certificate. Revoking a certificate is permanent.</p> </important>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMClient";
|
|
4
|
+
import type { SearchCertificatesRequest, SearchCertificatesResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SearchCertificatesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SearchCertificatesCommandInput extends SearchCertificatesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SearchCertificatesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SearchCertificatesCommandOutput extends SearchCertificatesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SearchCertificatesCommand_base: {
|
|
25
|
+
new (input: SearchCertificatesCommandInput): import("@smithy/smithy-client").CommandImpl<SearchCertificatesCommandInput, SearchCertificatesCommandOutput, ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [SearchCertificatesCommandInput]): import("@smithy/smithy-client").CommandImpl<SearchCertificatesCommandInput, SearchCertificatesCommandOutput, ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves a list of certificates matching search criteria. You can filter certificates by X.509 attributes and ACM specific properties like certificate status, type and renewal eligibility. This operation provides more flexible filtering than <a>ListCertificates</a> by supporting complex filter statements.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ACMClient, SearchCertificatesCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
35
|
+
* // const { ACMClient, SearchCertificatesCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
36
|
+
* // import type { ACMClientConfig } from "@aws-sdk/client-acm";
|
|
37
|
+
* const config = {}; // type is ACMClientConfig
|
|
38
|
+
* const client = new ACMClient(config);
|
|
39
|
+
* const input = { // SearchCertificatesRequest
|
|
40
|
+
* FilterStatement: { // CertificateFilterStatement Union: only one key present
|
|
41
|
+
* And: [ // CertificateFilterStatementList
|
|
42
|
+
* {// Union: only one key present
|
|
43
|
+
* And: [
|
|
44
|
+
* "<CertificateFilterStatement>",
|
|
45
|
+
* ],
|
|
46
|
+
* Or: [
|
|
47
|
+
* "<CertificateFilterStatement>",
|
|
48
|
+
* ],
|
|
49
|
+
* Not: "<CertificateFilterStatement>",
|
|
50
|
+
* Filter: { // CertificateFilter Union: only one key present
|
|
51
|
+
* CertificateArn: "STRING_VALUE",
|
|
52
|
+
* X509AttributeFilter: { // X509AttributeFilter Union: only one key present
|
|
53
|
+
* Subject: { // SubjectFilter Union: only one key present
|
|
54
|
+
* CommonName: { // CommonNameFilter
|
|
55
|
+
* Value: "STRING_VALUE", // required
|
|
56
|
+
* ComparisonOperator: "CONTAINS" || "EQUALS", // required
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* SubjectAlternativeName: { // SubjectAlternativeNameFilter Union: only one key present
|
|
60
|
+
* DnsName: { // DnsNameFilter
|
|
61
|
+
* Value: "STRING_VALUE", // required
|
|
62
|
+
* ComparisonOperator: "CONTAINS" || "EQUALS", // required
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* ExtendedKeyUsage: "TLS_WEB_SERVER_AUTHENTICATION" || "TLS_WEB_CLIENT_AUTHENTICATION" || "CODE_SIGNING" || "EMAIL_PROTECTION" || "TIME_STAMPING" || "OCSP_SIGNING" || "IPSEC_END_SYSTEM" || "IPSEC_TUNNEL" || "IPSEC_USER" || "ANY" || "NONE" || "CUSTOM",
|
|
66
|
+
* KeyUsage: "DIGITAL_SIGNATURE" || "NON_REPUDIATION" || "KEY_ENCIPHERMENT" || "DATA_ENCIPHERMENT" || "KEY_AGREEMENT" || "CERTIFICATE_SIGNING" || "CRL_SIGNING" || "ENCIPHER_ONLY" || "DECIPHER_ONLY" || "ANY" || "CUSTOM",
|
|
67
|
+
* KeyAlgorithm: "RSA_1024" || "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1",
|
|
68
|
+
* SerialNumber: "STRING_VALUE",
|
|
69
|
+
* NotAfter: { // TimestampRange
|
|
70
|
+
* Start: new Date("TIMESTAMP"),
|
|
71
|
+
* End: new Date("TIMESTAMP"),
|
|
72
|
+
* },
|
|
73
|
+
* NotBefore: {
|
|
74
|
+
* Start: new Date("TIMESTAMP"),
|
|
75
|
+
* End: new Date("TIMESTAMP"),
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* AcmCertificateMetadataFilter: { // AcmCertificateMetadataFilter Union: only one key present
|
|
79
|
+
* Status: "PENDING_VALIDATION" || "ISSUED" || "INACTIVE" || "EXPIRED" || "VALIDATION_TIMED_OUT" || "REVOKED" || "FAILED",
|
|
80
|
+
* RenewalStatus: "PENDING_AUTO_RENEWAL" || "PENDING_VALIDATION" || "SUCCESS" || "FAILED",
|
|
81
|
+
* Type: "IMPORTED" || "AMAZON_ISSUED" || "PRIVATE",
|
|
82
|
+
* InUse: true || false,
|
|
83
|
+
* Exported: true || false,
|
|
84
|
+
* ExportOption: "ENABLED" || "DISABLED",
|
|
85
|
+
* ManagedBy: "CLOUDFRONT",
|
|
86
|
+
* ValidationMethod: "EMAIL" || "DNS" || "HTTP",
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* ],
|
|
91
|
+
* Or: [
|
|
92
|
+
* "<CertificateFilterStatement>",
|
|
93
|
+
* ],
|
|
94
|
+
* Not: "<CertificateFilterStatement>",
|
|
95
|
+
* Filter: {// Union: only one key present
|
|
96
|
+
* CertificateArn: "STRING_VALUE",
|
|
97
|
+
* X509AttributeFilter: {// Union: only one key present
|
|
98
|
+
* Subject: {// Union: only one key present
|
|
99
|
+
* CommonName: {
|
|
100
|
+
* Value: "STRING_VALUE", // required
|
|
101
|
+
* ComparisonOperator: "CONTAINS" || "EQUALS", // required
|
|
102
|
+
* },
|
|
103
|
+
* },
|
|
104
|
+
* SubjectAlternativeName: {// Union: only one key present
|
|
105
|
+
* DnsName: {
|
|
106
|
+
* Value: "STRING_VALUE", // required
|
|
107
|
+
* ComparisonOperator: "CONTAINS" || "EQUALS", // required
|
|
108
|
+
* },
|
|
109
|
+
* },
|
|
110
|
+
* ExtendedKeyUsage: "TLS_WEB_SERVER_AUTHENTICATION" || "TLS_WEB_CLIENT_AUTHENTICATION" || "CODE_SIGNING" || "EMAIL_PROTECTION" || "TIME_STAMPING" || "OCSP_SIGNING" || "IPSEC_END_SYSTEM" || "IPSEC_TUNNEL" || "IPSEC_USER" || "ANY" || "NONE" || "CUSTOM",
|
|
111
|
+
* KeyUsage: "DIGITAL_SIGNATURE" || "NON_REPUDIATION" || "KEY_ENCIPHERMENT" || "DATA_ENCIPHERMENT" || "KEY_AGREEMENT" || "CERTIFICATE_SIGNING" || "CRL_SIGNING" || "ENCIPHER_ONLY" || "DECIPHER_ONLY" || "ANY" || "CUSTOM",
|
|
112
|
+
* KeyAlgorithm: "RSA_1024" || "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1",
|
|
113
|
+
* SerialNumber: "STRING_VALUE",
|
|
114
|
+
* NotAfter: {
|
|
115
|
+
* Start: new Date("TIMESTAMP"),
|
|
116
|
+
* End: new Date("TIMESTAMP"),
|
|
117
|
+
* },
|
|
118
|
+
* NotBefore: {
|
|
119
|
+
* Start: new Date("TIMESTAMP"),
|
|
120
|
+
* End: new Date("TIMESTAMP"),
|
|
121
|
+
* },
|
|
122
|
+
* },
|
|
123
|
+
* AcmCertificateMetadataFilter: {// Union: only one key present
|
|
124
|
+
* Status: "PENDING_VALIDATION" || "ISSUED" || "INACTIVE" || "EXPIRED" || "VALIDATION_TIMED_OUT" || "REVOKED" || "FAILED",
|
|
125
|
+
* RenewalStatus: "PENDING_AUTO_RENEWAL" || "PENDING_VALIDATION" || "SUCCESS" || "FAILED",
|
|
126
|
+
* Type: "IMPORTED" || "AMAZON_ISSUED" || "PRIVATE",
|
|
127
|
+
* InUse: true || false,
|
|
128
|
+
* Exported: true || false,
|
|
129
|
+
* ExportOption: "ENABLED" || "DISABLED",
|
|
130
|
+
* ManagedBy: "CLOUDFRONT",
|
|
131
|
+
* ValidationMethod: "EMAIL" || "DNS" || "HTTP",
|
|
132
|
+
* },
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* MaxResults: Number("int"),
|
|
136
|
+
* NextToken: "STRING_VALUE",
|
|
137
|
+
* SortBy: "CREATED_AT" || "NOT_AFTER" || "STATUS" || "RENEWAL_STATUS" || "EXPORTED" || "IN_USE" || "NOT_BEFORE" || "KEY_ALGORITHM" || "TYPE" || "CERTIFICATE_ARN" || "COMMON_NAME" || "REVOKED_AT" || "RENEWAL_ELIGIBILITY" || "ISSUED_AT" || "MANAGED_BY" || "EXPORT_OPTION" || "VALIDATION_METHOD" || "IMPORTED_AT",
|
|
138
|
+
* SortOrder: "ASCENDING" || "DESCENDING",
|
|
139
|
+
* };
|
|
140
|
+
* const command = new SearchCertificatesCommand(input);
|
|
141
|
+
* const response = await client.send(command);
|
|
142
|
+
* // { // SearchCertificatesResponse
|
|
143
|
+
* // Results: [ // CertificateSearchResultList
|
|
144
|
+
* // { // CertificateSearchResult
|
|
145
|
+
* // CertificateArn: "STRING_VALUE",
|
|
146
|
+
* // X509Attributes: { // X509Attributes
|
|
147
|
+
* // Issuer: { // DistinguishedName
|
|
148
|
+
* // CommonName: "STRING_VALUE",
|
|
149
|
+
* // DomainComponents: [ // DomainComponentList
|
|
150
|
+
* // "STRING_VALUE",
|
|
151
|
+
* // ],
|
|
152
|
+
* // Country: "STRING_VALUE",
|
|
153
|
+
* // CustomAttributes: [ // CustomAttributeList
|
|
154
|
+
* // { // CustomAttribute
|
|
155
|
+
* // ObjectIdentifier: "STRING_VALUE",
|
|
156
|
+
* // Value: "STRING_VALUE",
|
|
157
|
+
* // },
|
|
158
|
+
* // ],
|
|
159
|
+
* // DistinguishedNameQualifier: "STRING_VALUE",
|
|
160
|
+
* // GenerationQualifier: "STRING_VALUE",
|
|
161
|
+
* // GivenName: "STRING_VALUE",
|
|
162
|
+
* // Initials: "STRING_VALUE",
|
|
163
|
+
* // Locality: "STRING_VALUE",
|
|
164
|
+
* // Organization: "STRING_VALUE",
|
|
165
|
+
* // OrganizationalUnit: "STRING_VALUE",
|
|
166
|
+
* // Pseudonym: "STRING_VALUE",
|
|
167
|
+
* // SerialNumber: "STRING_VALUE",
|
|
168
|
+
* // State: "STRING_VALUE",
|
|
169
|
+
* // Surname: "STRING_VALUE",
|
|
170
|
+
* // Title: "STRING_VALUE",
|
|
171
|
+
* // },
|
|
172
|
+
* // Subject: {
|
|
173
|
+
* // CommonName: "STRING_VALUE",
|
|
174
|
+
* // DomainComponents: [
|
|
175
|
+
* // "STRING_VALUE",
|
|
176
|
+
* // ],
|
|
177
|
+
* // Country: "STRING_VALUE",
|
|
178
|
+
* // CustomAttributes: [
|
|
179
|
+
* // {
|
|
180
|
+
* // ObjectIdentifier: "STRING_VALUE",
|
|
181
|
+
* // Value: "STRING_VALUE",
|
|
182
|
+
* // },
|
|
183
|
+
* // ],
|
|
184
|
+
* // DistinguishedNameQualifier: "STRING_VALUE",
|
|
185
|
+
* // GenerationQualifier: "STRING_VALUE",
|
|
186
|
+
* // GivenName: "STRING_VALUE",
|
|
187
|
+
* // Initials: "STRING_VALUE",
|
|
188
|
+
* // Locality: "STRING_VALUE",
|
|
189
|
+
* // Organization: "STRING_VALUE",
|
|
190
|
+
* // OrganizationalUnit: "STRING_VALUE",
|
|
191
|
+
* // Pseudonym: "STRING_VALUE",
|
|
192
|
+
* // SerialNumber: "STRING_VALUE",
|
|
193
|
+
* // State: "STRING_VALUE",
|
|
194
|
+
* // Surname: "STRING_VALUE",
|
|
195
|
+
* // Title: "STRING_VALUE",
|
|
196
|
+
* // },
|
|
197
|
+
* // SubjectAlternativeNames: [ // GeneralNameList
|
|
198
|
+
* // { // GeneralName Union: only one key present
|
|
199
|
+
* // DirectoryName: {
|
|
200
|
+
* // CommonName: "STRING_VALUE",
|
|
201
|
+
* // DomainComponents: [
|
|
202
|
+
* // "STRING_VALUE",
|
|
203
|
+
* // ],
|
|
204
|
+
* // Country: "STRING_VALUE",
|
|
205
|
+
* // CustomAttributes: [
|
|
206
|
+
* // {
|
|
207
|
+
* // ObjectIdentifier: "STRING_VALUE",
|
|
208
|
+
* // Value: "STRING_VALUE",
|
|
209
|
+
* // },
|
|
210
|
+
* // ],
|
|
211
|
+
* // DistinguishedNameQualifier: "STRING_VALUE",
|
|
212
|
+
* // GenerationQualifier: "STRING_VALUE",
|
|
213
|
+
* // GivenName: "STRING_VALUE",
|
|
214
|
+
* // Initials: "STRING_VALUE",
|
|
215
|
+
* // Locality: "STRING_VALUE",
|
|
216
|
+
* // Organization: "STRING_VALUE",
|
|
217
|
+
* // OrganizationalUnit: "STRING_VALUE",
|
|
218
|
+
* // Pseudonym: "STRING_VALUE",
|
|
219
|
+
* // SerialNumber: "STRING_VALUE",
|
|
220
|
+
* // State: "STRING_VALUE",
|
|
221
|
+
* // Surname: "STRING_VALUE",
|
|
222
|
+
* // Title: "STRING_VALUE",
|
|
223
|
+
* // },
|
|
224
|
+
* // DnsName: "STRING_VALUE",
|
|
225
|
+
* // IpAddress: "STRING_VALUE",
|
|
226
|
+
* // OtherName: { // OtherName
|
|
227
|
+
* // ObjectIdentifier: "STRING_VALUE",
|
|
228
|
+
* // Value: "STRING_VALUE",
|
|
229
|
+
* // },
|
|
230
|
+
* // RegisteredId: "STRING_VALUE",
|
|
231
|
+
* // Rfc822Name: "STRING_VALUE",
|
|
232
|
+
* // UniformResourceIdentifier: "STRING_VALUE",
|
|
233
|
+
* // },
|
|
234
|
+
* // ],
|
|
235
|
+
* // ExtendedKeyUsages: [ // ExtendedKeyUsageNames
|
|
236
|
+
* // "TLS_WEB_SERVER_AUTHENTICATION" || "TLS_WEB_CLIENT_AUTHENTICATION" || "CODE_SIGNING" || "EMAIL_PROTECTION" || "TIME_STAMPING" || "OCSP_SIGNING" || "IPSEC_END_SYSTEM" || "IPSEC_TUNNEL" || "IPSEC_USER" || "ANY" || "NONE" || "CUSTOM",
|
|
237
|
+
* // ],
|
|
238
|
+
* // KeyAlgorithm: "RSA_1024" || "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1",
|
|
239
|
+
* // KeyUsages: [ // KeyUsageNames
|
|
240
|
+
* // "DIGITAL_SIGNATURE" || "NON_REPUDIATION" || "KEY_ENCIPHERMENT" || "DATA_ENCIPHERMENT" || "KEY_AGREEMENT" || "CERTIFICATE_SIGNING" || "CRL_SIGNING" || "ENCIPHER_ONLY" || "DECIPHER_ONLY" || "ANY" || "CUSTOM",
|
|
241
|
+
* // ],
|
|
242
|
+
* // SerialNumber: "STRING_VALUE",
|
|
243
|
+
* // NotAfter: new Date("TIMESTAMP"),
|
|
244
|
+
* // NotBefore: new Date("TIMESTAMP"),
|
|
245
|
+
* // },
|
|
246
|
+
* // CertificateMetadata: { // CertificateMetadata Union: only one key present
|
|
247
|
+
* // AcmCertificateMetadata: { // AcmCertificateMetadata
|
|
248
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
249
|
+
* // Exported: true || false,
|
|
250
|
+
* // ImportedAt: new Date("TIMESTAMP"),
|
|
251
|
+
* // InUse: true || false,
|
|
252
|
+
* // IssuedAt: new Date("TIMESTAMP"),
|
|
253
|
+
* // RenewalEligibility: "ELIGIBLE" || "INELIGIBLE",
|
|
254
|
+
* // RevokedAt: new Date("TIMESTAMP"),
|
|
255
|
+
* // Status: "PENDING_VALIDATION" || "ISSUED" || "INACTIVE" || "EXPIRED" || "VALIDATION_TIMED_OUT" || "REVOKED" || "FAILED",
|
|
256
|
+
* // RenewalStatus: "PENDING_AUTO_RENEWAL" || "PENDING_VALIDATION" || "SUCCESS" || "FAILED",
|
|
257
|
+
* // Type: "IMPORTED" || "AMAZON_ISSUED" || "PRIVATE",
|
|
258
|
+
* // ExportOption: "ENABLED" || "DISABLED",
|
|
259
|
+
* // ManagedBy: "CLOUDFRONT",
|
|
260
|
+
* // ValidationMethod: "EMAIL" || "DNS" || "HTTP",
|
|
261
|
+
* // },
|
|
262
|
+
* // },
|
|
263
|
+
* // },
|
|
264
|
+
* // ],
|
|
265
|
+
* // NextToken: "STRING_VALUE",
|
|
266
|
+
* // };
|
|
267
|
+
*
|
|
268
|
+
* ```
|
|
269
|
+
*
|
|
270
|
+
* @param SearchCertificatesCommandInput - {@link SearchCertificatesCommandInput}
|
|
271
|
+
* @returns {@link SearchCertificatesCommandOutput}
|
|
272
|
+
* @see {@link SearchCertificatesCommandInput} for command's `input` shape.
|
|
273
|
+
* @see {@link SearchCertificatesCommandOutput} for command's `response` shape.
|
|
274
|
+
* @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
|
|
275
|
+
*
|
|
276
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
277
|
+
* <p>You do not have access required to perform this action.</p>
|
|
278
|
+
*
|
|
279
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
280
|
+
* <p>The request was denied because it exceeded a quota.</p>
|
|
281
|
+
*
|
|
282
|
+
* @throws {@link ValidationException} (client fault)
|
|
283
|
+
* <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
|
|
284
|
+
*
|
|
285
|
+
* @throws {@link ACMServiceException}
|
|
286
|
+
* <p>Base exception class for all service exceptions from ACM service.</p>
|
|
287
|
+
*
|
|
288
|
+
*
|
|
289
|
+
* @public
|
|
290
|
+
*/
|
|
291
|
+
export declare class SearchCertificatesCommand extends SearchCertificatesCommand_base {
|
|
292
|
+
/** @internal type navigation helper, not in runtime. */
|
|
293
|
+
protected static __types: {
|
|
294
|
+
api: {
|
|
295
|
+
input: SearchCertificatesRequest;
|
|
296
|
+
output: SearchCertificatesResponse;
|
|
297
|
+
};
|
|
298
|
+
sdk: {
|
|
299
|
+
input: SearchCertificatesCommandInput;
|
|
300
|
+
output: SearchCertificatesCommandOutput;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
}
|
|
@@ -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";
|
|
@@ -2,13 +2,81 @@
|
|
|
2
2
|
* @public
|
|
3
3
|
* @enum
|
|
4
4
|
*/
|
|
5
|
-
export declare const
|
|
6
|
-
readonly
|
|
5
|
+
export declare const CertificateExport: {
|
|
6
|
+
readonly DISABLED: "DISABLED";
|
|
7
|
+
readonly ENABLED: "ENABLED";
|
|
7
8
|
};
|
|
8
9
|
/**
|
|
9
10
|
* @public
|
|
10
11
|
*/
|
|
11
|
-
export type
|
|
12
|
+
export type CertificateExport = (typeof CertificateExport)[keyof typeof CertificateExport];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const CertificateManagedBy: {
|
|
18
|
+
readonly CLOUDFRONT: "CLOUDFRONT";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type CertificateManagedBy = (typeof CertificateManagedBy)[keyof typeof CertificateManagedBy];
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* @enum
|
|
27
|
+
*/
|
|
28
|
+
export declare const RenewalEligibility: {
|
|
29
|
+
readonly ELIGIBLE: "ELIGIBLE";
|
|
30
|
+
readonly INELIGIBLE: "INELIGIBLE";
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export type RenewalEligibility = (typeof RenewalEligibility)[keyof typeof RenewalEligibility];
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
* @enum
|
|
39
|
+
*/
|
|
40
|
+
export declare const RenewalStatus: {
|
|
41
|
+
readonly FAILED: "FAILED";
|
|
42
|
+
readonly PENDING_AUTO_RENEWAL: "PENDING_AUTO_RENEWAL";
|
|
43
|
+
readonly PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
44
|
+
readonly SUCCESS: "SUCCESS";
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export type RenewalStatus = (typeof RenewalStatus)[keyof typeof RenewalStatus];
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
* @enum
|
|
53
|
+
*/
|
|
54
|
+
export declare const CertificateStatus: {
|
|
55
|
+
readonly EXPIRED: "EXPIRED";
|
|
56
|
+
readonly FAILED: "FAILED";
|
|
57
|
+
readonly INACTIVE: "INACTIVE";
|
|
58
|
+
readonly ISSUED: "ISSUED";
|
|
59
|
+
readonly PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
60
|
+
readonly REVOKED: "REVOKED";
|
|
61
|
+
readonly VALIDATION_TIMED_OUT: "VALIDATION_TIMED_OUT";
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export type CertificateStatus = (typeof CertificateStatus)[keyof typeof CertificateStatus];
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
* @enum
|
|
70
|
+
*/
|
|
71
|
+
export declare const CertificateType: {
|
|
72
|
+
readonly AMAZON_ISSUED: "AMAZON_ISSUED";
|
|
73
|
+
readonly IMPORTED: "IMPORTED";
|
|
74
|
+
readonly PRIVATE: "PRIVATE";
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export type CertificateType = (typeof CertificateType)[keyof typeof CertificateType];
|
|
12
80
|
/**
|
|
13
81
|
* @public
|
|
14
82
|
* @enum
|
|
@@ -22,6 +90,17 @@ export declare const ValidationMethod: {
|
|
|
22
90
|
* @public
|
|
23
91
|
*/
|
|
24
92
|
export type ValidationMethod = (typeof ValidationMethod)[keyof typeof ValidationMethod];
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
* @enum
|
|
96
|
+
*/
|
|
97
|
+
export declare const RecordType: {
|
|
98
|
+
readonly CNAME: "CNAME";
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export type RecordType = (typeof RecordType)[keyof typeof RecordType];
|
|
25
104
|
/**
|
|
26
105
|
* @public
|
|
27
106
|
* @enum
|
|
@@ -122,17 +201,6 @@ export declare const KeyUsageName: {
|
|
|
122
201
|
* @public
|
|
123
202
|
*/
|
|
124
203
|
export type KeyUsageName = (typeof KeyUsageName)[keyof typeof KeyUsageName];
|
|
125
|
-
/**
|
|
126
|
-
* @public
|
|
127
|
-
* @enum
|
|
128
|
-
*/
|
|
129
|
-
export declare const CertificateManagedBy: {
|
|
130
|
-
readonly CLOUDFRONT: "CLOUDFRONT";
|
|
131
|
-
};
|
|
132
|
-
/**
|
|
133
|
-
* @public
|
|
134
|
-
*/
|
|
135
|
-
export type CertificateManagedBy = (typeof CertificateManagedBy)[keyof typeof CertificateManagedBy];
|
|
136
204
|
/**
|
|
137
205
|
* @public
|
|
138
206
|
* @enum
|
|
@@ -145,44 +213,6 @@ export declare const CertificateTransparencyLoggingPreference: {
|
|
|
145
213
|
* @public
|
|
146
214
|
*/
|
|
147
215
|
export type CertificateTransparencyLoggingPreference = (typeof CertificateTransparencyLoggingPreference)[keyof typeof CertificateTransparencyLoggingPreference];
|
|
148
|
-
/**
|
|
149
|
-
* @public
|
|
150
|
-
* @enum
|
|
151
|
-
*/
|
|
152
|
-
export declare const CertificateExport: {
|
|
153
|
-
readonly DISABLED: "DISABLED";
|
|
154
|
-
readonly ENABLED: "ENABLED";
|
|
155
|
-
};
|
|
156
|
-
/**
|
|
157
|
-
* @public
|
|
158
|
-
*/
|
|
159
|
-
export type CertificateExport = (typeof CertificateExport)[keyof typeof CertificateExport];
|
|
160
|
-
/**
|
|
161
|
-
* @public
|
|
162
|
-
* @enum
|
|
163
|
-
*/
|
|
164
|
-
export declare const RenewalEligibility: {
|
|
165
|
-
readonly ELIGIBLE: "ELIGIBLE";
|
|
166
|
-
readonly INELIGIBLE: "INELIGIBLE";
|
|
167
|
-
};
|
|
168
|
-
/**
|
|
169
|
-
* @public
|
|
170
|
-
*/
|
|
171
|
-
export type RenewalEligibility = (typeof RenewalEligibility)[keyof typeof RenewalEligibility];
|
|
172
|
-
/**
|
|
173
|
-
* @public
|
|
174
|
-
* @enum
|
|
175
|
-
*/
|
|
176
|
-
export declare const RenewalStatus: {
|
|
177
|
-
readonly FAILED: "FAILED";
|
|
178
|
-
readonly PENDING_AUTO_RENEWAL: "PENDING_AUTO_RENEWAL";
|
|
179
|
-
readonly PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
180
|
-
readonly SUCCESS: "SUCCESS";
|
|
181
|
-
};
|
|
182
|
-
/**
|
|
183
|
-
* @public
|
|
184
|
-
*/
|
|
185
|
-
export type RenewalStatus = (typeof RenewalStatus)[keyof typeof RenewalStatus];
|
|
186
216
|
/**
|
|
187
217
|
* @public
|
|
188
218
|
* @enum
|
|
@@ -208,52 +238,74 @@ export type RevocationReason = (typeof RevocationReason)[keyof typeof Revocation
|
|
|
208
238
|
* @public
|
|
209
239
|
* @enum
|
|
210
240
|
*/
|
|
211
|
-
export declare const
|
|
212
|
-
readonly
|
|
213
|
-
readonly
|
|
214
|
-
readonly INACTIVE: "INACTIVE";
|
|
215
|
-
readonly ISSUED: "ISSUED";
|
|
216
|
-
readonly PENDING_VALIDATION: "PENDING_VALIDATION";
|
|
217
|
-
readonly REVOKED: "REVOKED";
|
|
218
|
-
readonly VALIDATION_TIMED_OUT: "VALIDATION_TIMED_OUT";
|
|
241
|
+
export declare const ComparisonOperator: {
|
|
242
|
+
readonly CONTAINS: "CONTAINS";
|
|
243
|
+
readonly EQUALS: "EQUALS";
|
|
219
244
|
};
|
|
220
245
|
/**
|
|
221
246
|
* @public
|
|
222
247
|
*/
|
|
223
|
-
export type
|
|
248
|
+
export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
224
249
|
/**
|
|
225
250
|
* @public
|
|
226
251
|
* @enum
|
|
227
252
|
*/
|
|
228
|
-
export declare const
|
|
229
|
-
readonly
|
|
230
|
-
readonly IMPORTED: "IMPORTED";
|
|
231
|
-
readonly PRIVATE: "PRIVATE";
|
|
253
|
+
export declare const SortBy: {
|
|
254
|
+
readonly CREATED_AT: "CREATED_AT";
|
|
232
255
|
};
|
|
233
256
|
/**
|
|
234
257
|
* @public
|
|
235
258
|
*/
|
|
236
|
-
export type
|
|
259
|
+
export type SortBy = (typeof SortBy)[keyof typeof SortBy];
|
|
237
260
|
/**
|
|
238
261
|
* @public
|
|
239
262
|
* @enum
|
|
240
263
|
*/
|
|
241
|
-
export declare const
|
|
264
|
+
export declare const SortOrder: {
|
|
265
|
+
readonly ASCENDING: "ASCENDING";
|
|
266
|
+
readonly DESCENDING: "DESCENDING";
|
|
267
|
+
};
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
*/
|
|
271
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
272
|
+
/**
|
|
273
|
+
* @public
|
|
274
|
+
* @enum
|
|
275
|
+
*/
|
|
276
|
+
export declare const SearchCertificatesSortBy: {
|
|
277
|
+
readonly CERTIFICATE_ARN: "CERTIFICATE_ARN";
|
|
278
|
+
readonly COMMON_NAME: "COMMON_NAME";
|
|
242
279
|
readonly CREATED_AT: "CREATED_AT";
|
|
280
|
+
readonly EXPORTED: "EXPORTED";
|
|
281
|
+
readonly EXPORT_OPTION: "EXPORT_OPTION";
|
|
282
|
+
readonly IMPORTED_AT: "IMPORTED_AT";
|
|
283
|
+
readonly IN_USE: "IN_USE";
|
|
284
|
+
readonly ISSUED_AT: "ISSUED_AT";
|
|
285
|
+
readonly KEY_ALGORITHM: "KEY_ALGORITHM";
|
|
286
|
+
readonly MANAGED_BY: "MANAGED_BY";
|
|
287
|
+
readonly NOT_AFTER: "NOT_AFTER";
|
|
288
|
+
readonly NOT_BEFORE: "NOT_BEFORE";
|
|
289
|
+
readonly RENEWAL_ELIGIBILITY: "RENEWAL_ELIGIBILITY";
|
|
290
|
+
readonly RENEWAL_STATUS: "RENEWAL_STATUS";
|
|
291
|
+
readonly REVOKED_AT: "REVOKED_AT";
|
|
292
|
+
readonly STATUS: "STATUS";
|
|
293
|
+
readonly TYPE: "TYPE";
|
|
294
|
+
readonly VALIDATION_METHOD: "VALIDATION_METHOD";
|
|
243
295
|
};
|
|
244
296
|
/**
|
|
245
297
|
* @public
|
|
246
298
|
*/
|
|
247
|
-
export type
|
|
299
|
+
export type SearchCertificatesSortBy = (typeof SearchCertificatesSortBy)[keyof typeof SearchCertificatesSortBy];
|
|
248
300
|
/**
|
|
249
301
|
* @public
|
|
250
302
|
* @enum
|
|
251
303
|
*/
|
|
252
|
-
export declare const
|
|
304
|
+
export declare const SearchCertificatesSortOrder: {
|
|
253
305
|
readonly ASCENDING: "ASCENDING";
|
|
254
306
|
readonly DESCENDING: "DESCENDING";
|
|
255
307
|
};
|
|
256
308
|
/**
|
|
257
309
|
* @public
|
|
258
310
|
*/
|
|
259
|
-
export type
|
|
311
|
+
export type SearchCertificatesSortOrder = (typeof SearchCertificatesSortOrder)[keyof typeof SearchCertificatesSortOrder];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ACMServiceException as __BaseException } from "./ACMServiceException";
|
|
3
|
+
import type { ThrottlingReason } from "./models_0";
|
|
3
4
|
/**
|
|
4
5
|
* <p>You do not have access required to perform this action.</p>
|
|
5
6
|
* @public
|
|
@@ -80,6 +81,11 @@ export declare class TagPolicyException extends __BaseException {
|
|
|
80
81
|
export declare class ThrottlingException extends __BaseException {
|
|
81
82
|
readonly name: "ThrottlingException";
|
|
82
83
|
readonly $fault: "client";
|
|
84
|
+
/**
|
|
85
|
+
* <p>One or more reasons why the request was throttled.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
throttlingReasons?: ThrottlingReason[] | undefined;
|
|
83
89
|
/**
|
|
84
90
|
* @internal
|
|
85
91
|
*/
|