@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.
- 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-es/waiters/waitForCertificateValidated.js +2 -2
- package/dist-types/ACM.d.ts +31 -16
- package/dist-types/ACMClient.d.ts +22 -21
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- 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/index.d.ts +1 -1
- 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/ListCertificatesPaginator.d.ts +1 -1
- 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 +8 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- 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/dist-types/waiters/waitForCertificateValidated.d.ts +3 -3
- package/package.json +15 -15
|
@@ -5,35 +5,36 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import {
|
|
8
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
-
import { AddTagsToCertificateCommandInput, AddTagsToCertificateCommandOutput } from "./commands/AddTagsToCertificateCommand";
|
|
11
|
-
import { DeleteCertificateCommandInput, DeleteCertificateCommandOutput } from "./commands/DeleteCertificateCommand";
|
|
12
|
-
import { DescribeCertificateCommandInput, DescribeCertificateCommandOutput } from "./commands/DescribeCertificateCommand";
|
|
13
|
-
import { ExportCertificateCommandInput, ExportCertificateCommandOutput } from "./commands/ExportCertificateCommand";
|
|
14
|
-
import { GetAccountConfigurationCommandInput, GetAccountConfigurationCommandOutput } from "./commands/GetAccountConfigurationCommand";
|
|
15
|
-
import { GetCertificateCommandInput, GetCertificateCommandOutput } from "./commands/GetCertificateCommand";
|
|
16
|
-
import { ImportCertificateCommandInput, ImportCertificateCommandOutput } from "./commands/ImportCertificateCommand";
|
|
17
|
-
import { ListCertificatesCommandInput, ListCertificatesCommandOutput } from "./commands/ListCertificatesCommand";
|
|
18
|
-
import { ListTagsForCertificateCommandInput, ListTagsForCertificateCommandOutput } from "./commands/ListTagsForCertificateCommand";
|
|
19
|
-
import { PutAccountConfigurationCommandInput, PutAccountConfigurationCommandOutput } from "./commands/PutAccountConfigurationCommand";
|
|
20
|
-
import { RemoveTagsFromCertificateCommandInput, RemoveTagsFromCertificateCommandOutput } from "./commands/RemoveTagsFromCertificateCommand";
|
|
21
|
-
import { RenewCertificateCommandInput, RenewCertificateCommandOutput } from "./commands/RenewCertificateCommand";
|
|
22
|
-
import { RequestCertificateCommandInput, RequestCertificateCommandOutput } from "./commands/RequestCertificateCommand";
|
|
23
|
-
import { ResendValidationEmailCommandInput, ResendValidationEmailCommandOutput } from "./commands/ResendValidationEmailCommand";
|
|
24
|
-
import { RevokeCertificateCommandInput, RevokeCertificateCommandOutput } from "./commands/RevokeCertificateCommand";
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
10
|
+
import type { AddTagsToCertificateCommandInput, AddTagsToCertificateCommandOutput } from "./commands/AddTagsToCertificateCommand";
|
|
11
|
+
import type { DeleteCertificateCommandInput, DeleteCertificateCommandOutput } from "./commands/DeleteCertificateCommand";
|
|
12
|
+
import type { DescribeCertificateCommandInput, DescribeCertificateCommandOutput } from "./commands/DescribeCertificateCommand";
|
|
13
|
+
import type { ExportCertificateCommandInput, ExportCertificateCommandOutput } from "./commands/ExportCertificateCommand";
|
|
14
|
+
import type { GetAccountConfigurationCommandInput, GetAccountConfigurationCommandOutput } from "./commands/GetAccountConfigurationCommand";
|
|
15
|
+
import type { GetCertificateCommandInput, GetCertificateCommandOutput } from "./commands/GetCertificateCommand";
|
|
16
|
+
import type { ImportCertificateCommandInput, ImportCertificateCommandOutput } from "./commands/ImportCertificateCommand";
|
|
17
|
+
import type { ListCertificatesCommandInput, ListCertificatesCommandOutput } from "./commands/ListCertificatesCommand";
|
|
18
|
+
import type { ListTagsForCertificateCommandInput, ListTagsForCertificateCommandOutput } from "./commands/ListTagsForCertificateCommand";
|
|
19
|
+
import type { PutAccountConfigurationCommandInput, PutAccountConfigurationCommandOutput } from "./commands/PutAccountConfigurationCommand";
|
|
20
|
+
import type { RemoveTagsFromCertificateCommandInput, RemoveTagsFromCertificateCommandOutput } from "./commands/RemoveTagsFromCertificateCommand";
|
|
21
|
+
import type { RenewCertificateCommandInput, RenewCertificateCommandOutput } from "./commands/RenewCertificateCommand";
|
|
22
|
+
import type { RequestCertificateCommandInput, RequestCertificateCommandOutput } from "./commands/RequestCertificateCommand";
|
|
23
|
+
import type { ResendValidationEmailCommandInput, ResendValidationEmailCommandOutput } from "./commands/ResendValidationEmailCommand";
|
|
24
|
+
import type { RevokeCertificateCommandInput, RevokeCertificateCommandOutput } from "./commands/RevokeCertificateCommand";
|
|
25
|
+
import type { SearchCertificatesCommandInput, SearchCertificatesCommandOutput } from "./commands/SearchCertificatesCommand";
|
|
26
|
+
import type { UpdateCertificateOptionsCommandInput, UpdateCertificateOptionsCommandOutput } from "./commands/UpdateCertificateOptionsCommand";
|
|
27
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
27
28
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
28
29
|
export { __Client };
|
|
29
30
|
/**
|
|
30
31
|
* @public
|
|
31
32
|
*/
|
|
32
|
-
export type ServiceInputTypes = AddTagsToCertificateCommandInput | DeleteCertificateCommandInput | DescribeCertificateCommandInput | ExportCertificateCommandInput | GetAccountConfigurationCommandInput | GetCertificateCommandInput | ImportCertificateCommandInput | ListCertificatesCommandInput | ListTagsForCertificateCommandInput | PutAccountConfigurationCommandInput | RemoveTagsFromCertificateCommandInput | RenewCertificateCommandInput | RequestCertificateCommandInput | ResendValidationEmailCommandInput | RevokeCertificateCommandInput | UpdateCertificateOptionsCommandInput;
|
|
33
|
+
export type ServiceInputTypes = AddTagsToCertificateCommandInput | DeleteCertificateCommandInput | DescribeCertificateCommandInput | ExportCertificateCommandInput | GetAccountConfigurationCommandInput | GetCertificateCommandInput | ImportCertificateCommandInput | ListCertificatesCommandInput | ListTagsForCertificateCommandInput | PutAccountConfigurationCommandInput | RemoveTagsFromCertificateCommandInput | RenewCertificateCommandInput | RequestCertificateCommandInput | ResendValidationEmailCommandInput | RevokeCertificateCommandInput | SearchCertificatesCommandInput | UpdateCertificateOptionsCommandInput;
|
|
33
34
|
/**
|
|
34
35
|
* @public
|
|
35
36
|
*/
|
|
36
|
-
export type ServiceOutputTypes = AddTagsToCertificateCommandOutput | DeleteCertificateCommandOutput | DescribeCertificateCommandOutput | ExportCertificateCommandOutput | GetAccountConfigurationCommandOutput | GetCertificateCommandOutput | ImportCertificateCommandOutput | ListCertificatesCommandOutput | ListTagsForCertificateCommandOutput | PutAccountConfigurationCommandOutput | RemoveTagsFromCertificateCommandOutput | RenewCertificateCommandOutput | RequestCertificateCommandOutput | ResendValidationEmailCommandOutput | RevokeCertificateCommandOutput | UpdateCertificateOptionsCommandOutput;
|
|
37
|
+
export type ServiceOutputTypes = AddTagsToCertificateCommandOutput | DeleteCertificateCommandOutput | DescribeCertificateCommandOutput | ExportCertificateCommandOutput | GetAccountConfigurationCommandOutput | GetCertificateCommandOutput | ImportCertificateCommandOutput | ListCertificatesCommandOutput | ListTagsForCertificateCommandOutput | PutAccountConfigurationCommandOutput | RemoveTagsFromCertificateCommandOutput | RenewCertificateCommandOutput | RequestCertificateCommandOutput | ResendValidationEmailCommandOutput | RevokeCertificateCommandOutput | SearchCertificatesCommandOutput | UpdateCertificateOptionsCommandOutput;
|
|
37
38
|
/**
|
|
38
39
|
* @public
|
|
39
40
|
*/
|
|
@@ -132,7 +133,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
132
133
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
133
134
|
* @internal
|
|
134
135
|
*/
|
|
135
|
-
defaultUserAgentProvider?:
|
|
136
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
136
137
|
/**
|
|
137
138
|
* Default credentials provider; Not available in browser runtime.
|
|
138
139
|
* @deprecated
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
2
|
import type { ACMHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
@@ -27,7 +27,7 @@ declare const DeleteCertificateCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a certificate and its associated private key. If this action succeeds, the 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
|
|
30
|
+
* <p>Deletes a certificate and its associated private key. If this action succeeds, the certificate is not available for use by Amazon Web Services services integrated with ACM. Deleting a certificate is eventually consistent. The may be a short delay before the 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.</p> <note> <p>You cannot delete an ACM certificate that is being used by another Amazon Web Services service. To delete a certificate that is in use, you must first remove the certificate association using the console or the CLI for the associated service.</p> <p>Deleting a certificate issued by a private certificate authority (CA) has no effect on the CA. You will continue to be charged for the CA until it is deleted. For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PCADeleteCA.html"> Deleting Your Private CA</a> in the <i>Private Certificate Authority User Guide</i>.</p> </note> <p>Deleting a certificate issued by a private certificate authority (CA) has no effect on the CA. You will continue to be charged for the CA until it is deleted. For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PCADeleteCA.html">Deleting your private CA</a> in the <i>Amazon Web Services Private Certificate Authority User Guide</i>.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const ExportCertificateCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Exports a private certificate issued by a private certificate authority (CA) or public certificate for use anywhere. The exported file contains the certificate, the certificate chain, and the encrypted private key associated with the public key that is embedded in the certificate. For security, you must assign a passphrase for the private key when exporting it. </p> <p>For information about exporting and formatting a certificate using the ACM console or CLI, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/export-private.html">Export a private certificate</a> and <a href="https://docs.aws.amazon.com/acm/latest/userguide/export-public-certificate">Export a public certificate</a>.</p>
|
|
30
|
+
* <p>Exports a private certificate issued by a private certificate authority (CA) or a public certificate for use anywhere. The exported file contains the certificate, the certificate chain, and the encrypted private key associated with the public key that is embedded in the certificate. For security, you must assign a passphrase for the private key when exporting it. </p> <p>For information about exporting and formatting a certificate using the ACM console or CLI, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/export-private.html">Export a private certificate</a> and <a href="https://docs.aws.amazon.com/acm/latest/userguide/export-public-certificate">Export a public certificate</a>.</p> <note> <p>ACM public certificates created prior to June 17, 2025 cannot be exported.</p> </note>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -65,6 +65,9 @@ declare const ExportCertificateCommand_base: {
|
|
|
65
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
66
|
* <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
|
|
67
67
|
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied because it exceeded a quota.</p>
|
|
70
|
+
*
|
|
68
71
|
* @throws {@link ACMServiceException}
|
|
69
72
|
* <p>Base exception class for all service exceptions from ACM service.</p>
|
|
70
73
|
*
|
|
@@ -62,6 +62,9 @@ declare const ImportCertificateCommand_base: {
|
|
|
62
62
|
* @see {@link ImportCertificateCommandOutput} for command's `response` shape.
|
|
63
63
|
* @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
|
|
64
64
|
*
|
|
65
|
+
* @throws {@link ConflictException} (client fault)
|
|
66
|
+
* <p>You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.</p>
|
|
67
|
+
*
|
|
65
68
|
* @throws {@link InvalidArnException} (client fault)
|
|
66
69
|
* <p>The requested Amazon Resource Name (ARN) does not refer to an existing resource.</p>
|
|
67
70
|
*
|
|
@@ -27,7 +27,7 @@ declare const RenewCertificateCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Renews an <a href="https://docs.aws.amazon.com/acm/latest/userguide/managed-renewal.html">eligible ACM certificate</a>. In order to renew your Amazon Web Services Private CA certificates with ACM, you must first <a href="https://docs.aws.amazon.com/privateca/latest/userguide/
|
|
30
|
+
* <p>Renews an <a href="https://docs.aws.amazon.com/acm/latest/userguide/managed-renewal.html">eligible ACM certificate</a>. In order to renew your Amazon Web Services Private CA certificates with ACM, you must first <a href="https://docs.aws.amazon.com/privateca/latest/userguide/assign-permissions.html#PcaPermissions">grant the ACM service principal permission to do so</a>. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/managed-renewal.html">Testing Managed Renewal</a> in the ACM User Guide.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -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";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export * from "./ACMClient";
|
|
7
7
|
export * from "./ACM";
|
|
8
|
-
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
8
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { ACMExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|