@aws-sdk/client-acm 3.183.0 → 3.186.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 (30) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/ACM.js +69 -62
  4. package/dist-es/ACMClient.js +28 -22
  5. package/dist-es/commands/AddTagsToCertificateCommand.js +29 -22
  6. package/dist-es/commands/DeleteCertificateCommand.js +29 -22
  7. package/dist-es/commands/DescribeCertificateCommand.js +28 -21
  8. package/dist-es/commands/ExportCertificateCommand.js +28 -21
  9. package/dist-es/commands/GetAccountConfigurationCommand.js +29 -22
  10. package/dist-es/commands/GetCertificateCommand.js +28 -21
  11. package/dist-es/commands/ImportCertificateCommand.js +28 -21
  12. package/dist-es/commands/ListCertificatesCommand.js +28 -21
  13. package/dist-es/commands/ListTagsForCertificateCommand.js +28 -21
  14. package/dist-es/commands/PutAccountConfigurationCommand.js +29 -22
  15. package/dist-es/commands/RemoveTagsFromCertificateCommand.js +29 -22
  16. package/dist-es/commands/RenewCertificateCommand.js +29 -22
  17. package/dist-es/commands/RequestCertificateCommand.js +28 -21
  18. package/dist-es/commands/ResendValidationEmailCommand.js +29 -22
  19. package/dist-es/commands/UpdateCertificateOptionsCommand.js +29 -22
  20. package/dist-es/endpoints.js +8 -8
  21. package/dist-es/models/ACMServiceException.js +10 -5
  22. package/dist-es/models/models_0.js +212 -282
  23. package/dist-es/pagination/ListCertificatesPaginator.js +68 -25
  24. package/dist-es/protocols/Aws_json1_1.js +1452 -1129
  25. package/dist-es/runtimeConfig.browser.js +12 -26
  26. package/dist-es/runtimeConfig.js +12 -30
  27. package/dist-es/runtimeConfig.native.js +5 -8
  28. package/dist-es/runtimeConfig.shared.js +11 -8
  29. package/dist-es/waiters/waitForCertificateValidated.js +102 -61
  30. package/package.json +34 -34
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetAccountConfigurationResponseFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetAccountConfigurationCommand, serializeAws_json1_1GetAccountConfigurationCommand, } from "../protocols/Aws_json1_1";
5
- export class GetAccountConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetAccountConfigurationCommand = (function (_super) {
7
+ __extends(GetAccountConfigurationCommand, _super);
8
+ function GetAccountConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetAccountConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ACMClient";
15
- const commandName = "GetAccountConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
20
- inputFilterSensitiveLog: (input) => input,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMClient";
18
+ var commandName = "GetAccountConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: function (input) { return input; },
21
24
  outputFilterSensitiveLog: GetAccountConfigurationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetAccountConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetAccountConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetAccountConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetAccountConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetAccountConfigurationCommand;
38
+ }($Command));
39
+ export { GetAccountConfigurationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetCertificateRequestFilterSensitiveLog, GetCertificateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetCertificateCommand, serializeAws_json1_1GetCertificateCommand, } from "../protocols/Aws_json1_1";
5
- export class GetCertificateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetCertificateCommand = (function (_super) {
7
+ __extends(GetCertificateCommand, _super);
8
+ function GetCertificateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetCertificateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ACMClient";
15
- const commandName = "GetCertificateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMClient";
18
+ var commandName = "GetCertificateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetCertificateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetCertificateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetCertificateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetCertificateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetCertificateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetCertificateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetCertificateCommand;
38
+ }($Command));
39
+ export { GetCertificateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ImportCertificateRequestFilterSensitiveLog, ImportCertificateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ImportCertificateCommand, serializeAws_json1_1ImportCertificateCommand, } from "../protocols/Aws_json1_1";
5
- export class ImportCertificateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ImportCertificateCommand = (function (_super) {
7
+ __extends(ImportCertificateCommand, _super);
8
+ function ImportCertificateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ImportCertificateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ACMClient";
15
- const commandName = "ImportCertificateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMClient";
18
+ var commandName = "ImportCertificateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ImportCertificateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ImportCertificateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ImportCertificateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ImportCertificateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ImportCertificateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ImportCertificateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ImportCertificateCommand;
38
+ }($Command));
39
+ export { ImportCertificateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListCertificatesRequestFilterSensitiveLog, ListCertificatesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListCertificatesCommand, serializeAws_json1_1ListCertificatesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListCertificatesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListCertificatesCommand = (function (_super) {
7
+ __extends(ListCertificatesCommand, _super);
8
+ function ListCertificatesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListCertificatesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ACMClient";
15
- const commandName = "ListCertificatesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMClient";
18
+ var commandName = "ListCertificatesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListCertificatesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListCertificatesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListCertificatesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListCertificatesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListCertificatesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListCertificatesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListCertificatesCommand;
38
+ }($Command));
39
+ export { ListCertificatesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForCertificateRequestFilterSensitiveLog, ListTagsForCertificateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTagsForCertificateCommand, serializeAws_json1_1ListTagsForCertificateCommand, } from "../protocols/Aws_json1_1";
5
- export class ListTagsForCertificateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForCertificateCommand = (function (_super) {
7
+ __extends(ListTagsForCertificateCommand, _super);
8
+ function ListTagsForCertificateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForCertificateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ACMClient";
15
- const commandName = "ListTagsForCertificateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMClient";
18
+ var commandName = "ListTagsForCertificateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForCertificateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForCertificateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForCertificateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTagsForCertificateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForCertificateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTagsForCertificateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForCertificateCommand;
38
+ }($Command));
39
+ export { ListTagsForCertificateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PutAccountConfigurationRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PutAccountConfigurationCommand, serializeAws_json1_1PutAccountConfigurationCommand, } from "../protocols/Aws_json1_1";
5
- export class PutAccountConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutAccountConfigurationCommand = (function (_super) {
7
+ __extends(PutAccountConfigurationCommand, _super);
8
+ function PutAccountConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutAccountConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ACMClient";
15
- const commandName = "PutAccountConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMClient";
18
+ var commandName = "PutAccountConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutAccountConfigurationRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutAccountConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PutAccountConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutAccountConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PutAccountConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutAccountConfigurationCommand;
38
+ }($Command));
39
+ export { PutAccountConfigurationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RemoveTagsFromCertificateRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1RemoveTagsFromCertificateCommand, serializeAws_json1_1RemoveTagsFromCertificateCommand, } from "../protocols/Aws_json1_1";
5
- export class RemoveTagsFromCertificateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RemoveTagsFromCertificateCommand = (function (_super) {
7
+ __extends(RemoveTagsFromCertificateCommand, _super);
8
+ function RemoveTagsFromCertificateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RemoveTagsFromCertificateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ACMClient";
15
- const commandName = "RemoveTagsFromCertificateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMClient";
18
+ var commandName = "RemoveTagsFromCertificateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RemoveTagsFromCertificateRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ RemoveTagsFromCertificateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1RemoveTagsFromCertificateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RemoveTagsFromCertificateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1RemoveTagsFromCertificateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RemoveTagsFromCertificateCommand;
38
+ }($Command));
39
+ export { RemoveTagsFromCertificateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RenewCertificateRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1RenewCertificateCommand, serializeAws_json1_1RenewCertificateCommand, } from "../protocols/Aws_json1_1";
5
- export class RenewCertificateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RenewCertificateCommand = (function (_super) {
7
+ __extends(RenewCertificateCommand, _super);
8
+ function RenewCertificateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RenewCertificateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ACMClient";
15
- const commandName = "RenewCertificateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMClient";
18
+ var commandName = "RenewCertificateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RenewCertificateRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ RenewCertificateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1RenewCertificateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RenewCertificateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1RenewCertificateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RenewCertificateCommand;
38
+ }($Command));
39
+ export { RenewCertificateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RequestCertificateRequestFilterSensitiveLog, RequestCertificateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1RequestCertificateCommand, serializeAws_json1_1RequestCertificateCommand, } from "../protocols/Aws_json1_1";
5
- export class RequestCertificateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RequestCertificateCommand = (function (_super) {
7
+ __extends(RequestCertificateCommand, _super);
8
+ function RequestCertificateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RequestCertificateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ACMClient";
15
- const commandName = "RequestCertificateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMClient";
18
+ var commandName = "RequestCertificateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RequestCertificateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RequestCertificateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ RequestCertificateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1RequestCertificateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RequestCertificateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1RequestCertificateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RequestCertificateCommand;
38
+ }($Command));
39
+ export { RequestCertificateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ResendValidationEmailRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ResendValidationEmailCommand, serializeAws_json1_1ResendValidationEmailCommand, } from "../protocols/Aws_json1_1";
5
- export class ResendValidationEmailCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ResendValidationEmailCommand = (function (_super) {
7
+ __extends(ResendValidationEmailCommand, _super);
8
+ function ResendValidationEmailCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ResendValidationEmailCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ACMClient";
15
- const commandName = "ResendValidationEmailCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ACMClient";
18
+ var commandName = "ResendValidationEmailCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ResendValidationEmailRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ResendValidationEmailCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ResendValidationEmailCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ResendValidationEmailCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ResendValidationEmailCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ResendValidationEmailCommand;
38
+ }($Command));
39
+ export { ResendValidationEmailCommand };