@aws-sdk/client-acm 3.477.0 → 3.481.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 (69) hide show
  1. package/dist-cjs/commands/AddTagsToCertificateCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteCertificateCommand.js +18 -41
  3. package/dist-cjs/commands/DescribeCertificateCommand.js +18 -41
  4. package/dist-cjs/commands/ExportCertificateCommand.js +18 -41
  5. package/dist-cjs/commands/GetAccountConfigurationCommand.js +18 -41
  6. package/dist-cjs/commands/GetCertificateCommand.js +18 -41
  7. package/dist-cjs/commands/ImportCertificateCommand.js +18 -41
  8. package/dist-cjs/commands/ListCertificatesCommand.js +18 -41
  9. package/dist-cjs/commands/ListTagsForCertificateCommand.js +18 -41
  10. package/dist-cjs/commands/PutAccountConfigurationCommand.js +18 -41
  11. package/dist-cjs/commands/RemoveTagsFromCertificateCommand.js +18 -41
  12. package/dist-cjs/commands/RenewCertificateCommand.js +18 -41
  13. package/dist-cjs/commands/RequestCertificateCommand.js +18 -41
  14. package/dist-cjs/commands/ResendValidationEmailCommand.js +18 -41
  15. package/dist-cjs/commands/UpdateCertificateOptionsCommand.js +18 -41
  16. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  17. package/dist-cjs/pagination/ListCertificatesPaginator.js +2 -24
  18. package/dist-es/commands/AddTagsToCertificateCommand.js +18 -41
  19. package/dist-es/commands/DeleteCertificateCommand.js +18 -41
  20. package/dist-es/commands/DescribeCertificateCommand.js +18 -41
  21. package/dist-es/commands/ExportCertificateCommand.js +18 -41
  22. package/dist-es/commands/GetAccountConfigurationCommand.js +18 -41
  23. package/dist-es/commands/GetCertificateCommand.js +18 -41
  24. package/dist-es/commands/ImportCertificateCommand.js +18 -41
  25. package/dist-es/commands/ListCertificatesCommand.js +18 -41
  26. package/dist-es/commands/ListTagsForCertificateCommand.js +18 -41
  27. package/dist-es/commands/PutAccountConfigurationCommand.js +18 -41
  28. package/dist-es/commands/RemoveTagsFromCertificateCommand.js +18 -41
  29. package/dist-es/commands/RenewCertificateCommand.js +18 -41
  30. package/dist-es/commands/RequestCertificateCommand.js +18 -41
  31. package/dist-es/commands/ResendValidationEmailCommand.js +18 -41
  32. package/dist-es/commands/UpdateCertificateOptionsCommand.js +18 -41
  33. package/dist-es/endpoint/EndpointParameters.js +6 -0
  34. package/dist-es/pagination/ListCertificatesPaginator.js +2 -23
  35. package/dist-types/commands/AddTagsToCertificateCommand.d.ts +6 -21
  36. package/dist-types/commands/DeleteCertificateCommand.d.ts +6 -21
  37. package/dist-types/commands/DescribeCertificateCommand.d.ts +6 -21
  38. package/dist-types/commands/ExportCertificateCommand.d.ts +6 -21
  39. package/dist-types/commands/GetAccountConfigurationCommand.d.ts +6 -21
  40. package/dist-types/commands/GetCertificateCommand.d.ts +6 -21
  41. package/dist-types/commands/ImportCertificateCommand.d.ts +6 -21
  42. package/dist-types/commands/ListCertificatesCommand.d.ts +6 -21
  43. package/dist-types/commands/ListTagsForCertificateCommand.d.ts +6 -21
  44. package/dist-types/commands/PutAccountConfigurationCommand.d.ts +6 -21
  45. package/dist-types/commands/RemoveTagsFromCertificateCommand.d.ts +6 -21
  46. package/dist-types/commands/RenewCertificateCommand.d.ts +6 -21
  47. package/dist-types/commands/RequestCertificateCommand.d.ts +6 -21
  48. package/dist-types/commands/ResendValidationEmailCommand.d.ts +6 -21
  49. package/dist-types/commands/UpdateCertificateOptionsCommand.d.ts +6 -21
  50. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  51. package/dist-types/pagination/ListCertificatesPaginator.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/AddTagsToCertificateCommand.d.ts +12 -24
  53. package/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +14 -23
  54. package/dist-types/ts3.4/commands/DescribeCertificateCommand.d.ts +14 -23
  55. package/dist-types/ts3.4/commands/ExportCertificateCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/commands/GetAccountConfigurationCommand.d.ts +12 -24
  57. package/dist-types/ts3.4/commands/GetCertificateCommand.d.ts +14 -23
  58. package/dist-types/ts3.4/commands/ImportCertificateCommand.d.ts +14 -23
  59. package/dist-types/ts3.4/commands/ListCertificatesCommand.d.ts +14 -23
  60. package/dist-types/ts3.4/commands/ListTagsForCertificateCommand.d.ts +12 -24
  61. package/dist-types/ts3.4/commands/PutAccountConfigurationCommand.d.ts +12 -24
  62. package/dist-types/ts3.4/commands/RemoveTagsFromCertificateCommand.d.ts +12 -24
  63. package/dist-types/ts3.4/commands/RenewCertificateCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/RequestCertificateCommand.d.ts +14 -23
  65. package/dist-types/ts3.4/commands/ResendValidationEmailCommand.d.ts +12 -24
  66. package/dist-types/ts3.4/commands/UpdateCertificateOptionsCommand.d.ts +12 -24
  67. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  68. package/dist-types/ts3.4/pagination/ListCertificatesPaginator.d.ts +3 -3
  69. package/package.json +11 -10
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_RenewCertificateCommand, se_RenewCertificateCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class RenewCertificateCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, RenewCertificateCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMClient";
26
- const commandName = "RenewCertificateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CertificateManager",
35
- operation: "RenewCertificate",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_RenewCertificateCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RenewCertificateCommand(output, context);
46
- }
7
+ export class RenewCertificateCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CertificateManager", "RenewCertificate", {})
19
+ .n("ACMClient", "RenewCertificateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RenewCertificateCommand)
22
+ .de(de_RenewCertificateCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_RequestCertificateCommand, se_RequestCertificateCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class RequestCertificateCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, RequestCertificateCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMClient";
26
- const commandName = "RequestCertificateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CertificateManager",
35
- operation: "RequestCertificate",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_RequestCertificateCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RequestCertificateCommand(output, context);
46
- }
7
+ export class RequestCertificateCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CertificateManager", "RequestCertificate", {})
19
+ .n("ACMClient", "RequestCertificateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RequestCertificateCommand)
22
+ .de(de_RequestCertificateCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ResendValidationEmailCommand, se_ResendValidationEmailCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ResendValidationEmailCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ResendValidationEmailCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMClient";
26
- const commandName = "ResendValidationEmailCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CertificateManager",
35
- operation: "ResendValidationEmail",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ResendValidationEmailCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ResendValidationEmailCommand(output, context);
46
- }
7
+ export class ResendValidationEmailCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CertificateManager", "ResendValidationEmail", {})
19
+ .n("ACMClient", "ResendValidationEmailCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ResendValidationEmailCommand)
22
+ .de(de_ResendValidationEmailCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateCertificateOptionsCommand, se_UpdateCertificateOptionsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateCertificateOptionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateCertificateOptionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ACMClient";
26
- const commandName = "UpdateCertificateOptionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CertificateManager",
35
- operation: "UpdateCertificateOptions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateCertificateOptionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateCertificateOptionsCommand(output, context);
46
- }
7
+ export class UpdateCertificateOptionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CertificateManager", "UpdateCertificateOptions", {})
19
+ .n("ACMClient", "UpdateCertificateOptionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateCertificateOptionsCommand)
22
+ .de(de_UpdateCertificateOptionsCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "acm",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ACMClient } from "../ACMClient";
2
3
  import { ListCertificatesCommand, } from "../commands/ListCertificatesCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListCertificatesCommand(input), ...args);
5
- };
6
- export async function* paginateListCertificates(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxItems"] = config.pageSize;
13
- if (config.client instanceof ACMClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ACM | ACMClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListCertificates = createPaginator(ACMClient, ListCertificatesCommand, "NextToken", "NextToken", "MaxItems");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMClient";
5
4
  import { AddTagsToCertificateRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AddTagsToCertificateCommandInput extends AddTagsToCertificateRe
21
20
  */
22
21
  export interface AddTagsToCertificateCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const AddTagsToCertificateCommand_base: {
24
+ new (input: AddTagsToCertificateCommandInput): import("@smithy/smithy-client").CommandImpl<AddTagsToCertificateCommandInput, AddTagsToCertificateCommandOutput, ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds one or more tags to an ACM certificate. Tags are labels that you can use to
@@ -91,23 +94,5 @@ export interface AddTagsToCertificateCommandOutput extends __MetadataBearer {
91
94
  * <p>Base exception class for all service exceptions from ACM service.</p>
92
95
  *
93
96
  */
94
- export declare class AddTagsToCertificateCommand extends $Command<AddTagsToCertificateCommandInput, AddTagsToCertificateCommandOutput, ACMClientResolvedConfig> {
95
- readonly input: AddTagsToCertificateCommandInput;
96
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
97
- /**
98
- * @public
99
- */
100
- constructor(input: AddTagsToCertificateCommandInput);
101
- /**
102
- * @internal
103
- */
104
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddTagsToCertificateCommandInput, AddTagsToCertificateCommandOutput>;
105
- /**
106
- * @internal
107
- */
108
- private serialize;
109
- /**
110
- * @internal
111
- */
112
- private deserialize;
97
+ export declare class AddTagsToCertificateCommand extends AddTagsToCertificateCommand_base {
113
98
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMClient";
5
4
  import { DeleteCertificateRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteCertificateCommandInput extends DeleteCertificateRequest
21
20
  */
22
21
  export interface DeleteCertificateCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteCertificateCommand_base: {
24
+ new (input: DeleteCertificateCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCertificateCommandInput, DeleteCertificateCommandOutput, ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a certificate and its associated private key. If this action succeeds, the
@@ -77,23 +80,5 @@ export interface DeleteCertificateCommandOutput extends __MetadataBearer {
77
80
  * <p>Base exception class for all service exceptions from ACM service.</p>
78
81
  *
79
82
  */
80
- export declare class DeleteCertificateCommand extends $Command<DeleteCertificateCommandInput, DeleteCertificateCommandOutput, ACMClientResolvedConfig> {
81
- readonly input: DeleteCertificateCommandInput;
82
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
- /**
84
- * @public
85
- */
86
- constructor(input: DeleteCertificateCommandInput);
87
- /**
88
- * @internal
89
- */
90
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCertificateCommandInput, DeleteCertificateCommandOutput>;
91
- /**
92
- * @internal
93
- */
94
- private serialize;
95
- /**
96
- * @internal
97
- */
98
- private deserialize;
83
+ export declare class DeleteCertificateCommand extends DeleteCertificateCommand_base {
99
84
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMClient";
5
4
  import { DescribeCertificateRequest, DescribeCertificateResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeCertificateCommandInput extends DescribeCertificateRequ
21
20
  */
22
21
  export interface DescribeCertificateCommandOutput extends DescribeCertificateResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeCertificateCommand_base: {
24
+ new (input: DescribeCertificateCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCertificateCommandInput, DescribeCertificateCommandOutput, ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns detailed metadata about the specified ACM certificate.</p>
@@ -137,23 +140,5 @@ export interface DescribeCertificateCommandOutput extends DescribeCertificateRes
137
140
  * <p>Base exception class for all service exceptions from ACM service.</p>
138
141
  *
139
142
  */
140
- export declare class DescribeCertificateCommand extends $Command<DescribeCertificateCommandInput, DescribeCertificateCommandOutput, ACMClientResolvedConfig> {
141
- readonly input: DescribeCertificateCommandInput;
142
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
143
- /**
144
- * @public
145
- */
146
- constructor(input: DescribeCertificateCommandInput);
147
- /**
148
- * @internal
149
- */
150
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeCertificateCommandInput, DescribeCertificateCommandOutput>;
151
- /**
152
- * @internal
153
- */
154
- private serialize;
155
- /**
156
- * @internal
157
- */
158
- private deserialize;
143
+ export declare class DescribeCertificateCommand extends DescribeCertificateCommand_base {
159
144
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMClient";
5
4
  import { ExportCertificateRequest, ExportCertificateResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ExportCertificateCommandInput extends ExportCertificateRequest
21
20
  */
22
21
  export interface ExportCertificateCommandOutput extends ExportCertificateResponse, __MetadataBearer {
23
22
  }
23
+ declare const ExportCertificateCommand_base: {
24
+ new (input: ExportCertificateCommandInput): import("@smithy/smithy-client").CommandImpl<ExportCertificateCommandInput, ExportCertificateCommandOutput, ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Exports a private certificate issued by a private certificate authority (CA) for use
@@ -71,23 +74,5 @@ export interface ExportCertificateCommandOutput extends ExportCertificateRespons
71
74
  * <p>Base exception class for all service exceptions from ACM service.</p>
72
75
  *
73
76
  */
74
- export declare class ExportCertificateCommand extends $Command<ExportCertificateCommandInput, ExportCertificateCommandOutput, ACMClientResolvedConfig> {
75
- readonly input: ExportCertificateCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: ExportCertificateCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExportCertificateCommandInput, ExportCertificateCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class ExportCertificateCommand extends ExportCertificateCommand_base {
93
78
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMClient";
5
4
  import { GetAccountConfigurationResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetAccountConfigurationCommandInput {
21
20
  */
22
21
  export interface GetAccountConfigurationCommandOutput extends GetAccountConfigurationResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetAccountConfigurationCommand_base: {
24
+ new (input: GetAccountConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccountConfigurationCommandInput, GetAccountConfigurationCommandOutput, ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns the account configuration options associated with an Amazon Web Services account.</p>
@@ -57,23 +60,5 @@ export interface GetAccountConfigurationCommandOutput extends GetAccountConfigur
57
60
  * <p>Base exception class for all service exceptions from ACM service.</p>
58
61
  *
59
62
  */
60
- export declare class GetAccountConfigurationCommand extends $Command<GetAccountConfigurationCommandInput, GetAccountConfigurationCommandOutput, ACMClientResolvedConfig> {
61
- readonly input: GetAccountConfigurationCommandInput;
62
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
63
- /**
64
- * @public
65
- */
66
- constructor(input: GetAccountConfigurationCommandInput);
67
- /**
68
- * @internal
69
- */
70
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAccountConfigurationCommandInput, GetAccountConfigurationCommandOutput>;
71
- /**
72
- * @internal
73
- */
74
- private serialize;
75
- /**
76
- * @internal
77
- */
78
- private deserialize;
63
+ export declare class GetAccountConfigurationCommand extends GetAccountConfigurationCommand_base {
79
64
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMClient";
5
4
  import { GetCertificateRequest, GetCertificateResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetCertificateCommandInput extends GetCertificateRequest {
21
20
  */
22
21
  export interface GetCertificateCommandOutput extends GetCertificateResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetCertificateCommand_base: {
24
+ new (input: GetCertificateCommandInput): import("@smithy/smithy-client").CommandImpl<GetCertificateCommandInput, GetCertificateCommandOutput, ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of
@@ -66,23 +69,5 @@ export interface GetCertificateCommandOutput extends GetCertificateResponse, __M
66
69
  * <p>Base exception class for all service exceptions from ACM service.</p>
67
70
  *
68
71
  */
69
- export declare class GetCertificateCommand extends $Command<GetCertificateCommandInput, GetCertificateCommandOutput, ACMClientResolvedConfig> {
70
- readonly input: GetCertificateCommandInput;
71
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
- /**
73
- * @public
74
- */
75
- constructor(input: GetCertificateCommandInput);
76
- /**
77
- * @internal
78
- */
79
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCertificateCommandInput, GetCertificateCommandOutput>;
80
- /**
81
- * @internal
82
- */
83
- private serialize;
84
- /**
85
- * @internal
86
- */
87
- private deserialize;
72
+ export declare class GetCertificateCommand extends GetCertificateCommand_base {
88
73
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMClient";
5
4
  import { ImportCertificateRequest, ImportCertificateResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ImportCertificateCommandInput extends ImportCertificateRequest
21
20
  */
22
21
  export interface ImportCertificateCommandOutput extends ImportCertificateResponse, __MetadataBearer {
23
22
  }
23
+ declare const ImportCertificateCommand_base: {
24
+ new (input: ImportCertificateCommandInput): import("@smithy/smithy-client").CommandImpl<ImportCertificateCommandInput, ImportCertificateCommandOutput, ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Imports a certificate into Certificate Manager (ACM) to use with services that are integrated with
@@ -150,23 +153,5 @@ export interface ImportCertificateCommandOutput extends ImportCertificateRespons
150
153
  * <p>Base exception class for all service exceptions from ACM service.</p>
151
154
  *
152
155
  */
153
- export declare class ImportCertificateCommand extends $Command<ImportCertificateCommandInput, ImportCertificateCommandOutput, ACMClientResolvedConfig> {
154
- readonly input: ImportCertificateCommandInput;
155
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
156
- /**
157
- * @public
158
- */
159
- constructor(input: ImportCertificateCommandInput);
160
- /**
161
- * @internal
162
- */
163
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ACMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportCertificateCommandInput, ImportCertificateCommandOutput>;
164
- /**
165
- * @internal
166
- */
167
- private serialize;
168
- /**
169
- * @internal
170
- */
171
- private deserialize;
156
+ export declare class ImportCertificateCommand extends ImportCertificateCommand_base {
172
157
  }