@aws-sdk/client-acm 3.830.0 → 3.831.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 +9 -4
- package/dist-cjs/index.js +44 -0
- package/dist-es/ACM.js +2 -0
- package/dist-es/commands/RevokeCertificateCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +20 -0
- package/dist-types/ACM.d.ts +8 -3
- package/dist-types/ACMClient.d.ts +4 -5
- package/dist-types/commands/AddTagsToCertificateCommand.d.ts +3 -18
- package/dist-types/commands/DeleteCertificateCommand.d.ts +4 -14
- package/dist-types/commands/DescribeCertificateCommand.d.ts +3 -5
- package/dist-types/commands/ExportCertificateCommand.d.ts +3 -11
- package/dist-types/commands/GetCertificateCommand.d.ts +3 -10
- package/dist-types/commands/ImportCertificateCommand.d.ts +3 -64
- package/dist-types/commands/ListCertificatesCommand.d.ts +4 -5
- package/dist-types/commands/ListTagsForCertificateCommand.d.ts +2 -5
- package/dist-types/commands/PutAccountConfigurationCommand.d.ts +2 -8
- package/dist-types/commands/RemoveTagsFromCertificateCommand.d.ts +3 -10
- package/dist-types/commands/RenewCertificateCommand.d.ts +3 -9
- package/dist-types/commands/RequestCertificateCommand.d.ts +4 -20
- package/dist-types/commands/ResendValidationEmailCommand.d.ts +3 -13
- package/dist-types/commands/RevokeCertificateCommand.d.ts +91 -0
- package/dist-types/commands/UpdateCertificateOptionsCommand.d.ts +3 -6
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -3
- package/dist-types/models/models_0.d.ts +148 -492
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/ACM.d.ts +17 -0
- package/dist-types/ts3.4/ACMClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/RevokeCertificateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ import { RemoveTagsFromCertificateCommandInput, RemoveTagsFromCertificateCommand
|
|
|
14
14
|
import { RenewCertificateCommandInput, RenewCertificateCommandOutput } from "../commands/RenewCertificateCommand";
|
|
15
15
|
import { RequestCertificateCommandInput, RequestCertificateCommandOutput } from "../commands/RequestCertificateCommand";
|
|
16
16
|
import { ResendValidationEmailCommandInput, ResendValidationEmailCommandOutput } from "../commands/ResendValidationEmailCommand";
|
|
17
|
+
import { RevokeCertificateCommandInput, RevokeCertificateCommandOutput } from "../commands/RevokeCertificateCommand";
|
|
17
18
|
import { UpdateCertificateOptionsCommandInput, UpdateCertificateOptionsCommandOutput } from "../commands/UpdateCertificateOptionsCommand";
|
|
18
19
|
/**
|
|
19
20
|
* serializeAws_json1_1AddTagsToCertificateCommand
|
|
@@ -71,6 +72,10 @@ export declare const se_RequestCertificateCommand: (input: RequestCertificateCom
|
|
|
71
72
|
* serializeAws_json1_1ResendValidationEmailCommand
|
|
72
73
|
*/
|
|
73
74
|
export declare const se_ResendValidationEmailCommand: (input: ResendValidationEmailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
75
|
+
/**
|
|
76
|
+
* serializeAws_json1_1RevokeCertificateCommand
|
|
77
|
+
*/
|
|
78
|
+
export declare const se_RevokeCertificateCommand: (input: RevokeCertificateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
74
79
|
/**
|
|
75
80
|
* serializeAws_json1_1UpdateCertificateOptionsCommand
|
|
76
81
|
*/
|
|
@@ -131,6 +136,10 @@ export declare const de_RequestCertificateCommand: (output: __HttpResponse, cont
|
|
|
131
136
|
* deserializeAws_json1_1ResendValidationEmailCommand
|
|
132
137
|
*/
|
|
133
138
|
export declare const de_ResendValidationEmailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ResendValidationEmailCommandOutput>;
|
|
139
|
+
/**
|
|
140
|
+
* deserializeAws_json1_1RevokeCertificateCommand
|
|
141
|
+
*/
|
|
142
|
+
export declare const de_RevokeCertificateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RevokeCertificateCommandOutput>;
|
|
134
143
|
/**
|
|
135
144
|
* deserializeAws_json1_1UpdateCertificateOptionsCommand
|
|
136
145
|
*/
|
|
@@ -56,6 +56,10 @@ import {
|
|
|
56
56
|
ResendValidationEmailCommandInput,
|
|
57
57
|
ResendValidationEmailCommandOutput,
|
|
58
58
|
} from "./commands/ResendValidationEmailCommand";
|
|
59
|
+
import {
|
|
60
|
+
RevokeCertificateCommandInput,
|
|
61
|
+
RevokeCertificateCommandOutput,
|
|
62
|
+
} from "./commands/RevokeCertificateCommand";
|
|
59
63
|
import {
|
|
60
64
|
UpdateCertificateOptionsCommandInput,
|
|
61
65
|
UpdateCertificateOptionsCommandOutput,
|
|
@@ -245,6 +249,19 @@ export interface ACM {
|
|
|
245
249
|
options: __HttpHandlerOptions,
|
|
246
250
|
cb: (err: any, data?: ResendValidationEmailCommandOutput) => void
|
|
247
251
|
): void;
|
|
252
|
+
revokeCertificate(
|
|
253
|
+
args: RevokeCertificateCommandInput,
|
|
254
|
+
options?: __HttpHandlerOptions
|
|
255
|
+
): Promise<RevokeCertificateCommandOutput>;
|
|
256
|
+
revokeCertificate(
|
|
257
|
+
args: RevokeCertificateCommandInput,
|
|
258
|
+
cb: (err: any, data?: RevokeCertificateCommandOutput) => void
|
|
259
|
+
): void;
|
|
260
|
+
revokeCertificate(
|
|
261
|
+
args: RevokeCertificateCommandInput,
|
|
262
|
+
options: __HttpHandlerOptions,
|
|
263
|
+
cb: (err: any, data?: RevokeCertificateCommandOutput) => void
|
|
264
|
+
): void;
|
|
248
265
|
updateCertificateOptions(
|
|
249
266
|
args: UpdateCertificateOptionsCommandInput,
|
|
250
267
|
options?: __HttpHandlerOptions
|
|
@@ -101,6 +101,10 @@ import {
|
|
|
101
101
|
ResendValidationEmailCommandInput,
|
|
102
102
|
ResendValidationEmailCommandOutput,
|
|
103
103
|
} from "./commands/ResendValidationEmailCommand";
|
|
104
|
+
import {
|
|
105
|
+
RevokeCertificateCommandInput,
|
|
106
|
+
RevokeCertificateCommandOutput,
|
|
107
|
+
} from "./commands/RevokeCertificateCommand";
|
|
104
108
|
import {
|
|
105
109
|
UpdateCertificateOptionsCommandInput,
|
|
106
110
|
UpdateCertificateOptionsCommandOutput,
|
|
@@ -127,6 +131,7 @@ export type ServiceInputTypes =
|
|
|
127
131
|
| RenewCertificateCommandInput
|
|
128
132
|
| RequestCertificateCommandInput
|
|
129
133
|
| ResendValidationEmailCommandInput
|
|
134
|
+
| RevokeCertificateCommandInput
|
|
130
135
|
| UpdateCertificateOptionsCommandInput;
|
|
131
136
|
export type ServiceOutputTypes =
|
|
132
137
|
| AddTagsToCertificateCommandOutput
|
|
@@ -143,6 +148,7 @@ export type ServiceOutputTypes =
|
|
|
143
148
|
| RenewCertificateCommandOutput
|
|
144
149
|
| RequestCertificateCommandOutput
|
|
145
150
|
| ResendValidationEmailCommandOutput
|
|
151
|
+
| RevokeCertificateCommandOutput
|
|
146
152
|
| UpdateCertificateOptionsCommandOutput;
|
|
147
153
|
export interface ClientDefaults
|
|
148
154
|
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ACMClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ACMClient";
|
|
8
|
+
import {
|
|
9
|
+
RevokeCertificateRequest,
|
|
10
|
+
RevokeCertificateResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface RevokeCertificateCommandInput
|
|
15
|
+
extends RevokeCertificateRequest {}
|
|
16
|
+
export interface RevokeCertificateCommandOutput
|
|
17
|
+
extends RevokeCertificateResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const RevokeCertificateCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: RevokeCertificateCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
RevokeCertificateCommandInput,
|
|
24
|
+
RevokeCertificateCommandOutput,
|
|
25
|
+
ACMClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: RevokeCertificateCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
RevokeCertificateCommandInput,
|
|
33
|
+
RevokeCertificateCommandOutput,
|
|
34
|
+
ACMClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class RevokeCertificateCommand extends RevokeCertificateCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: RevokeCertificateRequest;
|
|
44
|
+
output: RevokeCertificateResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: RevokeCertificateCommandInput;
|
|
48
|
+
output: RevokeCertificateCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -12,4 +12,5 @@ export * from "./RemoveTagsFromCertificateCommand";
|
|
|
12
12
|
export * from "./RenewCertificateCommand";
|
|
13
13
|
export * from "./RequestCertificateCommand";
|
|
14
14
|
export * from "./ResendValidationEmailCommand";
|
|
15
|
+
export * from "./RevokeCertificateCommand";
|
|
15
16
|
export * from "./UpdateCertificateOptionsCommand";
|
|
@@ -176,10 +176,17 @@ export declare const CertificateTransparencyLoggingPreference: {
|
|
|
176
176
|
};
|
|
177
177
|
export type CertificateTransparencyLoggingPreference =
|
|
178
178
|
(typeof CertificateTransparencyLoggingPreference)[keyof typeof CertificateTransparencyLoggingPreference];
|
|
179
|
+
export declare const CertificateExport: {
|
|
180
|
+
readonly DISABLED: "DISABLED";
|
|
181
|
+
readonly ENABLED: "ENABLED";
|
|
182
|
+
};
|
|
183
|
+
export type CertificateExport =
|
|
184
|
+
(typeof CertificateExport)[keyof typeof CertificateExport];
|
|
179
185
|
export interface CertificateOptions {
|
|
180
186
|
CertificateTransparencyLoggingPreference?:
|
|
181
187
|
| CertificateTransparencyLoggingPreference
|
|
182
188
|
| undefined;
|
|
189
|
+
Export?: CertificateExport | undefined;
|
|
183
190
|
}
|
|
184
191
|
export declare const RenewalEligibility: {
|
|
185
192
|
readonly ELIGIBLE: "ELIGIBLE";
|
|
@@ -340,6 +347,7 @@ export interface Filters {
|
|
|
340
347
|
extendedKeyUsage?: ExtendedKeyUsageName[] | undefined;
|
|
341
348
|
keyUsage?: KeyUsageName[] | undefined;
|
|
342
349
|
keyTypes?: KeyAlgorithm[] | undefined;
|
|
350
|
+
exportOption?: CertificateExport | undefined;
|
|
343
351
|
managedBy?: CertificateManagedBy | undefined;
|
|
344
352
|
}
|
|
345
353
|
export declare const SortBy: {
|
|
@@ -369,6 +377,7 @@ export interface CertificateSummary {
|
|
|
369
377
|
KeyAlgorithm?: KeyAlgorithm | undefined;
|
|
370
378
|
KeyUsages?: KeyUsageName[] | undefined;
|
|
371
379
|
ExtendedKeyUsages?: ExtendedKeyUsageName[] | undefined;
|
|
380
|
+
ExportOption?: CertificateExport | undefined;
|
|
372
381
|
InUse?: boolean | undefined;
|
|
373
382
|
Exported?: boolean | undefined;
|
|
374
383
|
RenewalEligibility?: RenewalEligibility | undefined;
|
|
@@ -449,6 +458,13 @@ export interface ResendValidationEmailRequest {
|
|
|
449
458
|
Domain: string | undefined;
|
|
450
459
|
ValidationDomain: string | undefined;
|
|
451
460
|
}
|
|
461
|
+
export interface RevokeCertificateRequest {
|
|
462
|
+
CertificateArn: string | undefined;
|
|
463
|
+
RevocationReason: RevocationReason | undefined;
|
|
464
|
+
}
|
|
465
|
+
export interface RevokeCertificateResponse {
|
|
466
|
+
CertificateArn?: string | undefined;
|
|
467
|
+
}
|
|
452
468
|
export interface UpdateCertificateOptionsRequest {
|
|
453
469
|
CertificateArn: string | undefined;
|
|
454
470
|
Options: CertificateOptions | undefined;
|
|
@@ -59,6 +59,10 @@ import {
|
|
|
59
59
|
ResendValidationEmailCommandInput,
|
|
60
60
|
ResendValidationEmailCommandOutput,
|
|
61
61
|
} from "../commands/ResendValidationEmailCommand";
|
|
62
|
+
import {
|
|
63
|
+
RevokeCertificateCommandInput,
|
|
64
|
+
RevokeCertificateCommandOutput,
|
|
65
|
+
} from "../commands/RevokeCertificateCommand";
|
|
62
66
|
import {
|
|
63
67
|
UpdateCertificateOptionsCommandInput,
|
|
64
68
|
UpdateCertificateOptionsCommandOutput,
|
|
@@ -119,6 +123,10 @@ export declare const se_ResendValidationEmailCommand: (
|
|
|
119
123
|
input: ResendValidationEmailCommandInput,
|
|
120
124
|
context: __SerdeContext
|
|
121
125
|
) => Promise<__HttpRequest>;
|
|
126
|
+
export declare const se_RevokeCertificateCommand: (
|
|
127
|
+
input: RevokeCertificateCommandInput,
|
|
128
|
+
context: __SerdeContext
|
|
129
|
+
) => Promise<__HttpRequest>;
|
|
122
130
|
export declare const se_UpdateCertificateOptionsCommand: (
|
|
123
131
|
input: UpdateCertificateOptionsCommandInput,
|
|
124
132
|
context: __SerdeContext
|
|
@@ -179,6 +187,10 @@ export declare const de_ResendValidationEmailCommand: (
|
|
|
179
187
|
output: __HttpResponse,
|
|
180
188
|
context: __SerdeContext
|
|
181
189
|
) => Promise<ResendValidationEmailCommandOutput>;
|
|
190
|
+
export declare const de_RevokeCertificateCommand: (
|
|
191
|
+
output: __HttpResponse,
|
|
192
|
+
context: __SerdeContext
|
|
193
|
+
) => Promise<RevokeCertificateCommandOutput>;
|
|
182
194
|
export declare const de_UpdateCertificateOptionsCommand: (
|
|
183
195
|
output: __HttpResponse,
|
|
184
196
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-acm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Acm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.831.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-acm",
|