@aws-sdk/client-acm 3.830.0 → 3.835.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 (37) hide show
  1. package/README.md +9 -4
  2. package/dist-cjs/index.js +44 -0
  3. package/dist-es/ACM.js +2 -0
  4. package/dist-es/commands/RevokeCertificateCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_0.js +4 -0
  7. package/dist-es/protocols/Aws_json1_1.js +20 -0
  8. package/dist-types/ACM.d.ts +8 -3
  9. package/dist-types/ACMClient.d.ts +4 -5
  10. package/dist-types/commands/AddTagsToCertificateCommand.d.ts +3 -18
  11. package/dist-types/commands/DeleteCertificateCommand.d.ts +4 -14
  12. package/dist-types/commands/DescribeCertificateCommand.d.ts +3 -5
  13. package/dist-types/commands/ExportCertificateCommand.d.ts +3 -11
  14. package/dist-types/commands/GetCertificateCommand.d.ts +3 -10
  15. package/dist-types/commands/ImportCertificateCommand.d.ts +3 -64
  16. package/dist-types/commands/ListCertificatesCommand.d.ts +4 -5
  17. package/dist-types/commands/ListTagsForCertificateCommand.d.ts +2 -5
  18. package/dist-types/commands/PutAccountConfigurationCommand.d.ts +2 -8
  19. package/dist-types/commands/RemoveTagsFromCertificateCommand.d.ts +3 -10
  20. package/dist-types/commands/RenewCertificateCommand.d.ts +3 -9
  21. package/dist-types/commands/RequestCertificateCommand.d.ts +4 -20
  22. package/dist-types/commands/ResendValidationEmailCommand.d.ts +3 -13
  23. package/dist-types/commands/RevokeCertificateCommand.d.ts +91 -0
  24. package/dist-types/commands/UpdateCertificateOptionsCommand.d.ts +3 -6
  25. package/dist-types/commands/index.d.ts +1 -0
  26. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  27. package/dist-types/index.d.ts +1 -3
  28. package/dist-types/models/models_0.d.ts +148 -492
  29. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  30. package/dist-types/ts3.4/ACM.d.ts +17 -0
  31. package/dist-types/ts3.4/ACMClient.d.ts +6 -0
  32. package/dist-types/ts3.4/commands/RevokeCertificateCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  34. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  35. package/dist-types/ts3.4/models/models_0.d.ts +16 -0
  36. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  37. package/package.json +11 -11
@@ -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";
@@ -16,7 +16,10 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
19
+ export type ClientResolvedEndpointParameters = Pick<
20
+ ClientInputEndpointParameters,
21
+ Exclude<keyof ClientInputEndpointParameters, "endpoint">
22
+ > & {
20
23
  defaultSigningName: string;
21
24
  };
22
25
  export declare const resolveClientEndpointParameters: <T>(
@@ -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.830.0",
4
+ "version": "3.835.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",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.826.0",
24
- "@aws-sdk/credential-provider-node": "3.830.0",
23
+ "@aws-sdk/core": "3.835.0",
24
+ "@aws-sdk/credential-provider-node": "3.835.0",
25
25
  "@aws-sdk/middleware-host-header": "3.821.0",
26
26
  "@aws-sdk/middleware-logger": "3.821.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
28
- "@aws-sdk/middleware-user-agent": "3.828.0",
28
+ "@aws-sdk/middleware-user-agent": "3.835.0",
29
29
  "@aws-sdk/region-config-resolver": "3.821.0",
30
30
  "@aws-sdk/types": "3.821.0",
31
31
  "@aws-sdk/util-endpoints": "3.828.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.821.0",
33
- "@aws-sdk/util-user-agent-node": "3.828.0",
33
+ "@aws-sdk/util-user-agent-node": "3.835.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
35
  "@smithy/core": "^3.5.3",
36
36
  "@smithy/fetch-http-handler": "^5.0.4",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.11",
41
- "@smithy/middleware-retry": "^4.1.12",
40
+ "@smithy/middleware-endpoint": "^4.1.12",
41
+ "@smithy/middleware-retry": "^4.1.13",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.0.6",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.3",
47
+ "@smithy/smithy-client": "^4.4.4",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.19",
54
- "@smithy/util-defaults-mode-node": "^4.0.19",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.20",
54
+ "@smithy/util-defaults-mode-node": "^4.0.20",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
- "@smithy/util-retry": "^4.0.5",
57
+ "@smithy/util-retry": "^4.0.6",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
59
  "@smithy/util-waiter": "^4.0.5",
60
60
  "tslib": "^2.6.2"